]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
Separate caption and label from InsetListingsParams and handle them separately in...
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 269
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for colored tables
96 \@ifundefined{textcolor}
97  {\usepackage{color}}{}
98 \usepackage{colortbl}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
101
102 % used for multirows
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
105
106 % used for book-style tables
107 \usepackage{booktabs}
108
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
111
112 % used for customized tables
113 % ---
114 \newcolumntype{M}[1]
115  {>{\centering\hspace{0pt}}m{#1}}
116
117 \newcolumntype{S}[2]
118  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
119
120 \newcolumntype{K}[1]
121  {>{\columncolor{#1}\hspace{0pt}}c}
122
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
124
125 \newcolumntype{W}{!{\color{green}\vline}}
126 % ---
127
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
131
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
134 \let\myFoot\footnote
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
136
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
143
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
146
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149  {\textcolor{blue}\bgroup}{\egroup}
150
151 % ------------------------------------
152 % used to check for needed LaTeX packages
153 \usepackage{ifthen}
154
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159  {\usepackage{arydshln}
160   \setboolean{arydshln}{true}}
161  {\setboolean{arydshln}{false}}
162
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167  {\usepackage{marginnote}
168   \let\marginpar\marginnote
169   \setboolean{marginnote}{true}}
170  {\setboolean{marginnote}{false}}
171 \end_preamble
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
173 \language english
174 \inputencoding auto
175 \font_roman default
176 \font_sans default
177 \font_typewriter default
178 \font_default_family default
179 \font_sc false
180 \font_osf false
181 \font_sf_scale 100
182 \font_tt_scale 100
183 \graphics default
184 \paperfontsize 12
185 \spacing single
186 \papersize default
187 \use_geometry false
188 \use_amsmath 2
189 \use_esint 0
190 \cite_engine basic
191 \use_bibtopic false
192 \paperorientation portrait
193 \secnumdepth 3
194 \tocdepth 3
195 \paragraph_separation skip
196 \defskip medskip
197 \quotes_language english
198 \papercolumns 1
199 \papersides 2
200 \paperpagestyle default
201 \bullet 1 1 34 -1
202 \bullet 2 2 35 -1
203 \bullet 3 2 7 -1
204 \tracking_changes false
205 \output_changes false
206 \author "usti" 
207 \author "Uwe Stöhr" 
208 \end_header
209
210 \begin_body
211
212 \begin_layout Title
213 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
214  manual
215 \end_layout
216
217 \begin_layout Author
218 by the LyX Team
219 \begin_inset Foot
220 status collapsed
221
222 \begin_layout Standard
223 \noindent
224 If you have comments or error corrections, please send them to the LyX Documenta
225 tion mailing list: 
226 \family typewriter
227
228 \begin_inset ERT
229 status open
230
231 \begin_layout Standard
232
233
234 \backslash
235 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
236 \end_layout
237
238 \end_inset
239
240 lyx-docs@lists.lyx.org
241 \begin_inset ERT
242 status collapsed
243
244 \begin_layout Standard
245
246 }
247 \end_layout
248
249 \end_inset
250
251
252 \end_layout
253
254 \end_inset
255
256
257 \begin_inset Note Note
258 status collapsed
259
260 \begin_layout Standard
261 original author: Uwe Stöhr
262 \end_layout
263
264 \end_inset
265
266
267 \newline
268
269 \newline
270
271 \family sans
272 Version 1.5.0-
273 \family default
274 1
275 \end_layout
276
277 \begin_layout Standard
278 \begin_inset LatexCommand tableofcontents
279
280 \end_inset
281
282
283 \end_layout
284
285 \begin_layout Standard
286 \begin_inset Note Note
287 status open
288
289 \begin_layout Standard
290 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
291  
292 \series bold
293 arydshln
294 \series default
295  and 
296 \series bold
297 marginnote
298 \series default
299  must be installed.
300  If they are not installed you can export the document anyway but the sections
301  where the packages are required won't appear in the output.
302 \end_layout
303
304 \begin_layout Standard
305 The latest PDF-version of this document can be found here:
306 \newline
307
308 \series bold
309 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
310 \end_layout
311
312 \end_inset
313
314
315 \end_layout
316
317 \begin_layout Chapter
318 Figures
319 \begin_inset LatexCommand label
320 name "cha:Figures"
321
322 \end_inset
323
324
325 \begin_inset LatexCommand index
326 name "Figures"
327
328 \end_inset
329
330
331 \begin_inset LatexCommand index
332 name "Graphics|see{Figures}"
333
334 \end_inset
335
336
337 \end_layout
338
339 \begin_layout Section
340 Graphics Dialog
341 \begin_inset LatexCommand index
342 name "Figures ! Graphics Dialog"
343
344 \end_inset
345
346
347 \begin_inset LatexCommand label
348 name "sec:Graphics-Dialog"
349
350 \end_inset
351
352
353 \end_layout
354
355 \begin_layout Standard
356 To insert an image into your document, place the cursor at the text position
357  you want and click on the toolbar icon 
358 \begin_inset Graphics
359         filename ../images/dialog-show-new-inset_graphics.xpm
360         scale 85
361
362 \end_inset
363
364  or use the menu 
365 \family sans
366 Insert\SpecialChar \menuseparator
367 Graphics
368 \family default
369 .
370  Then a dialog will appear to choose the file to load.
371  The image will appear in the output exactly at the position where it is
372  in the text.
373 \end_layout
374
375 \begin_layout Standard
376 The graphics dialog can be called at any time by right-clicking on an image.
377  This dialog has three tabs:
378 \end_layout
379
380 \begin_layout Description
381
382 \family sans
383 Graphics
384 \family default
385  Here you can choose an image file and adjust its appearance in the output.
386  The available units for the image size are explained in appendix\InsetSpace ~
387
388 \begin_inset LatexCommand ref
389 reference "cha:Units-available-in"
390
391 \end_inset
392
393 .
394 \newline
395 You can rotate images counter-clockwise by setting a rotation angle and
396  a rotation origin.
397  The image will also be rotated inside LyX.
398 \newline
399 Images can be scaled by using
400  a percentage value or by setting the width and height explicitly.
401  If you set only the width or only the height, the other size will be determined
402  automatically.
403  If you set both, then the image will be transformed to the given size,
404  possibly distorting it.
405  To prevent the image from distortion, use the option 
406 \family sans
407 Maintain aspect ratio
408 \family default
409 .
410  The image will then be scaled so that its width and height don't exceed
411  the specified dimensions.
412 \newline
413 Images can be opened in a program of your choice
414  when pressing the 
415 \family sans
416 Edit
417 \family default
418  button.
419  The program can be set for every image format in the file format settings
420  in LyX's preferences.
421 \end_layout
422
423 \begin_layout Description
424
425 \family sans
426 Clipping
427 \family default
428  Alternatively to the usage of scaling units it is possible to set image
429  coordinates to adjust the height and width of the image in the output.
430  The coordinates can also be calculated automatically by pressing the button
431  
432 \family sans
433 Get\InsetSpace ~
434 from\InsetSpace ~
435 File
436 \family default
437 .
438  The option 
439 \family sans
440 Clip\InsetSpace ~
441 to\InsetSpace ~
442 bounding\InsetSpace ~
443 box
444 \family default
445  will only print the image region within the given coordinates.
446  Normally you don't need to take care about image coordinates and can ignore
447  this tab.
448 \end_layout
449
450 \begin_layout Description
451
452 \family sans
453 Extra\InsetSpace ~
454 options
455 \family default
456  In this tab you can modify the appearance of the image within LyX and set
457  the image to be a subfigure of a figure float with an own caption.
458  Subfigures are explained in section\InsetSpace ~
459
460 \begin_inset LatexCommand ref
461 reference "sec:Figure-Floats"
462
463 \end_inset
464
465 .
466 \newline
467  LaTeX experts can also specify on this tab additional LaTeX options.
468 \newline
469  The
470  option 
471 \family sans
472 Draft\InsetSpace ~
473 mode
474 \family default
475  makes the image appear in the output only as a frame with the size of the
476  image.
477 \newline
478 The 
479 \family sans
480 Don't\InsetSpace ~
481 unzip\InsetSpace ~
482 on\InsetSpace ~
483 export
484 \family default
485  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
486 g.\InsetSpace ~
487
488 \emph on
489 x.eps.gz
490 \emph default
491 .
492  When the option is used the images will not be unzipped on export, since
493  LaTeX can handle them as they are.
494 \newline
495 Zipped EPS-graphics are useful to save
496  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
497
498 \begin_inset LatexCommand ref
499 reference "sec:PostScript"
500
501 \end_inset
502
503 .
504  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
505  console:
506 \newline
507
508 \series bold
509 gzip x.eps
510 \series default
511
512 \newline
513
514 \series bold
515 zgrep %%Bounding x.eps.gz > x.eps.bb
516 \series default
517
518 \newline
519 The second command creates the bounding box file 
520 \begin_inset Quotes eld
521 \end_inset
522
523 x.eps.bb
524 \begin_inset Quotes erd
525 \end_inset
526
527  that is needed by LaTeX for zipped graphics.
528 \end_layout
529
530 \begin_layout Standard
531 \begin_inset VSpace bigskip
532 \end_inset
533
534
535 \end_layout
536
537 \begin_layout Standard
538 This is an example image in EPS format
539 \begin_inset Foot
540 status collapsed
541
542 \begin_layout Standard
543 Image formats are explained in section\InsetSpace ~
544
545 \begin_inset LatexCommand ref
546 reference "sec:Image-Formats"
547
548 \end_inset
549
550 .
551 \end_layout
552
553 \end_inset
554
555  within a separate, horizontally centered paragraph:
556 \end_layout
557
558 \begin_layout Standard
559 \align center
560 \begin_inset Graphics
561         filename clipart/mobius.eps
562         display color
563         scale 70
564         rotateOrigin center
565
566 \end_inset
567
568
569 \end_layout
570
571 \begin_layout Standard
572 This is the same image like the one above but in draft mode:
573 \end_layout
574
575 \begin_layout Standard
576 \align center
577 \begin_inset Graphics
578         filename clipart/mobius.eps
579         display color
580         scale 70
581         draft
582         rotateOrigin center
583
584 \end_inset
585
586
587 \end_layout
588
589 \begin_layout Section
590 Figure Floats
591 \begin_inset LatexCommand label
592 name "sec:Figure-Floats"
593
594 \end_inset
595
596
597 \begin_inset LatexCommand index
598 name "Floats ! Figure Floats"
599
600 \end_inset
601
602
603 \begin_inset LatexCommand index
604 name "Figures ! Floats"
605
606 \end_inset
607
608
609 \end_layout
610
611 \begin_layout Standard
612 For general explanations about floats, have a look at section\InsetSpace ~
613
614 \begin_inset LatexCommand ref
615 reference "sec:FloatIntroduction"
616
617 \end_inset
618
619 .
620 \end_layout
621
622 \begin_layout Standard
623 The toolbar button 
624 \begin_inset Graphics
625         filename ../images/float-insert_figure.xpm
626         scale 85
627
628 \end_inset
629
630  and the menu 
631 \family sans
632 Insert\SpecialChar \menuseparator
633 Float\SpecialChar \menuseparator
634 Figure
635 \family default
636  inserts a float with a caption that has the label 
637 \begin_inset Quotes eld
638 \end_inset
639
640 Figure\InsetSpace ~
641 #:
642 \begin_inset Quotes erd
643 \end_inset
644
645  (# is the actual number).
646  You can insert the image above the caption, like in Figure\InsetSpace ~
647
648 \begin_inset LatexCommand ref
649 reference "fig:kill-plat"
650
651 \end_inset
652
653  or below the caption, like in Figure\InsetSpace ~
654
655 \begin_inset LatexCommand ref
656 reference "fig:escher"
657
658 \end_inset
659
660 .
661  More about the caption placement is described in section\InsetSpace ~
662
663 \begin_inset LatexCommand ref
664 reference "sec:Caption-Placement"
665
666 \end_inset
667
668 .
669 \end_layout
670
671 \begin_layout Standard
672 \begin_inset Float figure
673 wide false
674 sideways false
675 status open
676
677 \begin_layout Standard
678 \align center
679 \begin_inset Graphics
680         filename clipart/platypus.eps
681         display color
682         width 50col%
683         rotateOrigin center
684
685 \end_inset
686
687
688 \end_layout
689
690 \begin_layout Standard
691 \begin_inset Caption
692
693 \begin_layout Standard
694 \begin_inset LatexCommand label
695 name "fig:kill-plat"
696
697 \end_inset
698
699 A severely distorted platypus in a float.
700 \end_layout
701
702 \end_inset
703
704
705 \end_layout
706
707 \end_inset
708
709
710 \end_layout
711
712 \begin_layout Standard
713 \begin_inset Float figure
714 wide false
715 sideways false
716 status open
717
718 \begin_layout Standard
719 \begin_inset Caption
720
721 \begin_layout Standard
722 \begin_inset LatexCommand label
723 name "fig:escher"
724
725 \end_inset
726
727 M.C.
728  Escher on acid.
729 \end_layout
730
731 \end_inset
732
733
734 \end_layout
735
736 \begin_layout Standard
737 \align center
738 \begin_inset Graphics
739         filename clipart/escher-lsd.eps
740         display color
741         scale 80
742         rotateOrigin center
743
744 \end_inset
745
746
747 \end_layout
748
749 \end_inset
750
751
752 \end_layout
753
754 \begin_layout Standard
755 \begin_inset LatexCommand index
756 name "References ! to Figures"
757
758 \end_inset
759
760 Figure\InsetSpace ~
761
762 \begin_inset LatexCommand ref
763 reference "fig:kill-plat"
764
765 \end_inset
766
767  and 
768 \begin_inset LatexCommand ref
769 reference "fig:escher"
770
771 \end_inset
772
773  are examples of referenced figures.
774  Figures can be referenced in the text by referencing their label.
775  To do this insert a label in the caption using the menu 
776 \family sans
777 Insert\SpecialChar \menuseparator
778 Label
779 \family default
780  or the toolbar button 
781 \begin_inset Graphics
782         filename ../images/label-insert.xpm
783         scale 85
784
785 \end_inset
786
787 .
788  You can now refer to the label using the menu 
789 \family sans
790 Insert\SpecialChar \menuseparator
791 Cross\InsetSpace ~
792 reference
793 \family default
794  or the toolbar button 
795 \begin_inset Graphics
796         filename ../images/dialog-show-new-inset_ref.xpm
797         scale 85
798
799 \end_inset
800
801 .
802  It is important to use references to floats, rather than using vague references
803  like 
804 \begin_inset Quotes eld
805 \end_inset
806
807 the figure above
808 \begin_inset Quotes erd
809 \end_inset
810
811 , because as LaTeX will reposition the floats in the final document, it
812  might not be 
813 \begin_inset Quotes eld
814 \end_inset
815
816 above
817 \begin_inset Quotes erd
818 \end_inset
819
820  at all.
821 \newline
822 Referencing is explained in detail in section\InsetSpace ~
823
824 \begin_inset LatexCommand ref
825 reference "sec:Referencing-Floats"
826
827 \end_inset
828
829 .
830 \end_layout
831
832 \begin_layout Standard
833 Normally only one image is inserted to a figure float, but sometimes you
834  might want to use two images with separate subcaptions.
835  This can be set in the tab 
836 \family sans
837 Extra\InsetSpace ~
838 options
839 \family default
840  of the graphics dialog.
841  Choose there the option 
842 \family sans
843 Subfigure
844 \family default
845  and enter the subcaption for the image in the caption field.
846  Note that only the main caption of the float is added to the List of Figures.
847 \newline
848 Ref
849 erencing subfigures is explained in section\InsetSpace ~
850
851 \begin_inset LatexCommand ref
852 reference "sub:Referencing-Subfigures"
853
854 \end_inset
855
856 .
857 \end_layout
858
859 \begin_layout Standard
860 Figure\InsetSpace ~
861
862 \begin_inset LatexCommand ref
863 reference "fig:Two-distorted-images"
864
865 \end_inset
866
867  is an example of a figure float with two images set side by side.
868  You can also set the images one below the other.
869 \end_layout
870
871 \begin_layout Standard
872 \begin_inset Float figure
873 wide false
874 sideways false
875 status open
876
877 \begin_layout Standard
878
879 \hfill
880
881 \begin_inset Graphics
882         filename clipart/escher-lsd.eps
883         width 45col%
884         subcaption
885         subcaptionText "Undefinable structure"
886
887 \end_inset
888
889
890 \hfill
891
892 \begin_inset Graphics
893         filename clipart/platypus.eps
894         lyxscale 60
895         width 45col%
896         subcaption
897         subcaptionText "\label{fig:Platypus} Platypus"
898
899 \end_inset
900
901
902 \hfill
903
904 \end_layout
905
906 \begin_layout Standard
907 \begin_inset Caption
908
909 \begin_layout Standard
910 \begin_inset LatexCommand label
911 name "fig:Two-distorted-images"
912
913 \end_inset
914
915 Two distorted images.
916 \end_layout
917
918 \end_inset
919
920
921 \end_layout
922
923 \end_inset
924
925
926 \end_layout
927
928 \begin_layout Section
929 Image Formats
930 \begin_inset LatexCommand label
931 name "sec:Image-Formats"
932
933 \end_inset
934
935
936 \begin_inset LatexCommand index
937 name "Image Formats"
938
939 \end_inset
940
941
942 \begin_inset LatexCommand index
943 name "Figures ! Image Formats"
944
945 \end_inset
946
947
948 \end_layout
949
950 \begin_layout Standard
951 You can insert images in any known file format.
952  But as explained in appendix\InsetSpace ~
953
954 \begin_inset LatexCommand ref
955 reference "cha:Output-File-Formats"
956
957 \end_inset
958
959 , every output document format allows only a few image formats.
960  LyX uses therefore the program 
961 \family typewriter
962 Imagemagick
963 \family default
964  in the background to convert the images to the right format.
965  To increase your work flow by avoiding these conversions in the background,
966  you can use only the image formats that can directly be embedded in the
967  output file format.
968  The output file formats are explained in appendix\InsetSpace ~
969
970 \begin_inset LatexCommand ref
971 reference "cha:Output-File-Formats"
972
973 \end_inset
974
975 .
976 \end_layout
977
978 \begin_layout Standard
979 Similar to fonts there are two types of image formats:
980 \end_layout
981
982 \begin_layout Description
983 Bitmap\InsetSpace ~
984 images consist of pixel values, often in a compressed form.
985  They are therefore not fully scalable and look pixeled in large zooms.
986  Well-known bitmap image formats are 
987 \begin_inset Quotes eld
988 \end_inset
989
990 Graphics Interchange Format
991 \begin_inset Quotes erd
992 \end_inset
993
994  (GIF, file extension 
995 \begin_inset Quotes eld
996 \end_inset
997
998
999 \family typewriter
1000 .gif
1001 \family default
1002
1003 \begin_inset Quotes erd
1004 \end_inset
1005
1006 )
1007 \begin_inset LatexCommand index
1008 name "GIF|see{Image formats}"
1009
1010 \end_inset
1011
1012
1013 \begin_inset Quotes eld
1014 \end_inset
1015
1016 Portable Network Graphics
1017 \begin_inset Quotes erd
1018 \end_inset
1019
1020  (PNG, file extension 
1021 \begin_inset Quotes eld
1022 \end_inset
1023
1024
1025 \family typewriter
1026 .png
1027 \family default
1028
1029 \begin_inset Quotes erd
1030 \end_inset
1031
1032 )
1033 \begin_inset LatexCommand index
1034 name "PNG|see{Image formats}"
1035
1036 \end_inset
1037
1038 , and 
1039 \begin_inset Quotes eld
1040 \end_inset
1041
1042 Joint Photographic Experts Group
1043 \begin_inset Quotes erd
1044 \end_inset
1045
1046  (JPG, file extension 
1047 \begin_inset Quotes eld
1048 \end_inset
1049
1050
1051 \family typewriter
1052 .jpg
1053 \family default
1054
1055 \begin_inset Quotes erd
1056 \end_inset
1057
1058  or 
1059 \begin_inset Quotes eld
1060 \end_inset
1061
1062
1063 \family typewriter
1064 .jpeg
1065 \family default
1066
1067 \begin_inset Quotes erd
1068 \end_inset
1069
1070 )
1071 \begin_inset LatexCommand index
1072 name "JPG|see{Image formats}"
1073
1074 \end_inset
1075
1076 .
1077 \end_layout
1078
1079 \begin_layout Description
1080 Vector\InsetSpace ~
1081 images consist of vectors and can therefore be scaled to any size
1082  without data loss.
1083  The scaling ability is necessary if you want to create presentations, because
1084  presentations are always scaled by the video projector.
1085  Scaling is also useful for online documents to let the user zoom into diagrams.
1086 \newline
1087 W
1088 ell-known scalable image formats are 
1089 \begin_inset Quotes eld
1090 \end_inset
1091
1092 Scalable Vector Graphics
1093 \begin_inset Quotes erd
1094 \end_inset
1095
1096  (SVG, file extension 
1097 \begin_inset Quotes eld
1098 \end_inset
1099
1100
1101 \family typewriter
1102 .svg
1103 \family default
1104
1105 \begin_inset Quotes erd
1106 \end_inset
1107
1108 )
1109 \begin_inset LatexCommand index
1110 name "SVG|see{Image formats}"
1111
1112 \end_inset
1113
1114
1115 \begin_inset Quotes eld
1116 \end_inset
1117
1118 Encapsulated PostScript
1119 \begin_inset Quotes erd
1120 \end_inset
1121
1122  (EPS, file extension 
1123 \begin_inset Quotes eld
1124 \end_inset
1125
1126
1127 \family typewriter
1128 .eps
1129 \family default
1130
1131 \begin_inset Quotes erd
1132 \end_inset
1133
1134 )
1135 \begin_inset LatexCommand index
1136 name "EPS|see{Image formats}"
1137
1138 \end_inset
1139
1140
1141 \begin_inset Quotes eld
1142 \end_inset
1143
1144 Portable Document Format
1145 \begin_inset Quotes erd
1146 \end_inset
1147
1148  (PDF, file extension 
1149 \begin_inset Quotes eld
1150 \end_inset
1151
1152
1153 \family typewriter
1154 .pdf
1155 \family default
1156
1157 \begin_inset Quotes erd
1158 \end_inset
1159
1160 )
1161 \begin_inset LatexCommand index
1162 name "PDF"
1163
1164 \end_inset
1165
1166 , and 
1167 \begin_inset Quotes eld
1168 \end_inset
1169
1170 Windows Metafile
1171 \begin_inset Quotes erd
1172 \end_inset
1173
1174  (WMF, file extension 
1175 \begin_inset Quotes eld
1176 \end_inset
1177
1178
1179 \family typewriter
1180 .wmf
1181 \family default
1182
1183 \begin_inset Quotes erd
1184 \end_inset
1185
1186 )
1187 \begin_inset LatexCommand index
1188 name "SVG|see{Image formats}"
1189
1190 \end_inset
1191
1192 .
1193  We wrote 
1194 \begin_inset Quotes eld
1195 \end_inset
1196
1197 can be
1198 \begin_inset Quotes erd
1199 \end_inset
1200
1201 , because you can convert any bitmap image to a PDF or EPS-image and the
1202  result will still be a bitmap image.
1203  In this cases only a header with the image properties is added to the original
1204  image
1205 \begin_inset Foot
1206 status open
1207
1208 \begin_layout Standard
1209 In the case of PDF, the original image is additionally compressed.
1210 \end_layout
1211
1212 \end_inset
1213
1214 .
1215  The PDF-files generated by 
1216 \family typewriter
1217 Adobe Photoshop
1218 \family default
1219  are for example bitmap images.
1220 \end_layout
1221
1222 \begin_layout Standard
1223 Normally it is not possible to convert a bitmap image into a scalable one,
1224  only vice versa.
1225  Only the image formats PDF and EPS can directly be embedded to PDF and
1226  PostScript output files, respectively.
1227  SVG and WMF-images are currently recalculated to bitmaps when the output
1228  file is generated because there is currently no adequate WMF/SVG
1229 \begin_inset Formula $\to$
1230 \end_inset
1231
1232 PDF/EPS converter available.
1233 \end_layout
1234
1235 \begin_layout Chapter
1236 Tables
1237 \begin_inset LatexCommand label
1238 name "cha:Tables"
1239
1240 \end_inset
1241
1242
1243 \begin_inset LatexCommand index
1244 name "Table"
1245
1246 \end_inset
1247
1248
1249 \end_layout
1250
1251 \begin_layout Section
1252 Introduction
1253 \begin_inset LatexCommand index
1254 name "Table ! Introduction"
1255
1256 \end_inset
1257
1258
1259 \end_layout
1260
1261 \begin_layout Standard
1262 You can insert a table using either the toolbar button 
1263 \begin_inset Graphics
1264         filename ../images/tabular-insert.xpm
1265         scale 85
1266
1267 \end_inset
1268
1269  or the menu 
1270 \family sans
1271 Insert\SpecialChar \menuseparator
1272 Table
1273 \family default
1274 .
1275  The toolbar button offers you a graphical selection: Move the mouse to
1276  set the column/row number of the table that should be created and then
1277  press a mouse button.
1278  When you use the menu to create a table, a dialog will appear, asking you
1279  for the number of rows and columns.
1280 \newline
1281  The default table has lines around any
1282  cell and the first row appears separated from the rest of the table.
1283  This separation occurs due to a double line: The cells of the first row
1284  have a line below them and the cells of the second row have a line above
1285  them.
1286  Here is an example table:
1287 \end_layout
1288
1289 \begin_layout Standard
1290 \align center
1291 \begin_inset Tabular
1292 <lyxtabular version="3" rows="4" columns="4">
1293 <features>
1294 <column alignment="center" valignment="top" leftline="true" width="0">
1295 <column alignment="center" valignment="top" leftline="true" width="0">
1296 <column alignment="center" valignment="top" leftline="true" width="0">
1297 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1298 <row topline="true" bottomline="true">
1299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1300 \begin_inset Text
1301
1302 \begin_layout Standard
1303
1304 \end_layout
1305
1306 \end_inset
1307 </cell>
1308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1309 \begin_inset Text
1310
1311 \begin_layout Standard
1312
1313 \family roman
1314 \series medium
1315 \shape up
1316 \size normal
1317 \emph off
1318 \bar no
1319 \noun off
1320 \color none
1321 1
1322 \end_layout
1323
1324 \end_inset
1325 </cell>
1326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1327 \begin_inset Text
1328
1329 \begin_layout Standard
1330 2
1331 \end_layout
1332
1333 \end_inset
1334 </cell>
1335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1336 \begin_inset Text
1337
1338 \begin_layout Standard
1339 3
1340 \end_layout
1341
1342 \end_inset
1343 </cell>
1344 </row>
1345 <row topline="true">
1346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1347 \begin_inset Text
1348
1349 \begin_layout Standard
1350
1351 \family roman
1352 \series medium
1353 \shape up
1354 \size normal
1355 \emph off
1356 \bar no
1357 \noun off
1358 \color none
1359 A
1360 \end_layout
1361
1362 \end_inset
1363 </cell>
1364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1365 \begin_inset Text
1366
1367 \begin_layout Standard
1368
1369 \end_layout
1370
1371 \end_inset
1372 </cell>
1373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1374 \begin_inset Text
1375
1376 \begin_layout Standard
1377
1378 \end_layout
1379
1380 \end_inset
1381 </cell>
1382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1383 \begin_inset Text
1384
1385 \begin_layout Standard
1386
1387 \end_layout
1388
1389 \end_inset
1390 </cell>
1391 </row>
1392 <row topline="true">
1393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1394 \begin_inset Text
1395
1396 \begin_layout Standard
1397
1398 \family roman
1399 \series medium
1400 \shape up
1401 \size normal
1402 \emph off
1403 \bar no
1404 \noun off
1405 \color none
1406 B
1407 \end_layout
1408
1409 \end_inset
1410 </cell>
1411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1412 \begin_inset Text
1413
1414 \begin_layout Standard
1415
1416 \end_layout
1417
1418 \end_inset
1419 </cell>
1420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1421 \begin_inset Text
1422
1423 \begin_layout Standard
1424
1425 \end_layout
1426
1427 \end_inset
1428 </cell>
1429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1430 \begin_inset Text
1431
1432 \begin_layout Standard
1433
1434 \end_layout
1435
1436 \end_inset
1437 </cell>
1438 </row>
1439 <row topline="true" bottomline="true">
1440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1441 \begin_inset Text
1442
1443 \begin_layout Standard
1444
1445 \family roman
1446 \series medium
1447 \shape up
1448 \size normal
1449 \emph off
1450 \bar no
1451 \noun off
1452 \color none
1453 C
1454 \end_layout
1455
1456 \end_inset
1457 </cell>
1458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1459 \begin_inset Text
1460
1461 \begin_layout Standard
1462
1463 \end_layout
1464
1465 \end_inset
1466 </cell>
1467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1468 \begin_inset Text
1469
1470 \begin_layout Standard
1471
1472 \end_layout
1473
1474 \end_inset
1475 </cell>
1476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1477 \begin_inset Text
1478
1479 \begin_layout Standard
1480
1481 \end_layout
1482
1483 \end_inset
1484 </cell>
1485 </row>
1486 </lyxtabular>
1487
1488 \end_inset
1489
1490
1491 \end_layout
1492
1493 \begin_layout Section
1494 Table Dialog
1495 \begin_inset LatexCommand index
1496 name "Table ! Dialog"
1497
1498 \end_inset
1499
1500
1501 \end_layout
1502
1503 \begin_layout Standard
1504 You can alter a table by clicking on it with the right mouse button, which
1505  brings up the table dialog.
1506  Here you can adjust the settings of that cell and row/column respectively
1507  where the cursor is currently placed.
1508  Most of the dialog options also work on selections.
1509  This means if you select more cells, columns or rows, the action is done
1510  for the whole selection.
1511  Note that there is a difference between selecting the 
1512 \emph on
1513 contents
1514 \emph default
1515  of the cell, and the cell itself.
1516  You can alter tables with the following tabs of the table dialog:
1517 \end_layout
1518
1519 \begin_layout Description
1520
1521 \family sans
1522 Table\InsetSpace ~
1523 Settings
1524 \family default
1525  Here you can set the horizontal alignment and the width of the current
1526  column.
1527  When you have set a width you can also adjust the vertical alignment of
1528  the current row.
1529  A given width will allow the cell to have line breaks and multiple paragraphs
1530  of text, see section\InsetSpace ~
1531
1532 \begin_inset LatexCommand ref
1533 reference "sub:Multiple-Lines-in"
1534
1535 \end_inset
1536
1537 .
1538  If you set no width, the column is as wide as their widest cell content
1539  is.
1540 \newline
1541 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1542  cell, see section\InsetSpace ~
1543
1544 \begin_inset LatexCommand ref
1545 reference "sub:Multicolumns"
1546
1547 \end_inset
1548
1549 .
1550 \newline
1551 The rotate check boxes rotates the current cell, a selection, or the whole
1552  table counter-clockwise by 90°.
1553  The rotation is not shown within LyX, only in the output.
1554 \newline
1555
1556 \begin_inset Note Greyedout
1557 status open
1558
1559 \begin_layout Standard
1560
1561 \series bold
1562 Note:
1563 \series default
1564  Not all DVI-viewers are able to display rotations.
1565 \end_layout
1566
1567 \end_inset
1568
1569
1570 \newline
1571 It is also possible to enter a LaTeX-argument which is needed for special
1572  table formattings, see section\InsetSpace ~
1573
1574 \begin_inset LatexCommand ref
1575 reference "sub:Multicolumn-Calculations"
1576
1577 \end_inset
1578
1579  and 
1580 \begin_inset LatexCommand ref
1581 reference "sec:Colored-Tables"
1582
1583 \end_inset
1584
1585 .
1586 \end_layout
1587
1588 \begin_layout Description
1589
1590 \family sans
1591 Borders
1592 \family default
1593  In this tab you can add and delete border lines for the current row/column.
1594 \newline
1595 Using
1596  the style option 
1597 \family sans
1598 Formal
1599 \family default
1600  will convert the table to a formal table as described in section\InsetSpace ~
1601
1602 \begin_inset LatexCommand ref
1603 reference "sec:Formal-Tables"
1604
1605 \end_inset
1606
1607 .
1608 \newline
1609 You can also add here space to table rows as decribed in section\InsetSpace ~
1610
1611 \begin_inset LatexCommand ref
1612 reference "sub:Row-Spacing"
1613
1614 \end_inset
1615
1616 .
1617 \end_layout
1618
1619 \begin_layout Description
1620
1621 \family sans
1622 Longtable
1623 \family default
1624  This tab is to make a table a so called 
1625 \begin_inset Quotes eld
1626 \end_inset
1627
1628
1629 \emph on
1630 longtable
1631 \emph default
1632
1633 \begin_inset Quotes erd
1634 \end_inset
1635
1636  that can run over several pages.
1637  Section\InsetSpace ~
1638
1639 \begin_inset LatexCommand ref
1640 reference "sec:Longtables"
1641
1642 \end_inset
1643
1644  and 
1645 \begin_inset LatexCommand ref
1646 reference "sec:Special-Longtable-Issues"
1647
1648 \end_inset
1649
1650  describe the longtable features in detail.
1651 \end_layout
1652
1653 \begin_layout Standard
1654 When the table toolbar is opened, you can move the cursor with the arrow
1655  keys from cell to cell and the property of the current cell will immediately
1656  be displayed in the dialog.
1657 \end_layout
1658
1659 \begin_layout Section
1660 Table Toolbar
1661 \begin_inset LatexCommand index
1662 name "Table ! Toolbar"
1663
1664 \end_inset
1665
1666
1667 \end_layout
1668
1669 \begin_layout Standard
1670 The table toolbar is an alternative to the table dialog to be able to alter
1671  tables faster.
1672  It should normally appear at the bottom of LyX's main window when the cursor
1673  is inside a table.
1674  You can alternatively switch it on to appear always, by right-clicking
1675  in LyX's main menu bar.
1676 \end_layout
1677
1678 \begin_layout Standard
1679 The toolbar has the following icons:
1680 \end_layout
1681
1682 \begin_layout Labeling
1683 \labelwidthstring 00.00.0000
1684 \begin_inset Graphics
1685         filename ../images/tabular-feature_append-row.xpm
1686
1687 \end_inset
1688
1689  adds a row below the current cell or selection
1690 \end_layout
1691
1692 \begin_layout Labeling
1693 \labelwidthstring 00.00.0000
1694 \begin_inset Graphics
1695         filename ../images/tabular-feature_append-column.xpm
1696
1697 \end_inset
1698
1699  adds a column right beside the current cell or selection
1700 \end_layout
1701
1702 \begin_layout Labeling
1703 \labelwidthstring 00.00.0000
1704 \begin_inset Graphics
1705         filename ../images/tabular-feature_delete-row.xpm
1706
1707 \end_inset
1708
1709  deletes the current row or selection
1710 \end_layout
1711
1712 \begin_layout Labeling
1713 \labelwidthstring 00.00.0000
1714 \begin_inset Graphics
1715         filename ../images/tabular-feature_delete-column.xpm
1716
1717 \end_inset
1718
1719  deletes the current column or selection
1720 \end_layout
1721
1722 \begin_layout Labeling
1723 \labelwidthstring 00.00.0000
1724 \begin_inset Graphics
1725         filename ../images/tabular-feature_toggle-line-top.xpm
1726
1727 \end_inset
1728
1729  adds a line at the top of the current cell / row or of a selection
1730 \end_layout
1731
1732 \begin_layout Labeling
1733 \labelwidthstring 00.00.0000
1734 \begin_inset Graphics
1735         filename ../images/tabular-feature_toggle-line-bottom.xpm
1736
1737 \end_inset
1738
1739  adds a line at the bottom of the current cell / row or of a selection
1740 \end_layout
1741
1742 \begin_layout Labeling
1743 \labelwidthstring 00.00.0000
1744 \begin_inset Graphics
1745         filename ../images/tabular-feature_toggle-line-left.xpm
1746
1747 \end_inset
1748
1749  adds a line at the left side of the current cell / row or of a selection
1750 \end_layout
1751
1752 \begin_layout Labeling
1753 \labelwidthstring 00.00.0000
1754 \begin_inset Graphics
1755         filename ../images/tabular-feature_toggle-line-right.xpm
1756
1757 \end_inset
1758
1759  adds a line at the right side of the current cell / row or of a selection
1760 \end_layout
1761
1762 \begin_layout Labeling
1763 \labelwidthstring 00.00.0000
1764 \begin_inset Graphics
1765         filename ../images/tabular-feature_set-all-lines.xpm
1766
1767 \end_inset
1768
1769  adds lines around the current or selected cells - if the current cell no
1770  multicolumn this also affects the current row and column
1771 \end_layout
1772
1773 \begin_layout Labeling
1774 \labelwidthstring 00.00.0000
1775 \begin_inset Graphics
1776         filename ../images/tabular-feature_unset-all-lines.xpm
1777
1778 \end_inset
1779
1780  deletes all lines of the current or selected cells - if the current cell
1781  no multicolumn this also affects the current row and column
1782 \end_layout
1783
1784 \begin_layout Labeling
1785 \labelwidthstring 00.00.0000
1786 \begin_inset Graphics
1787         filename ../images/tabular-feature_align-left.xpm
1788
1789 \end_inset
1790
1791  left-aligns the content of the current cell / column
1792 \end_layout
1793
1794 \begin_layout Labeling
1795 \labelwidthstring 00.00.0000
1796 \begin_inset Graphics
1797         filename ../images/tabular-feature_align-center.xpm
1798
1799 \end_inset
1800
1801  centers the content of the current cell / column horizontally
1802 \end_layout
1803
1804 \begin_layout Labeling
1805 \labelwidthstring 00.00.0000
1806 \begin_inset Graphics
1807         filename ../images/tabular-feature_align-right.xpm
1808
1809 \end_inset
1810
1811  right-aligns the content of the current cell / column
1812 \end_layout
1813
1814 \begin_layout Labeling
1815 \labelwidthstring 00.00.0000
1816 \begin_inset Graphics
1817         filename ../images/tabular-feature_valign-top.xpm
1818
1819 \end_inset
1820
1821  aligns the content of the current cell vertically to the top
1822 \end_layout
1823
1824 \begin_layout Labeling
1825 \labelwidthstring 00.00.0000
1826 \begin_inset Graphics
1827         filename ../images/tabular-feature_valign-middle.xpm
1828
1829 \end_inset
1830
1831  centers the content of the current cell vertically
1832 \end_layout
1833
1834 \begin_layout Labeling
1835 \labelwidthstring 00.00.0000
1836 \begin_inset Graphics
1837         filename ../images/tabular-feature_valign-bottom.xpm
1838
1839 \end_inset
1840
1841  aligns the content of the current cell vertically to the bottom
1842 \end_layout
1843
1844 \begin_layout Labeling
1845 \labelwidthstring 00.00.0000
1846 \begin_inset Graphics
1847         filename ../images/tabular-feature_set-rotate-cell.xpm
1848
1849 \end_inset
1850
1851  rotates the current cell or selection counter-clockwise by 90°
1852 \end_layout
1853
1854 \begin_layout Labeling
1855 \labelwidthstring 00.00.0000
1856 \begin_inset Graphics
1857         filename ../images/tabular-feature_set-rotate-tabular.xpm
1858
1859 \end_inset
1860
1861  rotates the whole table counter-clockwise by 90°
1862 \end_layout
1863
1864 \begin_layout Labeling
1865 \labelwidthstring 00.00.0000
1866 \begin_inset Graphics
1867         filename ../images/tabular-feature_multicolumn.xpm
1868
1869 \end_inset
1870
1871  sets the current cell or selection as a multicolumn
1872 \end_layout
1873
1874 \begin_layout Standard
1875 \begin_inset Note Greyedout
1876 status open
1877
1878 \begin_layout Standard
1879
1880 \series bold
1881 Note:
1882 \series default
1883  For the output the vertical alignment of the first cell in a row is used
1884  for all following cells in the row.
1885 \end_layout
1886
1887 \end_inset
1888
1889
1890 \end_layout
1891
1892 \begin_layout Section
1893 Edit Table Menu
1894 \begin_inset LatexCommand index
1895 name "Table ! Edit Menu"
1896
1897 \end_inset
1898
1899
1900 \end_layout
1901
1902 \begin_layout Standard
1903 Additionally to the table dialog and toolbar, the menu 
1904 \family sans
1905 Edit\SpecialChar \menuseparator
1906 Table
1907 \family default
1908  allows you to add and delete border lines for the current row/column and
1909  to set the current selection as multicolumn.
1910  The menu is only available when the cursor is inside a table.
1911 \end_layout
1912
1913 \begin_layout Section
1914 Table Floats
1915 \begin_inset LatexCommand label
1916 name "sec:Table-Floats"
1917
1918 \end_inset
1919
1920
1921 \begin_inset LatexCommand index
1922 name "Floats ! Tables"
1923
1924 \end_inset
1925
1926
1927 \begin_inset LatexCommand index
1928 name "Table ! Floats"
1929
1930 \end_inset
1931
1932
1933 \end_layout
1934
1935 \begin_layout Standard
1936 For general explanations about floats, have a look at section\InsetSpace ~
1937
1938 \begin_inset LatexCommand ref
1939 reference "sec:FloatIntroduction"
1940
1941 \end_inset
1942
1943 .
1944 \end_layout
1945
1946 \begin_layout Standard
1947 \begin_inset Float table
1948 placement h
1949 wide false
1950 sideways false
1951 status open
1952
1953 \begin_layout Standard
1954 \begin_inset Caption
1955
1956 \begin_layout Standard
1957 \begin_inset LatexCommand label
1958 name "tab:a table float"
1959
1960 \end_inset
1961
1962 A table float.
1963 \end_layout
1964
1965 \end_inset
1966
1967
1968 \end_layout
1969
1970 \begin_layout Standard
1971 \align center
1972 \begin_inset Tabular
1973 <lyxtabular version="3" rows="3" columns="3">
1974 <features>
1975 <column alignment="center" valignment="top" leftline="true" width="0pt">
1976 <column alignment="center" valignment="top" leftline="true" width="0pt">
1977 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1978 <row topline="true" bottomline="true">
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 1
1993 \end_layout
1994
1995 \end_inset
1996 </cell>
1997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="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 2
2011 \end_layout
2012
2013 \end_inset
2014 </cell>
2015 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2016 \begin_inset Text
2017
2018 \begin_layout Standard
2019
2020 \family roman
2021 \series medium
2022 \shape up
2023 \size normal
2024 \emph off
2025 \bar no
2026 \noun off
2027 \color none
2028 3
2029 \end_layout
2030
2031 \end_inset
2032 </cell>
2033 </row>
2034 <row topline="true">
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 Joe
2049 \end_layout
2050
2051 \end_inset
2052 </cell>
2053 <cell alignment="center" valignment="top" topline="true" leftline="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 Mary
2067 \end_layout
2068
2069 \end_inset
2070 </cell>
2071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2072 \begin_inset Text
2073
2074 \begin_layout Standard
2075
2076 \family roman
2077 \series medium
2078 \shape up
2079 \size normal
2080 \emph off
2081 \bar no
2082 \noun off
2083 \color none
2084 Ted
2085 \end_layout
2086
2087 \end_inset
2088 </cell>
2089 </row>
2090 <row topline="true" bottomline="true">
2091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2092 \begin_inset Text
2093
2094 \begin_layout Standard
2095
2096 \family roman
2097 \series medium
2098 \shape up
2099 \size normal
2100 \emph off
2101 \bar no
2102 \noun off
2103 \color none
2104 \begin_inset Formula $\int x^{2}dx$
2105 \end_inset
2106
2107
2108 \end_layout
2109
2110 \end_inset
2111 </cell>
2112 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2113 \begin_inset Text
2114
2115 \begin_layout Standard
2116
2117 \family roman
2118 \series medium
2119 \shape up
2120 \size normal
2121 \emph off
2122 \bar no
2123 \noun off
2124 \color none
2125 \begin_inset Formula $\left[\begin{array}{cc}
2126 a & b\\
2127 c & d\end{array}\right]$
2128 \end_inset
2129
2130
2131 \end_layout
2132
2133 \end_inset
2134 </cell>
2135 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2136 \begin_inset Text
2137
2138 \begin_layout Standard
2139
2140 \family roman
2141 \series medium
2142 \shape up
2143 \size normal
2144 \emph off
2145 \bar no
2146 \noun off
2147 \color none
2148 \begin_inset Formula $1+1=2$
2149 \end_inset
2150
2151
2152 \end_layout
2153
2154 \end_inset
2155 </cell>
2156 </row>
2157 </lyxtabular>
2158
2159 \end_inset
2160
2161
2162 \end_layout
2163
2164 \end_inset
2165
2166
2167 \end_layout
2168
2169 \begin_layout Standard
2170 Table floats can be inserted using the menu 
2171 \family sans
2172 Insert\SpecialChar \menuseparator
2173 Float\SpecialChar \menuseparator
2174 Table
2175 \family default
2176  or the toolbar button 
2177 \begin_inset Graphics
2178         filename ../images/float-insert_table.xpm
2179         scale 85
2180
2181 \end_inset
2182
2183 .
2184 \end_layout
2185
2186 \begin_layout Standard
2187 The float appears as a collapsible box with a caption that has the label
2188  
2189 \begin_inset Quotes eld
2190 \end_inset
2191
2192 Table\InsetSpace ~
2193 #:
2194 \begin_inset Quotes erd
2195 \end_inset
2196
2197  (# is the actual table number).
2198  You can insert tables to the float above or below the caption.
2199 \end_layout
2200
2201 \begin_layout Standard
2202 Table\InsetSpace ~
2203
2204 \begin_inset LatexCommand ref
2205 reference "tab:a table float"
2206
2207 \end_inset
2208
2209  is an example table within a table float.
2210 \end_layout
2211
2212 \begin_layout Standard
2213 Having the caption above the table is the common rule that is unfortunately
2214  not supported in LaTeX's standard classes.
2215  That means if you are using the document classes 
2216 \family sans
2217 article
2218 \family default
2219
2220 \family sans
2221 book
2222 \family default
2223
2224 \family sans
2225 letter
2226 \family default
2227 , or 
2228 \family sans
2229 report
2230 \family default
2231  there will be no space between the caption and the table.
2232  To insert the needed space, add the following option to the load command
2233  of the LaTeX-package 
2234 \series bold
2235 caption
2236 \series default
2237
2238 \begin_inset LatexCommand index
2239 name "LaTeX-packages ! caption"
2240
2241 \end_inset
2242
2243  in your document preamble
2244 \begin_inset Foot
2245 status collapsed
2246
2247 \begin_layout Standard
2248 For more information have a look at section\InsetSpace ~
2249
2250 \begin_inset LatexCommand ref
2251 reference "sec:Caption-Placement"
2252
2253 \end_inset
2254
2255 .
2256 \end_layout
2257
2258 \end_inset
2259
2260 :
2261 \end_layout
2262
2263 \begin_layout Standard
2264
2265 \series bold
2266 tableposition=top
2267 \end_layout
2268
2269 \begin_layout Standard
2270 The package 
2271 \series bold
2272 caption
2273 \series default
2274 , which is described in section\InsetSpace ~
2275
2276 \begin_inset LatexCommand ref
2277 reference "sec:Caption-Formatting"
2278
2279 \end_inset
2280
2281 , is used to adjust the caption format.
2282 \end_layout
2283
2284 \begin_layout Standard
2285 \begin_inset LatexCommand index
2286 name "References ! to Tables"
2287
2288 \end_inset
2289
2290 Tables can be cross-referenced in the text by referencing their label.
2291  To do this insert a label in the caption using the menu 
2292 \family sans
2293 Insert\SpecialChar \menuseparator
2294 Label
2295 \family default
2296  or the toolbar button 
2297 \begin_inset Graphics
2298         filename ../images/label-insert.xpm
2299         scale 85
2300
2301 \end_inset
2302
2303 .
2304  You can now refer to the label using the menu 
2305 \family sans
2306 Insert\SpecialChar \menuseparator
2307 Cross\InsetSpace ~
2308 reference
2309 \family default
2310  or the toolbar button 
2311 \begin_inset Graphics
2312         filename ../images/dialog-show-new-inset_ref.xpm
2313         scale 85
2314
2315 \end_inset
2316
2317 .
2318 \newline
2319 Referencing is explained in detail in section\InsetSpace ~
2320
2321 \begin_inset LatexCommand ref
2322 reference "sec:Referencing-Floats"
2323
2324 \end_inset
2325
2326 .
2327 \end_layout
2328
2329 \begin_layout Section
2330 Longtables
2331 \begin_inset LatexCommand label
2332 name "sec:Longtables"
2333
2334 \end_inset
2335
2336
2337 \begin_inset LatexCommand index
2338 name "Longtables"
2339
2340 \end_inset
2341
2342
2343 \begin_inset LatexCommand index
2344 name "Table ! Longtables"
2345
2346 \end_inset
2347
2348
2349 \end_layout
2350
2351 \begin_layout Standard
2352 If the table is too long to fit on one page, you can use the option 
2353 \family sans
2354 Use\InsetSpace ~
2355 long\InsetSpace ~
2356 table
2357 \family default
2358  in the tab 
2359 \family sans
2360 Longtable
2361 \family default
2362  of the table dialog to split the table automatically over more pages.
2363  Doing this enables some check boxes and you can now define:
2364 \end_layout
2365
2366 \begin_layout Description
2367
2368 \family sans
2369 Header
2370 \family default
2371 : The current row and all rows above, that don't have any special options
2372  defined, are defined to be the header rows of all pages of the longtable;
2373  except for the first page, if 
2374 \family sans
2375 First\InsetSpace ~
2376 header
2377 \family default
2378  is defined.
2379  This therefore called the main header.
2380 \end_layout
2381
2382 \begin_layout Description
2383
2384 \family sans
2385 First\InsetSpace ~
2386 header
2387 \family default
2388 : The current row and all rows above, that don't have any special options
2389  defined, are defined to be the header rows of the first page of the longtable.
2390 \end_layout
2391
2392 \begin_layout Description
2393
2394 \family sans
2395 Footer
2396 \family default
2397 : The current row and all rows below, that don't have any special options
2398  defined, are defined to be the footer rows of all pages of the longtable;
2399  except for the last page, if 
2400 \family sans
2401 Last\InsetSpace ~
2402 footer
2403 \family default
2404  is defined.
2405 \end_layout
2406
2407 \begin_layout Description
2408
2409 \family sans
2410 Last\InsetSpace ~
2411 footer
2412 \family default
2413 : The current row and all rows below, that don't have any special options
2414  defined, are defined to be the footer rows of the last page of the longtable.
2415 \end_layout
2416
2417 \begin_layout Standard
2418 You can also specify a row where the table is splitted.
2419  If you set more than one option in the same table row, you should be aware
2420  of the fact that only the first one is used in the given table row.
2421  The others will then be defined as 
2422 \emph on
2423 empty
2424 \emph default
2425 .
2426  In this context, first means first in this order: 
2427 \family sans
2428 Header,
2429 \family default
2430  
2431 \family sans
2432 First\InsetSpace ~
2433 header, Footer, Last\InsetSpace ~
2434 footer.
2435
2436 \family default
2437  See the following longtable to see how it works:
2438 \end_layout
2439
2440 \begin_layout Standard
2441 \align center
2442 \begin_inset Tabular
2443 <lyxtabular version="3" rows="69" columns="3">
2444 <features islongtable="true">
2445 <column alignment="left" valignment="top" leftline="true" width="0cm">
2446 <column alignment="left" valignment="top" width="0pt">
2447 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2448 <row topline="true" bottomline="true" endfirsthead="true">
2449 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2450 \begin_inset Text
2451
2452 \begin_layout Standard
2453
2454 \series bold
2455 Example Phone List (ignore the names)
2456 \end_layout
2457
2458 \end_inset
2459 </cell>
2460 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2461 \begin_inset Text
2462
2463 \begin_layout Standard
2464
2465 \end_layout
2466
2467 \end_inset
2468 </cell>
2469 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2470 \begin_inset Text
2471
2472 \begin_layout Standard
2473
2474 \end_layout
2475
2476 \end_inset
2477 </cell>
2478 </row>
2479 <row topline="true" bottomline="true" endfirsthead="true">
2480 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2481 \begin_inset Text
2482
2483 \begin_layout Standard
2484
2485 \series bold
2486 NAME
2487 \end_layout
2488
2489 \end_inset
2490 </cell>
2491 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2492 \begin_inset Text
2493
2494 \begin_layout Standard
2495
2496 \end_layout
2497
2498 \end_inset
2499 </cell>
2500 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2501 \begin_inset Text
2502
2503 \begin_layout Standard
2504
2505 \series bold
2506 TEL.
2507 \end_layout
2508
2509 \end_inset
2510 </cell>
2511 </row>
2512 <row topline="true" bottomline="true" endhead="true">
2513 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2514 \begin_inset Text
2515
2516 \begin_layout Standard
2517
2518 \series bold
2519 Example Phone List
2520 \end_layout
2521
2522 \end_inset
2523 </cell>
2524 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2525 \begin_inset Text
2526
2527 \begin_layout Standard
2528
2529 \end_layout
2530
2531 \end_inset
2532 </cell>
2533 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2534 \begin_inset Text
2535
2536 \begin_layout Standard
2537
2538 \end_layout
2539
2540 \end_inset
2541 </cell>
2542 </row>
2543 <row topline="true" bottomline="true" endhead="true">
2544 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2545 \begin_inset Text
2546
2547 \begin_layout Standard
2548
2549 \series bold
2550 NAME
2551 \end_layout
2552
2553 \end_inset
2554 </cell>
2555 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2556 \begin_inset Text
2557
2558 \begin_layout Standard
2559
2560 \end_layout
2561
2562 \end_inset
2563 </cell>
2564 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2565 \begin_inset Text
2566
2567 \begin_layout Standard
2568
2569 \series bold
2570 TEL.
2571 \end_layout
2572
2573 \end_inset
2574 </cell>
2575 </row>
2576 <row topline="true" bottomline="true" endfoot="true">
2577 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2578 \begin_inset Text
2579
2580 \begin_layout Standard
2581  continued on next page
2582 \end_layout
2583
2584 \end_inset
2585 </cell>
2586 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2587 \begin_inset Text
2588
2589 \begin_layout Standard
2590
2591 \end_layout
2592
2593 \end_inset
2594 </cell>
2595 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2596 \begin_inset Text
2597
2598 \begin_layout Standard
2599
2600 \end_layout
2601
2602 \end_inset
2603 </cell>
2604 </row>
2605 <row>
2606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2607 \begin_inset Text
2608
2609 \begin_layout Standard
2610
2611 \series bold
2612 Annovi
2613 \end_layout
2614
2615 \end_inset
2616 </cell>
2617 <cell alignment="center" valignment="top" topline="true" usebox="none">
2618 \begin_inset Text
2619
2620 \begin_layout Standard
2621 Silvia
2622 \end_layout
2623
2624 \end_inset
2625 </cell>
2626 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2627 \begin_inset Text
2628
2629 \begin_layout Standard
2630 111
2631 \end_layout
2632
2633 \end_inset
2634 </cell>
2635 </row>
2636 <row>
2637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2638 \begin_inset Text
2639
2640 \begin_layout Standard
2641
2642 \series bold
2643 Bertoli
2644 \end_layout
2645
2646 \end_inset
2647 </cell>
2648 <cell alignment="center" valignment="top" topline="true" usebox="none">
2649 \begin_inset Text
2650
2651 \begin_layout Standard
2652 Stefano
2653 \end_layout
2654
2655 \end_inset
2656 </cell>
2657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2658 \begin_inset Text
2659
2660 \begin_layout Standard
2661 111
2662 \end_layout
2663
2664 \end_inset
2665 </cell>
2666 </row>
2667 <row>
2668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2669 \begin_inset Text
2670
2671 \begin_layout Standard
2672
2673 \series bold
2674 Bozzi
2675 \end_layout
2676
2677 \end_inset
2678 </cell>
2679 <cell alignment="center" valignment="top" topline="true" usebox="none">
2680 \begin_inset Text
2681
2682 \begin_layout Standard
2683 Walter
2684 \end_layout
2685
2686 \end_inset
2687 </cell>
2688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2689 \begin_inset Text
2690
2691 \begin_layout Standard
2692 111
2693 \end_layout
2694
2695 \end_inset
2696 </cell>
2697 </row>
2698 <row>
2699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2700 \begin_inset Text
2701
2702 \begin_layout Standard
2703
2704 \series bold
2705 Cachia
2706 \end_layout
2707
2708 \end_inset
2709 </cell>
2710 <cell alignment="center" valignment="top" topline="true" usebox="none">
2711 \begin_inset Text
2712
2713 \begin_layout Standard
2714 Maria
2715 \end_layout
2716
2717 \end_inset
2718 </cell>
2719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2720 \begin_inset Text
2721
2722 \begin_layout Standard
2723 111
2724 \end_layout
2725
2726 \end_inset
2727 </cell>
2728 </row>
2729 <row>
2730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2731 \begin_inset Text
2732
2733 \begin_layout Standard
2734
2735 \series bold
2736 Cachia
2737 \end_layout
2738
2739 \end_inset
2740 </cell>
2741 <cell alignment="center" valignment="top" topline="true" usebox="none">
2742 \begin_inset Text
2743
2744 \begin_layout Standard
2745 Maurizio
2746 \end_layout
2747
2748 \end_inset
2749 </cell>
2750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2751 \begin_inset Text
2752
2753 \begin_layout Standard
2754 111
2755 \end_layout
2756
2757 \end_inset
2758 </cell>
2759 </row>
2760 <row>
2761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2762 \begin_inset Text
2763
2764 \begin_layout Standard
2765
2766 \series bold
2767 Cinquemani
2768 \end_layout
2769
2770 \end_inset
2771 </cell>
2772 <cell alignment="center" valignment="top" topline="true" usebox="none">
2773 \begin_inset Text
2774
2775 \begin_layout Standard
2776 Giusi
2777 \end_layout
2778
2779 \end_inset
2780 </cell>
2781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2782 \begin_inset Text
2783
2784 \begin_layout Standard
2785 111
2786 \end_layout
2787
2788 \end_inset
2789 </cell>
2790 </row>
2791 <row>
2792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2793 \begin_inset Text
2794
2795 \begin_layout Standard
2796
2797 \series bold
2798 Colin
2799 \end_layout
2800
2801 \end_inset
2802 </cell>
2803 <cell alignment="center" valignment="top" topline="true" usebox="none">
2804 \begin_inset Text
2805
2806 \begin_layout Standard
2807 Bernard
2808 \end_layout
2809
2810 \end_inset
2811 </cell>
2812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2813 \begin_inset Text
2814
2815 \begin_layout Standard
2816 111
2817 \end_layout
2818
2819 \end_inset
2820 </cell>
2821 </row>
2822 <row>
2823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2824 \begin_inset Text
2825
2826 \begin_layout Standard
2827
2828 \series bold
2829 Concli
2830 \end_layout
2831
2832 \end_inset
2833 </cell>
2834 <cell alignment="center" valignment="top" topline="true" usebox="none">
2835 \begin_inset Text
2836
2837 \begin_layout Standard
2838 Gianfranco
2839 \end_layout
2840
2841 \end_inset
2842 </cell>
2843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2844 \begin_inset Text
2845
2846 \begin_layout Standard
2847 111
2848 \end_layout
2849
2850 \end_inset
2851 </cell>
2852 </row>
2853 <row>
2854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2855 \begin_inset Text
2856
2857 \begin_layout Standard
2858
2859 \series bold
2860 Dal Bosco
2861 \end_layout
2862
2863 \end_inset
2864 </cell>
2865 <cell alignment="center" valignment="top" topline="true" usebox="none">
2866 \begin_inset Text
2867
2868 \begin_layout Standard
2869 Carolina
2870 \end_layout
2871
2872 \end_inset
2873 </cell>
2874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2875 \begin_inset Text
2876
2877 \begin_layout Standard
2878 111
2879 \end_layout
2880
2881 \end_inset
2882 </cell>
2883 </row>
2884 <row>
2885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2886 \begin_inset Text
2887
2888 \begin_layout Standard
2889
2890 \series bold
2891 Dalpiaz
2892 \end_layout
2893
2894 \end_inset
2895 </cell>
2896 <cell alignment="center" valignment="top" topline="true" usebox="none">
2897 \begin_inset Text
2898
2899 \begin_layout Standard
2900 Annamaria
2901 \end_layout
2902
2903 \end_inset
2904 </cell>
2905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2906 \begin_inset Text
2907
2908 \begin_layout Standard
2909 111
2910 \end_layout
2911
2912 \end_inset
2913 </cell>
2914 </row>
2915 <row>
2916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2917 \begin_inset Text
2918
2919 \begin_layout Standard
2920
2921 \series bold
2922 Feliciello
2923 \end_layout
2924
2925 \end_inset
2926 </cell>
2927 <cell alignment="center" valignment="top" topline="true" usebox="none">
2928 \begin_inset Text
2929
2930 \begin_layout Standard
2931 Domenico
2932 \end_layout
2933
2934 \end_inset
2935 </cell>
2936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2937 \begin_inset Text
2938
2939 \begin_layout Standard
2940 111
2941 \end_layout
2942
2943 \end_inset
2944 </cell>
2945 </row>
2946 <row>
2947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2948 \begin_inset Text
2949
2950 \begin_layout Standard
2951
2952 \series bold
2953 Focarelli
2954 \end_layout
2955
2956 \end_inset
2957 </cell>
2958 <cell alignment="center" valignment="top" topline="true" usebox="none">
2959 \begin_inset Text
2960
2961 \begin_layout Standard
2962 Paola
2963 \end_layout
2964
2965 \end_inset
2966 </cell>
2967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2968 \begin_inset Text
2969
2970 \begin_layout Standard
2971 111
2972 \end_layout
2973
2974 \end_inset
2975 </cell>
2976 </row>
2977 <row>
2978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2979 \begin_inset Text
2980
2981 \begin_layout Standard
2982
2983 \series bold
2984 Galletti
2985 \end_layout
2986
2987 \end_inset
2988 </cell>
2989 <cell alignment="center" valignment="top" topline="true" usebox="none">
2990 \begin_inset Text
2991
2992 \begin_layout Standard
2993 Oreste
2994 \end_layout
2995
2996 \end_inset
2997 </cell>
2998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2999 \begin_inset Text
3000
3001 \begin_layout Standard
3002 111
3003 \end_layout
3004
3005 \end_inset
3006 </cell>
3007 </row>
3008 <row>
3009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3010 \begin_inset Text
3011
3012 \begin_layout Standard
3013
3014 \series bold
3015 Gasparini
3016 \end_layout
3017
3018 \end_inset
3019 </cell>
3020 <cell alignment="center" valignment="top" topline="true" usebox="none">
3021 \begin_inset Text
3022
3023 \begin_layout Standard
3024 Franca
3025 \end_layout
3026
3027 \end_inset
3028 </cell>
3029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3030 \begin_inset Text
3031
3032 \begin_layout Standard
3033 111
3034 \end_layout
3035
3036 \end_inset
3037 </cell>
3038 </row>
3039 <row>
3040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3041 \begin_inset Text
3042
3043 \begin_layout Standard
3044
3045 \series bold
3046 Rizzardi
3047 \end_layout
3048
3049 \end_inset
3050 </cell>
3051 <cell alignment="center" valignment="top" topline="true" usebox="none">
3052 \begin_inset Text
3053
3054 \begin_layout Standard
3055 Paola
3056 \end_layout
3057
3058 \end_inset
3059 </cell>
3060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3061 \begin_inset Text
3062
3063 \begin_layout Standard
3064 111
3065 \end_layout
3066
3067 \end_inset
3068 </cell>
3069 </row>
3070 <row>
3071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3072 \begin_inset Text
3073
3074 \begin_layout Standard
3075
3076 \series bold
3077 Lassini
3078 \end_layout
3079
3080 \end_inset
3081 </cell>
3082 <cell alignment="center" valignment="top" topline="true" usebox="none">
3083 \begin_inset Text
3084
3085 \begin_layout Standard
3086 Giancarlo
3087 \end_layout
3088
3089 \end_inset
3090 </cell>
3091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3092 \begin_inset Text
3093
3094 \begin_layout Standard
3095 111
3096 \end_layout
3097
3098 \end_inset
3099 </cell>
3100 </row>
3101 <row>
3102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3103 \begin_inset Text
3104
3105 \begin_layout Standard
3106
3107 \series bold
3108 Malfatti
3109 \end_layout
3110
3111 \end_inset
3112 </cell>
3113 <cell alignment="center" valignment="top" topline="true" usebox="none">
3114 \begin_inset Text
3115
3116 \begin_layout Standard
3117 Luciano
3118 \end_layout
3119
3120 \end_inset
3121 </cell>
3122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3123 \begin_inset Text
3124
3125 \begin_layout Standard
3126 111
3127 \end_layout
3128
3129 \end_inset
3130 </cell>
3131 </row>
3132 <row>
3133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3134 \begin_inset Text
3135
3136 \begin_layout Standard
3137
3138 \series bold
3139 Malfatti
3140 \end_layout
3141
3142 \end_inset
3143 </cell>
3144 <cell alignment="center" valignment="top" topline="true" usebox="none">
3145 \begin_inset Text
3146
3147 \begin_layout Standard
3148 Valeriano
3149 \end_layout
3150
3151 \end_inset
3152 </cell>
3153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3154 \begin_inset Text
3155
3156 \begin_layout Standard
3157 111
3158 \end_layout
3159
3160 \end_inset
3161 </cell>
3162 </row>
3163 <row>
3164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3165 \begin_inset Text
3166
3167 \begin_layout Standard
3168
3169 \series bold
3170 Meneguzzo
3171 \end_layout
3172
3173 \end_inset
3174 </cell>
3175 <cell alignment="center" valignment="top" topline="true" usebox="none">
3176 \begin_inset Text
3177
3178 \begin_layout Standard
3179 Roberto
3180 \end_layout
3181
3182 \end_inset
3183 </cell>
3184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3185 \begin_inset Text
3186
3187 \begin_layout Standard
3188 111
3189 \end_layout
3190
3191 \end_inset
3192 </cell>
3193 </row>
3194 <row>
3195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3196 \begin_inset Text
3197
3198 \begin_layout Standard
3199
3200 \series bold
3201 Mezzadra
3202 \end_layout
3203
3204 \end_inset
3205 </cell>
3206 <cell alignment="center" valignment="top" topline="true" usebox="none">
3207 \begin_inset Text
3208
3209 \begin_layout Standard
3210 Roberto
3211 \end_layout
3212
3213 \end_inset
3214 </cell>
3215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3216 \begin_inset Text
3217
3218 \begin_layout Standard
3219 111
3220 \end_layout
3221
3222 \end_inset
3223 </cell>
3224 </row>
3225 <row>
3226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3227 \begin_inset Text
3228
3229 \begin_layout Standard
3230
3231 \series bold
3232 Pirpamer
3233 \end_layout
3234
3235 \end_inset
3236 </cell>
3237 <cell alignment="center" valignment="top" topline="true" usebox="none">
3238 \begin_inset Text
3239
3240 \begin_layout Standard
3241 Erich
3242 \end_layout
3243
3244 \end_inset
3245 </cell>
3246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3247 \begin_inset Text
3248
3249 \begin_layout Standard
3250 111
3251 \end_layout
3252
3253 \end_inset
3254 </cell>
3255 </row>
3256 <row>
3257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3258 \begin_inset Text
3259
3260 \begin_layout Standard
3261
3262 \series bold
3263 Pochiesa
3264 \end_layout
3265
3266 \end_inset
3267 </cell>
3268 <cell alignment="center" valignment="top" topline="true" usebox="none">
3269 \begin_inset Text
3270
3271 \begin_layout Standard
3272 Paolo
3273 \end_layout
3274
3275 \end_inset
3276 </cell>
3277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3278 \begin_inset Text
3279
3280 \begin_layout Standard
3281 111, 222
3282 \end_layout
3283
3284 \end_inset
3285 </cell>
3286 </row>
3287 <row>
3288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3289 \begin_inset Text
3290
3291 \begin_layout Standard
3292
3293 \series bold
3294 Radina
3295 \end_layout
3296
3297 \end_inset
3298 </cell>
3299 <cell alignment="center" valignment="top" topline="true" usebox="none">
3300 \begin_inset Text
3301
3302 \begin_layout Standard
3303 Claudio
3304 \end_layout
3305
3306 \end_inset
3307 </cell>
3308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3309 \begin_inset Text
3310
3311 \begin_layout Standard
3312 111
3313 \end_layout
3314
3315 \end_inset
3316 </cell>
3317 </row>
3318 <row>
3319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3320 \begin_inset Text
3321
3322 \begin_layout Standard
3323
3324 \series bold
3325 Stuffer
3326 \end_layout
3327
3328 \end_inset
3329 </cell>
3330 <cell alignment="center" valignment="top" topline="true" usebox="none">
3331 \begin_inset Text
3332
3333 \begin_layout Standard
3334 Oskar
3335 \end_layout
3336
3337 \end_inset
3338 </cell>
3339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3340 \begin_inset Text
3341
3342 \begin_layout Standard
3343 111
3344 \end_layout
3345
3346 \end_inset
3347 </cell>
3348 </row>
3349 <row>
3350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3351 \begin_inset Text
3352
3353 \begin_layout Standard
3354
3355 \series bold
3356 Tacchelli
3357 \end_layout
3358
3359 \end_inset
3360 </cell>
3361 <cell alignment="center" valignment="top" topline="true" usebox="none">
3362 \begin_inset Text
3363
3364 \begin_layout Standard
3365 Ugo
3366 \end_layout
3367
3368 \end_inset
3369 </cell>
3370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3371 \begin_inset Text
3372
3373 \begin_layout Standard
3374 111
3375 \end_layout
3376
3377 \end_inset
3378 </cell>
3379 </row>
3380 <row>
3381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3382 \begin_inset Text
3383
3384 \begin_layout Standard
3385
3386 \series bold
3387 Tezzele
3388 \end_layout
3389
3390 \end_inset
3391 </cell>
3392 <cell alignment="center" valignment="top" topline="true" usebox="none">
3393 \begin_inset Text
3394
3395 \begin_layout Standard
3396 Margit
3397 \end_layout
3398
3399 \end_inset
3400 </cell>
3401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3402 \begin_inset Text
3403
3404 \begin_layout Standard
3405 111
3406 \end_layout
3407
3408 \end_inset
3409 </cell>
3410 </row>
3411 <row>
3412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3413 \begin_inset Text
3414
3415 \begin_layout Standard
3416
3417 \series bold
3418 Unterkalmsteiner
3419 \end_layout
3420
3421 \end_inset
3422 </cell>
3423 <cell alignment="center" valignment="top" topline="true" usebox="none">
3424 \begin_inset Text
3425
3426 \begin_layout Standard
3427 Frieda
3428 \end_layout
3429
3430 \end_inset
3431 </cell>
3432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3433 \begin_inset Text
3434
3435 \begin_layout Standard
3436 111
3437 \end_layout
3438
3439 \end_inset
3440 </cell>
3441 </row>
3442 <row>
3443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3444 \begin_inset Text
3445
3446 \begin_layout Standard
3447
3448 \series bold
3449 Vieider
3450 \end_layout
3451
3452 \end_inset
3453 </cell>
3454 <cell alignment="center" valignment="top" topline="true" usebox="none">
3455 \begin_inset Text
3456
3457 \begin_layout Standard
3458 Hilde
3459 \end_layout
3460
3461 \end_inset
3462 </cell>
3463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3464 \begin_inset Text
3465
3466 \begin_layout Standard
3467 111
3468 \end_layout
3469
3470 \end_inset
3471 </cell>
3472 </row>
3473 <row>
3474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3475 \begin_inset Text
3476
3477 \begin_layout Standard
3478
3479 \series bold
3480 Vigna
3481 \end_layout
3482
3483 \end_inset
3484 </cell>
3485 <cell alignment="center" valignment="top" topline="true" usebox="none">
3486 \begin_inset Text
3487
3488 \begin_layout Standard
3489 Jürgen
3490 \end_layout
3491
3492 \end_inset
3493 </cell>
3494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3495 \begin_inset Text
3496
3497 \begin_layout Standard
3498 111
3499 \end_layout
3500
3501 \end_inset
3502 </cell>
3503 </row>
3504 <row>
3505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3506 \begin_inset Text
3507
3508 \begin_layout Standard
3509
3510 \series bold
3511 Weber
3512 \end_layout
3513
3514 \end_inset
3515 </cell>
3516 <cell alignment="center" valignment="top" topline="true" usebox="none">
3517 \begin_inset Text
3518
3519 \begin_layout Standard
3520 Maurizio
3521 \end_layout
3522
3523 \end_inset
3524 </cell>
3525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3526 \begin_inset Text
3527
3528 \begin_layout Standard
3529 111
3530 \end_layout
3531
3532 \end_inset
3533 </cell>
3534 </row>
3535 <row bottomline="true">
3536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3537 \begin_inset Text
3538
3539 \begin_layout Standard
3540
3541 \series bold
3542 Winkler
3543 \end_layout
3544
3545 \end_inset
3546 </cell>
3547 <cell alignment="center" valignment="top" topline="true" usebox="none">
3548 \begin_inset Text
3549
3550 \begin_layout Standard
3551 Franz
3552 \end_layout
3553
3554 \end_inset
3555 </cell>
3556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3557 \begin_inset Text
3558
3559 \begin_layout Standard
3560 111
3561 \end_layout
3562
3563 \end_inset
3564 </cell>
3565 </row>
3566 <row bottomline="true">
3567 <cell multicolumn="1" alignment="left" valignment="top" bottomline="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 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3577 \begin_inset Text
3578
3579 \begin_layout Standard
3580
3581 \end_layout
3582
3583 \end_inset
3584 </cell>
3585 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3586 \begin_inset Text
3587
3588 \begin_layout Standard
3589
3590 \end_layout
3591
3592 \end_inset
3593 </cell>
3594 </row>
3595 <row>
3596 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3597 \begin_inset Text
3598
3599 \begin_layout Standard
3600
3601 \series bold
3602 Annovi
3603 \end_layout
3604
3605 \end_inset
3606 </cell>
3607 <cell alignment="center" valignment="top" topline="true" usebox="none">
3608 \begin_inset Text
3609
3610 \begin_layout Standard
3611 Silvia
3612 \end_layout
3613
3614 \end_inset
3615 </cell>
3616 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3617 \begin_inset Text
3618
3619 \begin_layout Standard
3620 555
3621 \end_layout
3622
3623 \end_inset
3624 </cell>
3625 </row>
3626 <row>
3627 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3628 \begin_inset Text
3629
3630 \begin_layout Standard
3631
3632 \series bold
3633 Bertoli
3634 \end_layout
3635
3636 \end_inset
3637 </cell>
3638 <cell alignment="center" valignment="top" topline="true" usebox="none">
3639 \begin_inset Text
3640
3641 \begin_layout Standard
3642 Stefano
3643 \end_layout
3644
3645 \end_inset
3646 </cell>
3647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3648 \begin_inset Text
3649
3650 \begin_layout Standard
3651 555
3652 \end_layout
3653
3654 \end_inset
3655 </cell>
3656 </row>
3657 <row>
3658 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3659 \begin_inset Text
3660
3661 \begin_layout Standard
3662
3663 \series bold
3664 Bozzi
3665 \end_layout
3666
3667 \end_inset
3668 </cell>
3669 <cell alignment="center" valignment="top" topline="true" usebox="none">
3670 \begin_inset Text
3671
3672 \begin_layout Standard
3673 Walter
3674 \end_layout
3675
3676 \end_inset
3677 </cell>
3678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3679 \begin_inset Text
3680
3681 \begin_layout Standard
3682 555
3683 \end_layout
3684
3685 \end_inset
3686 </cell>
3687 </row>
3688 <row>
3689 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3690 \begin_inset Text
3691
3692 \begin_layout Standard
3693
3694 \series bold
3695 Cachia
3696 \end_layout
3697
3698 \end_inset
3699 </cell>
3700 <cell alignment="center" valignment="top" topline="true" usebox="none">
3701 \begin_inset Text
3702
3703 \begin_layout Standard
3704 Maria
3705 \end_layout
3706
3707 \end_inset
3708 </cell>
3709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3710 \begin_inset Text
3711
3712 \begin_layout Standard
3713 555
3714 \end_layout
3715
3716 \end_inset
3717 </cell>
3718 </row>
3719 <row>
3720 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3721 \begin_inset Text
3722
3723 \begin_layout Standard
3724
3725 \series bold
3726 Cachia
3727 \end_layout
3728
3729 \end_inset
3730 </cell>
3731 <cell alignment="center" valignment="top" topline="true" usebox="none">
3732 \begin_inset Text
3733
3734 \begin_layout Standard
3735 Maurizio
3736 \end_layout
3737
3738 \end_inset
3739 </cell>
3740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3741 \begin_inset Text
3742
3743 \begin_layout Standard
3744 555
3745 \end_layout
3746
3747 \end_inset
3748 </cell>
3749 </row>
3750 <row>
3751 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3752 \begin_inset Text
3753
3754 \begin_layout Standard
3755
3756 \series bold
3757 Cinquemani
3758 \end_layout
3759
3760 \end_inset
3761 </cell>
3762 <cell alignment="center" valignment="top" topline="true" usebox="none">
3763 \begin_inset Text
3764
3765 \begin_layout Standard
3766 Giusi
3767 \end_layout
3768
3769 \end_inset
3770 </cell>
3771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3772 \begin_inset Text
3773
3774 \begin_layout Standard
3775 555
3776 \end_layout
3777
3778 \end_inset
3779 </cell>
3780 </row>
3781 <row>
3782 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3783 \begin_inset Text
3784
3785 \begin_layout Standard
3786
3787 \series bold
3788 Colin
3789 \end_layout
3790
3791 \end_inset
3792 </cell>
3793 <cell alignment="center" valignment="top" topline="true" usebox="none">
3794 \begin_inset Text
3795
3796 \begin_layout Standard
3797 Bernard
3798 \end_layout
3799
3800 \end_inset
3801 </cell>
3802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3803 \begin_inset Text
3804
3805 \begin_layout Standard
3806 555
3807 \end_layout
3808
3809 \end_inset
3810 </cell>
3811 </row>
3812 <row>
3813 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3814 \begin_inset Text
3815
3816 \begin_layout Standard
3817
3818 \series bold
3819 Concli
3820 \end_layout
3821
3822 \end_inset
3823 </cell>
3824 <cell alignment="center" valignment="top" topline="true" usebox="none">
3825 \begin_inset Text
3826
3827 \begin_layout Standard
3828 Gianfranco
3829 \end_layout
3830
3831 \end_inset
3832 </cell>
3833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3834 \begin_inset Text
3835
3836 \begin_layout Standard
3837 555
3838 \end_layout
3839
3840 \end_inset
3841 </cell>
3842 </row>
3843 <row>
3844 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3845 \begin_inset Text
3846
3847 \begin_layout Standard
3848
3849 \series bold
3850 Dal Bosco
3851 \end_layout
3852
3853 \end_inset
3854 </cell>
3855 <cell alignment="center" valignment="top" topline="true" usebox="none">
3856 \begin_inset Text
3857
3858 \begin_layout Standard
3859 Carolina
3860 \end_layout
3861
3862 \end_inset
3863 </cell>
3864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3865 \begin_inset Text
3866
3867 \begin_layout Standard
3868 555
3869 \end_layout
3870
3871 \end_inset
3872 </cell>
3873 </row>
3874 <row>
3875 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3876 \begin_inset Text
3877
3878 \begin_layout Standard
3879
3880 \series bold
3881 Dalpiaz
3882 \end_layout
3883
3884 \end_inset
3885 </cell>
3886 <cell alignment="center" valignment="top" topline="true" usebox="none">
3887 \begin_inset Text
3888
3889 \begin_layout Standard
3890 Annamaria
3891 \end_layout
3892
3893 \end_inset
3894 </cell>
3895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3896 \begin_inset Text
3897
3898 \begin_layout Standard
3899 555
3900 \end_layout
3901
3902 \end_inset
3903 </cell>
3904 </row>
3905 <row>
3906 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3907 \begin_inset Text
3908
3909 \begin_layout Standard
3910
3911 \series bold
3912 Feliciello
3913 \end_layout
3914
3915 \end_inset
3916 </cell>
3917 <cell alignment="center" valignment="top" topline="true" usebox="none">
3918 \begin_inset Text
3919
3920 \begin_layout Standard
3921 Domenico
3922 \end_layout
3923
3924 \end_inset
3925 </cell>
3926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3927 \begin_inset Text
3928
3929 \begin_layout Standard
3930 555
3931 \end_layout
3932
3933 \end_inset
3934 </cell>
3935 </row>
3936 <row>
3937 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3938 \begin_inset Text
3939
3940 \begin_layout Standard
3941
3942 \series bold
3943 Focarelli
3944 \end_layout
3945
3946 \end_inset
3947 </cell>
3948 <cell alignment="center" valignment="top" topline="true" usebox="none">
3949 \begin_inset Text
3950
3951 \begin_layout Standard
3952 Paola
3953 \end_layout
3954
3955 \end_inset
3956 </cell>
3957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3958 \begin_inset Text
3959
3960 \begin_layout Standard
3961 555
3962 \end_layout
3963
3964 \end_inset
3965 </cell>
3966 </row>
3967 <row>
3968 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3969 \begin_inset Text
3970
3971 \begin_layout Standard
3972
3973 \series bold
3974 Galletti
3975 \end_layout
3976
3977 \end_inset
3978 </cell>
3979 <cell alignment="center" valignment="top" topline="true" usebox="none">
3980 \begin_inset Text
3981
3982 \begin_layout Standard
3983 Oreste
3984 \end_layout
3985
3986 \end_inset
3987 </cell>
3988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3989 \begin_inset Text
3990
3991 \begin_layout Standard
3992 555
3993 \end_layout
3994
3995 \end_inset
3996 </cell>
3997 </row>
3998 <row>
3999 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4000 \begin_inset Text
4001
4002 \begin_layout Standard
4003
4004 \series bold
4005 Gasparini
4006 \end_layout
4007
4008 \end_inset
4009 </cell>
4010 <cell alignment="center" valignment="top" topline="true" usebox="none">
4011 \begin_inset Text
4012
4013 \begin_layout Standard
4014 Franca
4015 \end_layout
4016
4017 \end_inset
4018 </cell>
4019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4020 \begin_inset Text
4021
4022 \begin_layout Standard
4023 555
4024 \end_layout
4025
4026 \end_inset
4027 </cell>
4028 </row>
4029 <row>
4030 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4031 \begin_inset Text
4032
4033 \begin_layout Standard
4034
4035 \series bold
4036 Rizzardi
4037 \end_layout
4038
4039 \end_inset
4040 </cell>
4041 <cell alignment="center" valignment="top" topline="true" usebox="none">
4042 \begin_inset Text
4043
4044 \begin_layout Standard
4045 Paola
4046 \end_layout
4047
4048 \end_inset
4049 </cell>
4050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4051 \begin_inset Text
4052
4053 \begin_layout Standard
4054 555
4055 \end_layout
4056
4057 \end_inset
4058 </cell>
4059 </row>
4060 <row>
4061 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4062 \begin_inset Text
4063
4064 \begin_layout Standard
4065
4066 \series bold
4067 Lassini
4068 \end_layout
4069
4070 \end_inset
4071 </cell>
4072 <cell alignment="center" valignment="top" topline="true" usebox="none">
4073 \begin_inset Text
4074
4075 \begin_layout Standard
4076 Giancarlo
4077 \end_layout
4078
4079 \end_inset
4080 </cell>
4081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4082 \begin_inset Text
4083
4084 \begin_layout Standard
4085 555
4086 \end_layout
4087
4088 \end_inset
4089 </cell>
4090 </row>
4091 <row>
4092 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4093 \begin_inset Text
4094
4095 \begin_layout Standard
4096
4097 \series bold
4098 Malfatti
4099 \end_layout
4100
4101 \end_inset
4102 </cell>
4103 <cell alignment="center" valignment="top" topline="true" usebox="none">
4104 \begin_inset Text
4105
4106 \begin_layout Standard
4107 Luciano
4108 \end_layout
4109
4110 \end_inset
4111 </cell>
4112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4113 \begin_inset Text
4114
4115 \begin_layout Standard
4116 555
4117 \end_layout
4118
4119 \end_inset
4120 </cell>
4121 </row>
4122 <row>
4123 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4124 \begin_inset Text
4125
4126 \begin_layout Standard
4127
4128 \series bold
4129 Malfatti
4130 \end_layout
4131
4132 \end_inset
4133 </cell>
4134 <cell alignment="center" valignment="top" topline="true" usebox="none">
4135 \begin_inset Text
4136
4137 \begin_layout Standard
4138 Valeriano
4139 \end_layout
4140
4141 \end_inset
4142 </cell>
4143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4144 \begin_inset Text
4145
4146 \begin_layout Standard
4147 555
4148 \end_layout
4149
4150 \end_inset
4151 </cell>
4152 </row>
4153 <row>
4154 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4155 \begin_inset Text
4156
4157 \begin_layout Standard
4158
4159 \series bold
4160 Meneguzzo
4161 \end_layout
4162
4163 \end_inset
4164 </cell>
4165 <cell alignment="center" valignment="top" topline="true" usebox="none">
4166 \begin_inset Text
4167
4168 \begin_layout Standard
4169 Roberto
4170 \end_layout
4171
4172 \end_inset
4173 </cell>
4174 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4175 \begin_inset Text
4176
4177 \begin_layout Standard
4178 555
4179 \end_layout
4180
4181 \end_inset
4182 </cell>
4183 </row>
4184 <row>
4185 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4186 \begin_inset Text
4187
4188 \begin_layout Standard
4189
4190 \series bold
4191 Mezzadra
4192 \end_layout
4193
4194 \end_inset
4195 </cell>
4196 <cell alignment="center" valignment="top" topline="true" usebox="none">
4197 \begin_inset Text
4198
4199 \begin_layout Standard
4200 Roberto
4201 \end_layout
4202
4203 \end_inset
4204 </cell>
4205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4206 \begin_inset Text
4207
4208 \begin_layout Standard
4209 555
4210 \end_layout
4211
4212 \end_inset
4213 </cell>
4214 </row>
4215 <row>
4216 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4217 \begin_inset Text
4218
4219 \begin_layout Standard
4220
4221 \series bold
4222 Pirpamer
4223 \end_layout
4224
4225 \end_inset
4226 </cell>
4227 <cell alignment="center" valignment="top" topline="true" usebox="none">
4228 \begin_inset Text
4229
4230 \begin_layout Standard
4231 Erich
4232 \end_layout
4233
4234 \end_inset
4235 </cell>
4236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4237 \begin_inset Text
4238
4239 \begin_layout Standard
4240 555
4241 \end_layout
4242
4243 \end_inset
4244 </cell>
4245 </row>
4246 <row>
4247 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4248 \begin_inset Text
4249
4250 \begin_layout Standard
4251
4252 \series bold
4253 Pochiesa
4254 \end_layout
4255
4256 \end_inset
4257 </cell>
4258 <cell alignment="center" valignment="top" topline="true" usebox="none">
4259 \begin_inset Text
4260
4261 \begin_layout Standard
4262 Paolo
4263 \end_layout
4264
4265 \end_inset
4266 </cell>
4267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4268 \begin_inset Text
4269
4270 \begin_layout Standard
4271 555, 222
4272 \end_layout
4273
4274 \end_inset
4275 </cell>
4276 </row>
4277 <row>
4278 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4279 \begin_inset Text
4280
4281 \begin_layout Standard
4282
4283 \series bold
4284 Radina
4285 \end_layout
4286
4287 \end_inset
4288 </cell>
4289 <cell alignment="center" valignment="top" topline="true" usebox="none">
4290 \begin_inset Text
4291
4292 \begin_layout Standard
4293 Claudio
4294 \end_layout
4295
4296 \end_inset
4297 </cell>
4298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4299 \begin_inset Text
4300
4301 \begin_layout Standard
4302 555
4303 \end_layout
4304
4305 \end_inset
4306 </cell>
4307 </row>
4308 <row>
4309 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4310 \begin_inset Text
4311
4312 \begin_layout Standard
4313
4314 \series bold
4315 Stuffer
4316 \end_layout
4317
4318 \end_inset
4319 </cell>
4320 <cell alignment="center" valignment="top" topline="true" usebox="none">
4321 \begin_inset Text
4322
4323 \begin_layout Standard
4324 Oskar
4325 \end_layout
4326
4327 \end_inset
4328 </cell>
4329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4330 \begin_inset Text
4331
4332 \begin_layout Standard
4333 555
4334 \end_layout
4335
4336 \end_inset
4337 </cell>
4338 </row>
4339 <row>
4340 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4341 \begin_inset Text
4342
4343 \begin_layout Standard
4344
4345 \series bold
4346 Tacchelli
4347 \end_layout
4348
4349 \end_inset
4350 </cell>
4351 <cell alignment="center" valignment="top" topline="true" usebox="none">
4352 \begin_inset Text
4353
4354 \begin_layout Standard
4355 Ugo
4356 \end_layout
4357
4358 \end_inset
4359 </cell>
4360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4361 \begin_inset Text
4362
4363 \begin_layout Standard
4364 555
4365 \end_layout
4366
4367 \end_inset
4368 </cell>
4369 </row>
4370 <row>
4371 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4372 \begin_inset Text
4373
4374 \begin_layout Standard
4375
4376 \series bold
4377 Tezzele
4378 \end_layout
4379
4380 \end_inset
4381 </cell>
4382 <cell alignment="center" valignment="top" topline="true" usebox="none">
4383 \begin_inset Text
4384
4385 \begin_layout Standard
4386 Margit
4387 \end_layout
4388
4389 \end_inset
4390 </cell>
4391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4392 \begin_inset Text
4393
4394 \begin_layout Standard
4395 555
4396 \end_layout
4397
4398 \end_inset
4399 </cell>
4400 </row>
4401 <row>
4402 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4403 \begin_inset Text
4404
4405 \begin_layout Standard
4406
4407 \series bold
4408 Unterkalmsteiner
4409 \end_layout
4410
4411 \end_inset
4412 </cell>
4413 <cell alignment="center" valignment="top" topline="true" usebox="none">
4414 \begin_inset Text
4415
4416 \begin_layout Standard
4417 Frieda
4418 \end_layout
4419
4420 \end_inset
4421 </cell>
4422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4423 \begin_inset Text
4424
4425 \begin_layout Standard
4426 555
4427 \end_layout
4428
4429 \end_inset
4430 </cell>
4431 </row>
4432 <row>
4433 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4434 \begin_inset Text
4435
4436 \begin_layout Standard
4437
4438 \series bold
4439 Vieider
4440 \end_layout
4441
4442 \end_inset
4443 </cell>
4444 <cell alignment="center" valignment="top" topline="true" usebox="none">
4445 \begin_inset Text
4446
4447 \begin_layout Standard
4448 Hilde
4449 \end_layout
4450
4451 \end_inset
4452 </cell>
4453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4454 \begin_inset Text
4455
4456 \begin_layout Standard
4457 555
4458 \end_layout
4459
4460 \end_inset
4461 </cell>
4462 </row>
4463 <row>
4464 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4465 \begin_inset Text
4466
4467 \begin_layout Standard
4468
4469 \series bold
4470 Vigna
4471 \end_layout
4472
4473 \end_inset
4474 </cell>
4475 <cell alignment="center" valignment="top" topline="true" usebox="none">
4476 \begin_inset Text
4477
4478 \begin_layout Standard
4479 Jürgen
4480 \end_layout
4481
4482 \end_inset
4483 </cell>
4484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4485 \begin_inset Text
4486
4487 \begin_layout Standard
4488 999
4489 \end_layout
4490
4491 \end_inset
4492 </cell>
4493 </row>
4494 <row>
4495 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4496 \begin_inset Text
4497
4498 \begin_layout Standard
4499
4500 \series bold
4501 Weber
4502 \end_layout
4503
4504 \end_inset
4505 </cell>
4506 <cell alignment="center" valignment="top" topline="true" usebox="none">
4507 \begin_inset Text
4508
4509 \begin_layout Standard
4510 Maurizio
4511 \end_layout
4512
4513 \end_inset
4514 </cell>
4515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4516 \begin_inset Text
4517
4518 \begin_layout Standard
4519 555
4520 \end_layout
4521
4522 \end_inset
4523 </cell>
4524 </row>
4525 <row bottomline="true">
4526 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4527 \begin_inset Text
4528
4529 \begin_layout Standard
4530
4531 \series bold
4532 Winkler
4533 \end_layout
4534
4535 \end_inset
4536 </cell>
4537 <cell alignment="center" valignment="top" topline="true" usebox="none">
4538 \begin_inset Text
4539
4540 \begin_layout Standard
4541 Franz
4542 \end_layout
4543
4544 \end_inset
4545 </cell>
4546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4547 \begin_inset Text
4548
4549 \begin_layout Standard
4550 555
4551 \end_layout
4552
4553 \end_inset
4554 </cell>
4555 </row>
4556 <row bottomline="true" endlastfoot="true">
4557 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4558 \begin_inset Text
4559
4560 \begin_layout Standard
4561 end
4562 \end_layout
4563
4564 \end_inset
4565 </cell>
4566 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4567 \begin_inset Text
4568
4569 \begin_layout Standard
4570
4571 \end_layout
4572
4573 \end_inset
4574 </cell>
4575 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4576 \begin_inset Text
4577
4578 \begin_layout Standard
4579
4580 \end_layout
4581
4582 \end_inset
4583 </cell>
4584 </row>
4585 </lyxtabular>
4586
4587 \end_inset
4588
4589
4590 \begin_inset ERT
4591 status collapsed
4592
4593 \begin_layout Standard
4594
4595
4596 \backslash
4597 addtocounter{table}{-1}
4598 \end_layout
4599
4600 \end_inset
4601
4602
4603 \begin_inset Note Note
4604 status collapsed
4605
4606 \begin_layout Standard
4607 See greyed-out note in section 2.6.2 for an explanation of this command.
4608 \end_layout
4609
4610 \end_inset
4611
4612
4613 \end_layout
4614
4615 \begin_layout Subsection
4616 Footnotes in Longtables
4617 \begin_inset LatexCommand label
4618 name "sub:Footnotes-in-Longtables"
4619
4620 \end_inset
4621
4622
4623 \begin_inset LatexCommand index
4624 name "Longtables ! Footnotes"
4625
4626 \end_inset
4627
4628
4629 \end_layout
4630
4631 \begin_layout Standard
4632 Footnotes can be inserted to every longtable cell.
4633  They appear at the bottom of the page where the table cell with the footnote
4634  appears.
4635  Table\InsetSpace ~
4636
4637 \begin_inset LatexCommand ref
4638 reference "tab:DiffCaptions"
4639
4640 \end_inset
4641
4642  has for example a footnote.
4643 \end_layout
4644
4645 \begin_layout Subsection
4646 Longtable Captions
4647 \begin_inset LatexCommand index
4648 name "Longtables ! Captions"
4649
4650 \end_inset
4651
4652
4653 \end_layout
4654
4655 \begin_layout Standard
4656 A longtable cannot be put into a table float because floats can only be
4657  on one page but the caption environment of floats can also be used for
4658  longtables.
4659 \end_layout
4660
4661 \begin_layout Standard
4662 As LyX does not yet fully support captions in longtables, a hack is needed
4663  to create them:
4664 \end_layout
4665
4666 \begin_layout Enumerate
4667 Create a longtable
4668 \family sans
4669 .
4670 \end_layout
4671
4672 \begin_layout Enumerate
4673 Mark the first row and disable its upper line.
4674 \end_layout
4675
4676 \begin_layout Enumerate
4677 Insert a caption via the menu 
4678 \family sans
4679 Insert\SpecialChar \menuseparator
4680 Caption
4681 \family default
4682  into the first table cell.
4683 \newline
4684 You can also add a short title for the caption.
4685 \end_layout
4686
4687 \begin_layout Enumerate
4688 Insert a 
4689 \begin_inset Quotes eld
4690 \end_inset
4691
4692
4693 \series bold
4694
4695 \backslash
4696
4697 \backslash
4698 %
4699 \series default
4700
4701 \begin_inset Quotes erd
4702 \end_inset
4703
4704  as ERT behind the caption.
4705 \end_layout
4706
4707 \begin_layout Standard
4708 A short title that will appear in the LOT instead of the full title.
4709  The 
4710 \series bold
4711
4712 \backslash
4713
4714 \backslash
4715 %
4716 \series default
4717  behind the caption omits the vertical lines between the following cells
4718  in the row.
4719  The first table row is now only a dummy row for the caption, the actual
4720  table starts with the second row.
4721 \end_layout
4722
4723 \begin_layout Standard
4724 Here is a short longtable to see how it works:
4725 \end_layout
4726
4727 \begin_layout Standard
4728 \begin_inset Tabular
4729 <lyxtabular version="3" rows="6" columns="5">
4730 <features islongtable="true">
4731 <column alignment="center" valignment="top" leftline="true" width="0">
4732 <column alignment="center" valignment="top" leftline="true" width="0">
4733 <column alignment="center" valignment="top" leftline="true" width="0">
4734 <column alignment="center" valignment="top" leftline="true" width="0">
4735 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4736 <row>
4737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4738 \begin_inset Text
4739
4740 \begin_layout Standard
4741 \begin_inset Caption
4742
4743 \begin_layout Standard
4744 Longtable with caption
4745 \begin_inset OptArg
4746 status open
4747
4748 \begin_layout Standard
4749 Longtable
4750 \end_layout
4751
4752 \end_inset
4753
4754
4755 \end_layout
4756
4757 \end_inset
4758
4759
4760 \begin_inset ERT
4761 status collapsed
4762
4763 \begin_layout Standard
4764
4765
4766 \backslash
4767
4768 \backslash
4769 %
4770 \end_layout
4771
4772 \end_inset
4773
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" usebox="none">
4789 \begin_inset Text
4790
4791 \begin_layout Standard
4792
4793 \end_layout
4794
4795 \end_inset
4796 </cell>
4797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4798 \begin_inset Text
4799
4800 \begin_layout Standard
4801
4802 \end_layout
4803
4804 \end_inset
4805 </cell>
4806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4807 \begin_inset Text
4808
4809 \begin_layout Standard
4810
4811 \end_layout
4812
4813 \end_inset
4814 </cell>
4815 </row>
4816 <row topline="true">
4817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4818 \begin_inset Text
4819
4820 \begin_layout Standard
4821 1
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 2
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 3
4840 \end_layout
4841
4842 \end_inset
4843 </cell>
4844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4845 \begin_inset Text
4846
4847 \begin_layout Standard
4848 4
4849 \end_layout
4850
4851 \end_inset
4852 </cell>
4853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4854 \begin_inset Text
4855
4856 \begin_layout Standard
4857 5
4858 \end_layout
4859
4860 \end_inset
4861 </cell>
4862 </row>
4863 <row topline="true">
4864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4865 \begin_inset Text
4866
4867 \begin_layout Standard
4868 asd
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" usebox="none">
4883 \begin_inset Text
4884
4885 \begin_layout Standard
4886 s
4887 \end_layout
4888
4889 \end_inset
4890 </cell>
4891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4892 \begin_inset Text
4893
4894 \begin_layout Standard
4895 s
4896 \end_layout
4897
4898 \end_inset
4899 </cell>
4900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4901 \begin_inset Text
4902
4903 \begin_layout Standard
4904 asd
4905 \end_layout
4906
4907 \end_inset
4908 </cell>
4909 </row>
4910 <row topline="true">
4911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4912 \begin_inset Text
4913
4914 \begin_layout Standard
4915 asd
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" usebox="none">
4930 \begin_inset Text
4931
4932 \begin_layout Standard
4933 s
4934 \end_layout
4935
4936 \end_inset
4937 </cell>
4938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4939 \begin_inset Text
4940
4941 \begin_layout Standard
4942 s
4943 \end_layout
4944
4945 \end_inset
4946 </cell>
4947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4948 \begin_inset Text
4949
4950 \begin_layout Standard
4951 asd
4952 \end_layout
4953
4954 \end_inset
4955 </cell>
4956 </row>
4957 <row topline="true">
4958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Standard
4962 asd
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" usebox="none">
4977 \begin_inset Text
4978
4979 \begin_layout Standard
4980 s
4981 \end_layout
4982
4983 \end_inset
4984 </cell>
4985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4986 \begin_inset Text
4987
4988 \begin_layout Standard
4989 s
4990 \end_layout
4991
4992 \end_inset
4993 </cell>
4994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4995 \begin_inset Text
4996
4997 \begin_layout Standard
4998 asd
4999 \end_layout
5000
5001 \end_inset
5002 </cell>
5003 </row>
5004 <row topline="true" bottomline="true">
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" usebox="none">
5024 \begin_inset Text
5025
5026 \begin_layout Standard
5027 asd
5028 \end_layout
5029
5030 \end_inset
5031 </cell>
5032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5033 \begin_inset Text
5034
5035 \begin_layout Standard
5036 asd
5037 \end_layout
5038
5039 \end_inset
5040 </cell>
5041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5042 \begin_inset Text
5043
5044 \begin_layout Standard
5045 asd
5046 \end_layout
5047
5048 \end_inset
5049 </cell>
5050 </row>
5051 </lyxtabular>
5052
5053 \end_inset
5054
5055
5056 \end_layout
5057
5058 \begin_layout Standard
5059 \begin_inset VSpace medskip
5060 \end_inset
5061
5062
5063 \begin_inset Note Greyedout
5064 status open
5065
5066 \begin_layout Standard
5067
5068 \series bold
5069 Note:
5070 \series default
5071  The table number is increased for every longtable, also if you didn't set
5072  a caption for it.
5073  For this reason you could have the case that e.g.
5074  Table\InsetSpace ~
5075 2.4 follows on Table\InsetSpace ~
5076 2.1 in the list of tables if there are two longtables
5077  without captions.
5078  To avoid this you can add the following command in ERT behind every longtable
5079  without a caption:
5080 \end_layout
5081
5082 \begin_layout Standard
5083
5084 \series bold
5085
5086 \backslash
5087 addtocounter{table}{-1}
5088 \end_layout
5089
5090 \end_inset
5091
5092
5093 \end_layout
5094
5095 \begin_layout Standard
5096 \begin_inset Note Greyedout
5097 status open
5098
5099 \begin_layout Standard
5100
5101 \series bold
5102 Note:
5103 \series default
5104  If you are using the LaTeX-package 
5105 \series bold
5106 hyperref
5107 \series default
5108
5109 \begin_inset LatexCommand index
5110 name "LaTeX-packages ! hyperref"
5111
5112 \end_inset
5113
5114  to link cross-references, the link to a longtable caption will always point
5115  to the beginning of the document.
5116 \end_layout
5117
5118 \end_inset
5119
5120
5121 \end_layout
5122
5123 \begin_layout Subsubsection
5124 References to Longtables
5125 \begin_inset LatexCommand index
5126 name "Longtables ! References"
5127
5128 \end_inset
5129
5130
5131 \end_layout
5132
5133 \begin_layout Standard
5134 \begin_inset Tabular
5135 <lyxtabular version="3" rows="6" columns="5">
5136 <features islongtable="true">
5137 <column alignment="center" valignment="top" leftline="true" width="0">
5138 <column alignment="center" valignment="top" leftline="true" width="0">
5139 <column alignment="center" valignment="top" leftline="true" width="0">
5140 <column alignment="center" valignment="top" leftline="true" width="0">
5141 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5142 <row>
5143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5144 \begin_inset Text
5145
5146 \begin_layout Standard
5147 \begin_inset Caption
5148
5149 \begin_layout Standard
5150 Referenced longtable
5151 \begin_inset LatexCommand label
5152 name "tab:RefExample"
5153
5154 \end_inset
5155
5156
5157 \end_layout
5158
5159 \end_inset
5160
5161
5162 \begin_inset ERT
5163 status collapsed
5164
5165 \begin_layout Standard
5166
5167
5168 \backslash
5169
5170 \backslash
5171 %
5172 \end_layout
5173
5174 \end_inset
5175
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" usebox="none">
5191 \begin_inset Text
5192
5193 \begin_layout Standard
5194
5195 \end_layout
5196
5197 \end_inset
5198 </cell>
5199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5200 \begin_inset Text
5201
5202 \begin_layout Standard
5203
5204 \end_layout
5205
5206 \end_inset
5207 </cell>
5208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5209 \begin_inset Text
5210
5211 \begin_layout Standard
5212
5213 \end_layout
5214
5215 \end_inset
5216 </cell>
5217 </row>
5218 <row topline="true">
5219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5220 \begin_inset Text
5221
5222 \begin_layout Standard
5223 1
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 2
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 3
5242 \end_layout
5243
5244 \end_inset
5245 </cell>
5246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5247 \begin_inset Text
5248
5249 \begin_layout Standard
5250 4
5251 \end_layout
5252
5253 \end_inset
5254 </cell>
5255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5256 \begin_inset Text
5257
5258 \begin_layout Standard
5259 5
5260 \end_layout
5261
5262 \end_inset
5263 </cell>
5264 </row>
5265 <row topline="true">
5266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5267 \begin_inset Text
5268
5269 \begin_layout Standard
5270 asd
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" usebox="none">
5285 \begin_inset Text
5286
5287 \begin_layout Standard
5288 s
5289 \end_layout
5290
5291 \end_inset
5292 </cell>
5293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5294 \begin_inset Text
5295
5296 \begin_layout Standard
5297 s
5298 \end_layout
5299
5300 \end_inset
5301 </cell>
5302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5303 \begin_inset Text
5304
5305 \begin_layout Standard
5306 asd
5307 \end_layout
5308
5309 \end_inset
5310 </cell>
5311 </row>
5312 <row topline="true">
5313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5314 \begin_inset Text
5315
5316 \begin_layout Standard
5317 asd
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" usebox="none">
5332 \begin_inset Text
5333
5334 \begin_layout Standard
5335 s
5336 \end_layout
5337
5338 \end_inset
5339 </cell>
5340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5341 \begin_inset Text
5342
5343 \begin_layout Standard
5344 s
5345 \end_layout
5346
5347 \end_inset
5348 </cell>
5349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5350 \begin_inset Text
5351
5352 \begin_layout Standard
5353 asd
5354 \end_layout
5355
5356 \end_inset
5357 </cell>
5358 </row>
5359 <row topline="true">
5360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5361 \begin_inset Text
5362
5363 \begin_layout Standard
5364 asd
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" usebox="none">
5379 \begin_inset Text
5380
5381 \begin_layout Standard
5382 s
5383 \end_layout
5384
5385 \end_inset
5386 </cell>
5387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5388 \begin_inset Text
5389
5390 \begin_layout Standard
5391 s
5392 \end_layout
5393
5394 \end_inset
5395 </cell>
5396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5397 \begin_inset Text
5398
5399 \begin_layout Standard
5400 asd
5401 \end_layout
5402
5403 \end_inset
5404 </cell>
5405 </row>
5406 <row topline="true" bottomline="true">
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 sad
5421 \end_layout
5422
5423 \end_inset
5424 </cell>
5425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5426 \begin_inset Text
5427
5428 \begin_layout Standard
5429 asd
5430 \end_layout
5431
5432 \end_inset
5433 </cell>
5434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5435 \begin_inset Text
5436
5437 \begin_layout Standard
5438 asd
5439 \end_layout
5440
5441 \end_inset
5442 </cell>
5443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5444 \begin_inset Text
5445
5446 \begin_layout Standard
5447 asd
5448 \end_layout
5449
5450 \end_inset
5451 </cell>
5452 </row>
5453 </lyxtabular>
5454
5455 \end_inset
5456
5457
5458 \end_layout
5459
5460 \begin_layout Standard
5461 To reference a longtable, insert a label into the caption.
5462  Note that you have to add the label prefix 
5463 \begin_inset Quotes eld
5464 \end_inset
5465
5466
5467 \emph on
5468 tab:
5469 \emph default
5470
5471 \begin_inset Quotes eld
5472 \end_inset
5473
5474  manually in the label field.
5475 \end_layout
5476
5477 \begin_layout Standard
5478 This is a reference to Table\InsetSpace ~
5479
5480 \begin_inset LatexCommand ref
5481 reference "tab:RefExample"
5482
5483 \end_inset
5484
5485 .
5486 \end_layout
5487
5488 \begin_layout Standard
5489 The caption layout can be set together with all other caption of your document
5490  using the LaTeX-package 
5491 \series bold
5492 caption
5493 \series default
5494
5495 \begin_inset LatexCommand index
5496 name "LaTeX-packages ! caption"
5497
5498 \end_inset
5499
5500 , see section\InsetSpace ~
5501
5502 \begin_inset LatexCommand ref
5503 reference "sec:Caption-Formatting"
5504
5505 \end_inset
5506
5507 .
5508 \end_layout
5509
5510 \begin_layout Subsubsection
5511 Caption Width
5512 \begin_inset LatexCommand index
5513 name "Longtables ! Caption Width"
5514
5515 \end_inset
5516
5517
5518 \end_layout
5519
5520 \begin_layout Standard
5521 The maximal width of of caption lines is defined by the length 
5522 \series bold
5523
5524 \backslash
5525 LTcapwidth
5526 \series default
5527 .
5528  Its default value is 4\InsetSpace \thinspace{}
5529 in.
5530  To change it add the following command to your document preamble or as
5531  ERT into your document before the longtable that should be affected
5532 \end_layout
5533
5534 \begin_layout Standard
5535
5536 \series bold
5537
5538 \backslash
5539 setlength{
5540 \backslash
5541 LTcapwidth}{width}
5542 \end_layout
5543
5544 \begin_layout Standard
5545 where the width could have one of the units listed in appendix\InsetSpace ~
5546
5547 \begin_inset LatexCommand ref
5548 reference "cha:Units-available-in"
5549
5550 \end_inset
5551
5552 .
5553 \end_layout
5554
5555 \begin_layout Standard
5556 The following tables show the difference:
5557 \end_layout
5558
5559 \begin_layout Standard
5560 \begin_inset Tabular
5561 <lyxtabular version="3" rows="6" columns="5">
5562 <features islongtable="true">
5563 <column alignment="center" valignment="top" leftline="true" width="0">
5564 <column alignment="center" valignment="top" leftline="true" width="0">
5565 <column alignment="center" valignment="top" leftline="true" width="0">
5566 <column alignment="center" valignment="top" leftline="true" width="0">
5567 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5568 <row>
5569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5570 \begin_inset Text
5571
5572 \begin_layout Standard
5573 \begin_inset Caption
5574
5575 \begin_layout Standard
5576 long full title with default width long full title with default width long
5577  full title with default width
5578 \begin_inset OptArg
5579 status collapsed
5580
5581 \begin_layout Standard
5582 caption with default width
5583 \end_layout
5584
5585 \end_inset
5586
5587
5588 \end_layout
5589
5590 \end_inset
5591
5592
5593 \begin_inset ERT
5594 status collapsed
5595
5596 \begin_layout Standard
5597
5598
5599 \backslash
5600
5601 \backslash
5602 %
5603 \end_layout
5604
5605 \end_inset
5606
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" usebox="none">
5622 \begin_inset Text
5623
5624 \begin_layout Standard
5625
5626 \end_layout
5627
5628 \end_inset
5629 </cell>
5630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5631 \begin_inset Text
5632
5633 \begin_layout Standard
5634
5635 \end_layout
5636
5637 \end_inset
5638 </cell>
5639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5640 \begin_inset Text
5641
5642 \begin_layout Standard
5643
5644 \end_layout
5645
5646 \end_inset
5647 </cell>
5648 </row>
5649 <row topline="true">
5650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5651 \begin_inset Text
5652
5653 \begin_layout Standard
5654 1
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 2
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 3
5673 \end_layout
5674
5675 \end_inset
5676 </cell>
5677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5678 \begin_inset Text
5679
5680 \begin_layout Standard
5681 4
5682 \end_layout
5683
5684 \end_inset
5685 </cell>
5686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5687 \begin_inset Text
5688
5689 \begin_layout Standard
5690 5
5691 \end_layout
5692
5693 \end_inset
5694 </cell>
5695 </row>
5696 <row topline="true">
5697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5698 \begin_inset Text
5699
5700 \begin_layout Standard
5701 asd
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" usebox="none">
5716 \begin_inset Text
5717
5718 \begin_layout Standard
5719 s
5720 \end_layout
5721
5722 \end_inset
5723 </cell>
5724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5725 \begin_inset Text
5726
5727 \begin_layout Standard
5728 s
5729 \end_layout
5730
5731 \end_inset
5732 </cell>
5733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5734 \begin_inset Text
5735
5736 \begin_layout Standard
5737 asd
5738 \end_layout
5739
5740 \end_inset
5741 </cell>
5742 </row>
5743 <row topline="true">
5744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5745 \begin_inset Text
5746
5747 \begin_layout Standard
5748 asd
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" usebox="none">
5763 \begin_inset Text
5764
5765 \begin_layout Standard
5766 s
5767 \end_layout
5768
5769 \end_inset
5770 </cell>
5771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5772 \begin_inset Text
5773
5774 \begin_layout Standard
5775 s
5776 \end_layout
5777
5778 \end_inset
5779 </cell>
5780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5781 \begin_inset Text
5782
5783 \begin_layout Standard
5784 asd
5785 \end_layout
5786
5787 \end_inset
5788 </cell>
5789 </row>
5790 <row topline="true">
5791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5792 \begin_inset Text
5793
5794 \begin_layout Standard
5795 asd
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" usebox="none">
5810 \begin_inset Text
5811
5812 \begin_layout Standard
5813 s
5814 \end_layout
5815
5816 \end_inset
5817 </cell>
5818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5819 \begin_inset Text
5820
5821 \begin_layout Standard
5822 s
5823 \end_layout
5824
5825 \end_inset
5826 </cell>
5827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5828 \begin_inset Text
5829
5830 \begin_layout Standard
5831 asd
5832 \end_layout
5833
5834 \end_inset
5835 </cell>
5836 </row>
5837 <row topline="true" bottomline="true">
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 sad
5852 \end_layout
5853
5854 \end_inset
5855 </cell>
5856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5857 \begin_inset Text
5858
5859 \begin_layout Standard
5860 asd
5861 \end_layout
5862
5863 \end_inset
5864 </cell>
5865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5866 \begin_inset Text
5867
5868 \begin_layout Standard
5869 asd
5870 \end_layout
5871
5872 \end_inset
5873 </cell>
5874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5875 \begin_inset Text
5876
5877 \begin_layout Standard
5878 asd
5879 \end_layout
5880
5881 \end_inset
5882 </cell>
5883 </row>
5884 </lyxtabular>
5885
5886 \end_inset
5887
5888
5889 \end_layout
5890
5891 \begin_layout Standard
5892 \begin_inset ERT
5893 status collapsed
5894
5895 \begin_layout Standard
5896
5897
5898 \backslash
5899 setlength{
5900 \backslash
5901 LTcapwidth}{5cm}
5902 \end_layout
5903
5904 \end_inset
5905
5906
5907 \begin_inset Tabular
5908 <lyxtabular version="3" rows="6" columns="5">
5909 <features islongtable="true">
5910 <column alignment="center" valignment="top" leftline="true" width="0">
5911 <column alignment="center" valignment="top" leftline="true" width="0">
5912 <column alignment="center" valignment="top" leftline="true" width="0">
5913 <column alignment="center" valignment="top" leftline="true" width="0">
5914 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5915 <row>
5916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5917 \begin_inset Text
5918
5919 \begin_layout Standard
5920 \begin_inset Caption
5921
5922 \begin_layout Standard
5923 long full title with width set to 5\InsetSpace \thinspace{}
5924 cm long full title with width set to
5925  5\InsetSpace \thinspace{}
5926 cm long full title with width set to 5\InsetSpace \thinspace{}
5927 cm
5928 \begin_inset OptArg
5929 status collapsed
5930
5931 \begin_layout Standard
5932 caption with width\InsetSpace \thinspace{}
5933 =\InsetSpace \thinspace{}
5934 5\InsetSpace \thinspace{}
5935 cm
5936 \end_layout
5937
5938 \end_inset
5939
5940
5941 \end_layout
5942
5943 \end_inset
5944
5945
5946 \begin_inset ERT
5947 status collapsed
5948
5949 \begin_layout Standard
5950
5951
5952 \backslash
5953
5954 \backslash
5955 %
5956 \end_layout
5957
5958 \end_inset
5959
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" usebox="none">
5975 \begin_inset Text
5976
5977 \begin_layout Standard
5978
5979 \end_layout
5980
5981 \end_inset
5982 </cell>
5983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5984 \begin_inset Text
5985
5986 \begin_layout Standard
5987
5988 \end_layout
5989
5990 \end_inset
5991 </cell>
5992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5993 \begin_inset Text
5994
5995 \begin_layout Standard
5996
5997 \end_layout
5998
5999 \end_inset
6000 </cell>
6001 </row>
6002 <row topline="true">
6003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6004 \begin_inset Text
6005
6006 \begin_layout Standard
6007 1
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 2
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 3
6026 \end_layout
6027
6028 \end_inset
6029 </cell>
6030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6031 \begin_inset Text
6032
6033 \begin_layout Standard
6034 4
6035 \end_layout
6036
6037 \end_inset
6038 </cell>
6039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6040 \begin_inset Text
6041
6042 \begin_layout Standard
6043 5
6044 \end_layout
6045
6046 \end_inset
6047 </cell>
6048 </row>
6049 <row topline="true">
6050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6051 \begin_inset Text
6052
6053 \begin_layout Standard
6054 asd
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" usebox="none">
6069 \begin_inset Text
6070
6071 \begin_layout Standard
6072 s
6073 \end_layout
6074
6075 \end_inset
6076 </cell>
6077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6078 \begin_inset Text
6079
6080 \begin_layout Standard
6081 s
6082 \end_layout
6083
6084 \end_inset
6085 </cell>
6086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6087 \begin_inset Text
6088
6089 \begin_layout Standard
6090 asd
6091 \end_layout
6092
6093 \end_inset
6094 </cell>
6095 </row>
6096 <row topline="true">
6097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6098 \begin_inset Text
6099
6100 \begin_layout Standard
6101 asd
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" usebox="none">
6116 \begin_inset Text
6117
6118 \begin_layout Standard
6119 s
6120 \end_layout
6121
6122 \end_inset
6123 </cell>
6124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6125 \begin_inset Text
6126
6127 \begin_layout Standard
6128 s
6129 \end_layout
6130
6131 \end_inset
6132 </cell>
6133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6134 \begin_inset Text
6135
6136 \begin_layout Standard
6137 asd
6138 \end_layout
6139
6140 \end_inset
6141 </cell>
6142 </row>
6143 <row topline="true">
6144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6145 \begin_inset Text
6146
6147 \begin_layout Standard
6148 asd
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" usebox="none">
6163 \begin_inset Text
6164
6165 \begin_layout Standard
6166 s
6167 \end_layout
6168
6169 \end_inset
6170 </cell>
6171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6172 \begin_inset Text
6173
6174 \begin_layout Standard
6175 s
6176 \end_layout
6177
6178 \end_inset
6179 </cell>
6180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6181 \begin_inset Text
6182
6183 \begin_layout Standard
6184 asd
6185 \end_layout
6186
6187 \end_inset
6188 </cell>
6189 </row>
6190 <row topline="true" bottomline="true">
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 sad
6205 \end_layout
6206
6207 \end_inset
6208 </cell>
6209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6210 \begin_inset Text
6211
6212 \begin_layout Standard
6213 asd
6214 \end_layout
6215
6216 \end_inset
6217 </cell>
6218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6219 \begin_inset Text
6220
6221 \begin_layout Standard
6222 asd
6223 \end_layout
6224
6225 \end_inset
6226 </cell>
6227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6228 \begin_inset Text
6229
6230 \begin_layout Standard
6231 asd
6232 \end_layout
6233
6234 \end_inset
6235 </cell>
6236 </row>
6237 </lyxtabular>
6238
6239 \end_inset
6240
6241
6242 \end_layout
6243
6244 \begin_layout Standard
6245 \begin_inset ERT
6246 status collapsed
6247
6248 \begin_layout Standard
6249
6250
6251 \backslash
6252 setlength{
6253 \backslash
6254 LTcapwidth}{4in}
6255 \end_layout
6256
6257 \end_inset
6258
6259
6260 \end_layout
6261
6262 \begin_layout Standard
6263 \begin_inset Note Greyedout
6264 status open
6265
6266 \begin_layout Standard
6267
6268 \series bold
6269 Note:
6270 \series default
6271  When the LaTeX-package 
6272 \series bold
6273 caption
6274 \series default
6275
6276 \begin_inset LatexCommand index
6277 name "LaTeX-packages ! caption"
6278
6279 \end_inset
6280
6281  is used, as in this document, the full page width is used for the caption
6282  when you use the default value of 4\InsetSpace \thinspace{}
6283 in for 
6284 \series bold
6285
6286 \backslash
6287 LTcapwidth
6288 \series default
6289 .
6290  To get in this case exactly a 4\InsetSpace \thinspace{}
6291 in wide caption, you can either use a value
6292  slightly different from 4.0\InsetSpace \thinspace{}
6293 in, e.g.
6294  3.99\InsetSpace \thinspace{}
6295 in, or the LaTeX-command 
6296 \series bold
6297
6298 \backslash
6299 captionsetup{width=value}
6300 \series default
6301  that is provided by the 
6302 \series bold
6303 caption
6304 \series default
6305 -package.
6306 \end_layout
6307
6308 \end_inset
6309
6310
6311 \end_layout
6312
6313 \begin_layout Subsubsection
6314 Different Captions for Table Pages
6315 \begin_inset LatexCommand index
6316 name "Longtables ! Different Captions for Pages"
6317
6318 \end_inset
6319
6320
6321 \end_layout
6322
6323 \begin_layout Standard
6324 When the other captions should differ from the one of the first table page,
6325  insert a caption with a non-empty short title in a dummy caption row marked
6326  as first header.
6327  The caption used for the other table pages is inserted as caption without
6328  a short title in a dummy caption row that is marked as main header.
6329  When this caption shouldn't include the table number, use the command
6330 \end_layout
6331
6332 \begin_layout Standard
6333
6334 \series bold
6335
6336 \backslash
6337 caption*{caption text}
6338 \end_layout
6339
6340 \begin_layout Standard
6341 instead of LyX's caption box.
6342  The label to reference the table is inserted into the caption of the first
6343  header.
6344  Table\InsetSpace ~
6345
6346 \begin_inset LatexCommand ref
6347 reference "tab:DiffCaptions"
6348
6349 \end_inset
6350
6351  is an example for a longtable with different heading where the second caption
6352  doesn't include the table number.
6353 \end_layout
6354
6355 \begin_layout Standard
6356 \align center
6357 \begin_inset Tabular
6358 <lyxtabular version="3" rows="60" columns="3">
6359 <features islongtable="true">
6360 <column alignment="left" valignment="top" leftline="true" width="0cm">
6361 <column alignment="left" valignment="top" rightline="true" width="0pt">
6362 <column alignment="right" valignment="top" rightline="true" width="0pt">
6363 <row endfirsthead="true">
6364 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6365 \begin_inset Text
6366
6367 \begin_layout Standard
6368 \begin_inset Caption
6369
6370 \begin_layout Standard
6371 Example Phone List
6372 \begin_inset LatexCommand label
6373 name "tab:DiffCaptions"
6374
6375 \end_inset
6376
6377
6378 \begin_inset OptArg
6379 status collapsed
6380
6381 \begin_layout Standard
6382 Example Phone List
6383 \end_layout
6384
6385 \end_inset
6386
6387
6388 \end_layout
6389
6390 \end_inset
6391
6392
6393 \begin_inset ERT
6394 status collapsed
6395
6396 \begin_layout Standard
6397
6398
6399 \backslash
6400
6401 \backslash
6402 %
6403 \end_layout
6404
6405 \end_inset
6406
6407
6408 \end_layout
6409
6410 \end_inset
6411 </cell>
6412 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6413 \begin_inset Text
6414
6415 \begin_layout Standard
6416
6417 \end_layout
6418
6419 \end_inset
6420 </cell>
6421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6422 \begin_inset Text
6423
6424 \begin_layout Standard
6425
6426 \end_layout
6427
6428 \end_inset
6429 </cell>
6430 </row>
6431 <row topline="true" bottomline="true" endfirsthead="true">
6432 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6433 \begin_inset Text
6434
6435 \begin_layout Standard
6436
6437 \series bold
6438 Example Phone List (ignore the names)
6439 \end_layout
6440
6441 \end_inset
6442 </cell>
6443 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6444 \begin_inset Text
6445
6446 \begin_layout Standard
6447
6448 \end_layout
6449
6450 \end_inset
6451 </cell>
6452 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6453 \begin_inset Text
6454
6455 \begin_layout Standard
6456
6457 \end_layout
6458
6459 \end_inset
6460 </cell>
6461 </row>
6462 <row topline="true" bottomline="true" endfirsthead="true">
6463 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6464 \begin_inset Text
6465
6466 \begin_layout Standard
6467
6468 \series bold
6469 NAME
6470 \end_layout
6471
6472 \end_inset
6473 </cell>
6474 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6475 \begin_inset Text
6476
6477 \begin_layout Standard
6478
6479 \end_layout
6480
6481 \end_inset
6482 </cell>
6483 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6484 \begin_inset Text
6485
6486 \begin_layout Standard
6487
6488 \series bold
6489 TEL.
6490 \end_layout
6491
6492 \end_inset
6493 </cell>
6494 </row>
6495 <row bottomline="true" endhead="true">
6496 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6497 \begin_inset Text
6498
6499 \begin_layout Standard
6500 \begin_inset ERT
6501 status collapsed
6502
6503 \begin_layout Standard
6504
6505
6506 \backslash
6507 caption*{Continued Example Phone List}
6508 \backslash
6509
6510 \backslash
6511 %
6512 \end_layout
6513
6514 \end_inset
6515
6516
6517 \end_layout
6518
6519 \end_inset
6520 </cell>
6521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6522 \begin_inset Text
6523
6524 \begin_layout Standard
6525
6526 \end_layout
6527
6528 \end_inset
6529 </cell>
6530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6531 \begin_inset Text
6532
6533 \begin_layout Standard
6534
6535 \end_layout
6536
6537 \end_inset
6538 </cell>
6539 </row>
6540 <row topline="true" bottomline="true" endhead="true">
6541 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6542 \begin_inset Text
6543
6544 \begin_layout Standard
6545
6546 \series bold
6547 Example Phone List
6548 \end_layout
6549
6550 \end_inset
6551 </cell>
6552 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6553 \begin_inset Text
6554
6555 \begin_layout Standard
6556
6557 \end_layout
6558
6559 \end_inset
6560 </cell>
6561 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6562 \begin_inset Text
6563
6564 \begin_layout Standard
6565
6566 \end_layout
6567
6568 \end_inset
6569 </cell>
6570 </row>
6571 <row topline="true" bottomline="true" endhead="true">
6572 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6573 \begin_inset Text
6574
6575 \begin_layout Standard
6576
6577 \series bold
6578 NAME
6579 \end_layout
6580
6581 \end_inset
6582 </cell>
6583 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6584 \begin_inset Text
6585
6586 \begin_layout Standard
6587
6588 \end_layout
6589
6590 \end_inset
6591 </cell>
6592 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6593 \begin_inset Text
6594
6595 \begin_layout Standard
6596
6597 \series bold
6598 TEL.
6599 \end_layout
6600
6601 \end_inset
6602 </cell>
6603 </row>
6604 <row topline="true" bottomline="true" endfoot="true">
6605 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6606 \begin_inset Text
6607
6608 \begin_layout Standard
6609 continued on next page
6610 \end_layout
6611
6612 \end_inset
6613 </cell>
6614 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6615 \begin_inset Text
6616
6617 \begin_layout Standard
6618
6619 \end_layout
6620
6621 \end_inset
6622 </cell>
6623 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6624 \begin_inset Text
6625
6626 \begin_layout Standard
6627
6628 \end_layout
6629
6630 \end_inset
6631 </cell>
6632 </row>
6633 <row>
6634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6635 \begin_inset Text
6636
6637 \begin_layout Standard
6638
6639 \series bold
6640 Annovi
6641 \end_layout
6642
6643 \end_inset
6644 </cell>
6645 <cell alignment="center" valignment="top" topline="true" usebox="none">
6646 \begin_inset Text
6647
6648 \begin_layout Standard
6649 Silvia
6650 \end_layout
6651
6652 \end_inset
6653 </cell>
6654 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6655 \begin_inset Text
6656
6657 \begin_layout Standard
6658 111
6659 \end_layout
6660
6661 \end_inset
6662 </cell>
6663 </row>
6664 <row>
6665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6666 \begin_inset Text
6667
6668 \begin_layout Standard
6669
6670 \series bold
6671 Bertoli
6672 \end_layout
6673
6674 \end_inset
6675 </cell>
6676 <cell alignment="center" valignment="top" topline="true" usebox="none">
6677 \begin_inset Text
6678
6679 \begin_layout Standard
6680 Stefano
6681 \end_layout
6682
6683 \end_inset
6684 </cell>
6685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6686 \begin_inset Text
6687
6688 \begin_layout Standard
6689 111
6690 \end_layout
6691
6692 \end_inset
6693 </cell>
6694 </row>
6695 <row>
6696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6697 \begin_inset Text
6698
6699 \begin_layout Standard
6700
6701 \series bold
6702 Bozzi
6703 \end_layout
6704
6705 \end_inset
6706 </cell>
6707 <cell alignment="center" valignment="top" topline="true" usebox="none">
6708 \begin_inset Text
6709
6710 \begin_layout Standard
6711 Walter
6712 \end_layout
6713
6714 \end_inset
6715 </cell>
6716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6717 \begin_inset Text
6718
6719 \begin_layout Standard
6720 111
6721 \end_layout
6722
6723 \end_inset
6724 </cell>
6725 </row>
6726 <row>
6727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6728 \begin_inset Text
6729
6730 \begin_layout Standard
6731
6732 \series bold
6733 Cachia
6734 \end_layout
6735
6736 \end_inset
6737 </cell>
6738 <cell alignment="center" valignment="top" topline="true" usebox="none">
6739 \begin_inset Text
6740
6741 \begin_layout Standard
6742 Maria
6743 \end_layout
6744
6745 \end_inset
6746 </cell>
6747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6748 \begin_inset Text
6749
6750 \begin_layout Standard
6751 111
6752 \end_layout
6753
6754 \end_inset
6755 </cell>
6756 </row>
6757 <row>
6758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6759 \begin_inset Text
6760
6761 \begin_layout Standard
6762
6763 \series bold
6764 Cachia
6765 \end_layout
6766
6767 \end_inset
6768 </cell>
6769 <cell alignment="center" valignment="top" topline="true" usebox="none">
6770 \begin_inset Text
6771
6772 \begin_layout Standard
6773 Maurizio
6774 \end_layout
6775
6776 \end_inset
6777 </cell>
6778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6779 \begin_inset Text
6780
6781 \begin_layout Standard
6782 111
6783 \end_layout
6784
6785 \end_inset
6786 </cell>
6787 </row>
6788 <row>
6789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6790 \begin_inset Text
6791
6792 \begin_layout Standard
6793
6794 \series bold
6795 Cinquemani
6796 \end_layout
6797
6798 \end_inset
6799 </cell>
6800 <cell alignment="center" valignment="top" topline="true" usebox="none">
6801 \begin_inset Text
6802
6803 \begin_layout Standard
6804 Giusi
6805 \end_layout
6806
6807 \end_inset
6808 </cell>
6809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6810 \begin_inset Text
6811
6812 \begin_layout Standard
6813 111
6814 \end_layout
6815
6816 \end_inset
6817 </cell>
6818 </row>
6819 <row>
6820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6821 \begin_inset Text
6822
6823 \begin_layout Standard
6824
6825 \series bold
6826 Colin
6827 \end_layout
6828
6829 \end_inset
6830 </cell>
6831 <cell alignment="center" valignment="top" topline="true" usebox="none">
6832 \begin_inset Text
6833
6834 \begin_layout Standard
6835 Bernard
6836 \end_layout
6837
6838 \end_inset
6839 </cell>
6840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6841 \begin_inset Text
6842
6843 \begin_layout Standard
6844 111
6845 \end_layout
6846
6847 \end_inset
6848 </cell>
6849 </row>
6850 <row>
6851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6852 \begin_inset Text
6853
6854 \begin_layout Standard
6855
6856 \series bold
6857 Concli
6858 \end_layout
6859
6860 \end_inset
6861 </cell>
6862 <cell alignment="center" valignment="top" topline="true" usebox="none">
6863 \begin_inset Text
6864
6865 \begin_layout Standard
6866 Gianfranco
6867 \end_layout
6868
6869 \end_inset
6870 </cell>
6871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6872 \begin_inset Text
6873
6874 \begin_layout Standard
6875 111
6876 \end_layout
6877
6878 \end_inset
6879 </cell>
6880 </row>
6881 <row>
6882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6883 \begin_inset Text
6884
6885 \begin_layout Standard
6886
6887 \series bold
6888 Dal Bosco
6889 \end_layout
6890
6891 \end_inset
6892 </cell>
6893 <cell alignment="center" valignment="top" topline="true" usebox="none">
6894 \begin_inset Text
6895
6896 \begin_layout Standard
6897 Carolina
6898 \end_layout
6899
6900 \end_inset
6901 </cell>
6902 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6903 \begin_inset Text
6904
6905 \begin_layout Standard
6906 111
6907 \end_layout
6908
6909 \end_inset
6910 </cell>
6911 </row>
6912 <row>
6913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6914 \begin_inset Text
6915
6916 \begin_layout Standard
6917
6918 \series bold
6919 Dalpiaz
6920 \end_layout
6921
6922 \end_inset
6923 </cell>
6924 <cell alignment="center" valignment="top" topline="true" usebox="none">
6925 \begin_inset Text
6926
6927 \begin_layout Standard
6928 Annamaria
6929 \end_layout
6930
6931 \end_inset
6932 </cell>
6933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6934 \begin_inset Text
6935
6936 \begin_layout Standard
6937 111
6938 \end_layout
6939
6940 \end_inset
6941 </cell>
6942 </row>
6943 <row>
6944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6945 \begin_inset Text
6946
6947 \begin_layout Standard
6948
6949 \series bold
6950 Feliciello
6951 \end_layout
6952
6953 \end_inset
6954 </cell>
6955 <cell alignment="center" valignment="top" topline="true" usebox="none">
6956 \begin_inset Text
6957
6958 \begin_layout Standard
6959 Domenico
6960 \end_layout
6961
6962 \end_inset
6963 </cell>
6964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6965 \begin_inset Text
6966
6967 \begin_layout Standard
6968 111
6969 \end_layout
6970
6971 \end_inset
6972 </cell>
6973 </row>
6974 <row>
6975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6976 \begin_inset Text
6977
6978 \begin_layout Standard
6979
6980 \series bold
6981 Focarelli
6982 \end_layout
6983
6984 \end_inset
6985 </cell>
6986 <cell alignment="center" valignment="top" topline="true" usebox="none">
6987 \begin_inset Text
6988
6989 \begin_layout Standard
6990 Paola
6991 \end_layout
6992
6993 \end_inset
6994 </cell>
6995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6996 \begin_inset Text
6997
6998 \begin_layout Standard
6999 111
7000 \end_layout
7001
7002 \end_inset
7003 </cell>
7004 </row>
7005 <row>
7006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7007 \begin_inset Text
7008
7009 \begin_layout Standard
7010
7011 \series bold
7012 Galletti
7013 \end_layout
7014
7015 \end_inset
7016 </cell>
7017 <cell alignment="center" valignment="top" topline="true" usebox="none">
7018 \begin_inset Text
7019
7020 \begin_layout Standard
7021 Oreste
7022 \end_layout
7023
7024 \end_inset
7025 </cell>
7026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7027 \begin_inset Text
7028
7029 \begin_layout Standard
7030 111
7031 \end_layout
7032
7033 \end_inset
7034 </cell>
7035 </row>
7036 <row>
7037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7038 \begin_inset Text
7039
7040 \begin_layout Standard
7041
7042 \series bold
7043 Gasparini
7044 \end_layout
7045
7046 \end_inset
7047 </cell>
7048 <cell alignment="center" valignment="top" topline="true" usebox="none">
7049 \begin_inset Text
7050
7051 \begin_layout Standard
7052 Franca
7053 \end_layout
7054
7055 \end_inset
7056 </cell>
7057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7058 \begin_inset Text
7059
7060 \begin_layout Standard
7061 111
7062 \end_layout
7063
7064 \end_inset
7065 </cell>
7066 </row>
7067 <row>
7068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7069 \begin_inset Text
7070
7071 \begin_layout Standard
7072
7073 \series bold
7074 Rizzardi
7075 \series default
7076
7077 \begin_inset Foot
7078 status collapsed
7079
7080 \begin_layout Standard
7081 Example footnote
7082 \end_layout
7083
7084 \end_inset
7085
7086
7087 \end_layout
7088
7089 \end_inset
7090 </cell>
7091 <cell alignment="center" valignment="top" topline="true" usebox="none">
7092 \begin_inset Text
7093
7094 \begin_layout Standard
7095 Paola
7096 \end_layout
7097
7098 \end_inset
7099 </cell>
7100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7101 \begin_inset Text
7102
7103 \begin_layout Standard
7104 111
7105 \end_layout
7106
7107 \end_inset
7108 </cell>
7109 </row>
7110 <row>
7111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7112 \begin_inset Text
7113
7114 \begin_layout Standard
7115
7116 \series bold
7117 Lassini
7118 \end_layout
7119
7120 \end_inset
7121 </cell>
7122 <cell alignment="center" valignment="top" topline="true" usebox="none">
7123 \begin_inset Text
7124
7125 \begin_layout Standard
7126 Giancarlo
7127 \end_layout
7128
7129 \end_inset
7130 </cell>
7131 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7132 \begin_inset Text
7133
7134 \begin_layout Standard
7135 111
7136 \end_layout
7137
7138 \end_inset
7139 </cell>
7140 </row>
7141 <row>
7142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7143 \begin_inset Text
7144
7145 \begin_layout Standard
7146
7147 \series bold
7148 Malfatti
7149 \end_layout
7150
7151 \end_inset
7152 </cell>
7153 <cell alignment="center" valignment="top" topline="true" usebox="none">
7154 \begin_inset Text
7155
7156 \begin_layout Standard
7157 Luciano
7158 \end_layout
7159
7160 \end_inset
7161 </cell>
7162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7163 \begin_inset Text
7164
7165 \begin_layout Standard
7166 111
7167 \end_layout
7168
7169 \end_inset
7170 </cell>
7171 </row>
7172 <row>
7173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7174 \begin_inset Text
7175
7176 \begin_layout Standard
7177
7178 \series bold
7179 Malfatti
7180 \end_layout
7181
7182 \end_inset
7183 </cell>
7184 <cell alignment="center" valignment="top" topline="true" usebox="none">
7185 \begin_inset Text
7186
7187 \begin_layout Standard
7188 Valeriano
7189 \end_layout
7190
7191 \end_inset
7192 </cell>
7193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7194 \begin_inset Text
7195
7196 \begin_layout Standard
7197 111
7198 \end_layout
7199
7200 \end_inset
7201 </cell>
7202 </row>
7203 <row>
7204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7205 \begin_inset Text
7206
7207 \begin_layout Standard
7208
7209 \series bold
7210 Meneguzzo
7211 \end_layout
7212
7213 \end_inset
7214 </cell>
7215 <cell alignment="center" valignment="top" topline="true" usebox="none">
7216 \begin_inset Text
7217
7218 \begin_layout Standard
7219 Roberto
7220 \end_layout
7221
7222 \end_inset
7223 </cell>
7224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7225 \begin_inset Text
7226
7227 \begin_layout Standard
7228 111
7229 \end_layout
7230
7231 \end_inset
7232 </cell>
7233 </row>
7234 <row>
7235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7236 \begin_inset Text
7237
7238 \begin_layout Standard
7239
7240 \series bold
7241 Mezzadra
7242 \end_layout
7243
7244 \end_inset
7245 </cell>
7246 <cell alignment="center" valignment="top" topline="true" usebox="none">
7247 \begin_inset Text
7248
7249 \begin_layout Standard
7250 Roberto
7251 \end_layout
7252
7253 \end_inset
7254 </cell>
7255 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7256 \begin_inset Text
7257
7258 \begin_layout Standard
7259 111
7260 \end_layout
7261
7262 \end_inset
7263 </cell>
7264 </row>
7265 <row>
7266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7267 \begin_inset Text
7268
7269 \begin_layout Standard
7270
7271 \series bold
7272 Pirpamer
7273 \end_layout
7274
7275 \end_inset
7276 </cell>
7277 <cell alignment="center" valignment="top" topline="true" usebox="none">
7278 \begin_inset Text
7279
7280 \begin_layout Standard
7281 Erich
7282 \end_layout
7283
7284 \end_inset
7285 </cell>
7286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7287 \begin_inset Text
7288
7289 \begin_layout Standard
7290 111
7291 \end_layout
7292
7293 \end_inset
7294 </cell>
7295 </row>
7296 <row>
7297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7298 \begin_inset Text
7299
7300 \begin_layout Standard
7301
7302 \series bold
7303 Pochiesa
7304 \end_layout
7305
7306 \end_inset
7307 </cell>
7308 <cell alignment="center" valignment="top" topline="true" usebox="none">
7309 \begin_inset Text
7310
7311 \begin_layout Standard
7312 Paolo
7313 \end_layout
7314
7315 \end_inset
7316 </cell>
7317 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7318 \begin_inset Text
7319
7320 \begin_layout Standard
7321 111, 222
7322 \end_layout
7323
7324 \end_inset
7325 </cell>
7326 </row>
7327 <row>
7328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7329 \begin_inset Text
7330
7331 \begin_layout Standard
7332
7333 \series bold
7334 Radina
7335 \end_layout
7336
7337 \end_inset
7338 </cell>
7339 <cell alignment="center" valignment="top" topline="true" usebox="none">
7340 \begin_inset Text
7341
7342 \begin_layout Standard
7343 Claudio
7344 \end_layout
7345
7346 \end_inset
7347 </cell>
7348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7349 \begin_inset Text
7350
7351 \begin_layout Standard
7352 111
7353 \end_layout
7354
7355 \end_inset
7356 </cell>
7357 </row>
7358 <row>
7359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7360 \begin_inset Text
7361
7362 \begin_layout Standard
7363
7364 \series bold
7365 Stuffer
7366 \end_layout
7367
7368 \end_inset
7369 </cell>
7370 <cell alignment="center" valignment="top" topline="true" usebox="none">
7371 \begin_inset Text
7372
7373 \begin_layout Standard
7374 Oskar
7375 \end_layout
7376
7377 \end_inset
7378 </cell>
7379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7380 \begin_inset Text
7381
7382 \begin_layout Standard
7383 111
7384 \end_layout
7385
7386 \end_inset
7387 </cell>
7388 </row>
7389 <row>
7390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7391 \begin_inset Text
7392
7393 \begin_layout Standard
7394
7395 \series bold
7396 Tacchelli
7397 \end_layout
7398
7399 \end_inset
7400 </cell>
7401 <cell alignment="center" valignment="top" topline="true" usebox="none">
7402 \begin_inset Text
7403
7404 \begin_layout Standard
7405 Ugo
7406 \end_layout
7407
7408 \end_inset
7409 </cell>
7410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7411 \begin_inset Text
7412
7413 \begin_layout Standard
7414 111
7415 \end_layout
7416
7417 \end_inset
7418 </cell>
7419 </row>
7420 <row>
7421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7422 \begin_inset Text
7423
7424 \begin_layout Standard
7425
7426 \series bold
7427 Tezzele
7428 \end_layout
7429
7430 \end_inset
7431 </cell>
7432 <cell alignment="center" valignment="top" topline="true" usebox="none">
7433 \begin_inset Text
7434
7435 \begin_layout Standard
7436 Margit
7437 \end_layout
7438
7439 \end_inset
7440 </cell>
7441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7442 \begin_inset Text
7443
7444 \begin_layout Standard
7445 111
7446 \end_layout
7447
7448 \end_inset
7449 </cell>
7450 </row>
7451 <row>
7452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7453 \begin_inset Text
7454
7455 \begin_layout Standard
7456
7457 \series bold
7458 Unterkalmsteiner
7459 \end_layout
7460
7461 \end_inset
7462 </cell>
7463 <cell alignment="center" valignment="top" topline="true" usebox="none">
7464 \begin_inset Text
7465
7466 \begin_layout Standard
7467 Frieda
7468 \end_layout
7469
7470 \end_inset
7471 </cell>
7472 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7473 \begin_inset Text
7474
7475 \begin_layout Standard
7476 111
7477 \end_layout
7478
7479 \end_inset
7480 </cell>
7481 </row>
7482 <row>
7483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7484 \begin_inset Text
7485
7486 \begin_layout Standard
7487
7488 \series bold
7489 Vieider
7490 \end_layout
7491
7492 \end_inset
7493 </cell>
7494 <cell alignment="center" valignment="top" topline="true" usebox="none">
7495 \begin_inset Text
7496
7497 \begin_layout Standard
7498 Hilde
7499 \end_layout
7500
7501 \end_inset
7502 </cell>
7503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7504 \begin_inset Text
7505
7506 \begin_layout Standard
7507 111
7508 \end_layout
7509
7510 \end_inset
7511 </cell>
7512 </row>
7513 <row>
7514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7515 \begin_inset Text
7516
7517 \begin_layout Standard
7518
7519 \series bold
7520 Vigna
7521 \end_layout
7522
7523 \end_inset
7524 </cell>
7525 <cell alignment="center" valignment="top" topline="true" usebox="none">
7526 \begin_inset Text
7527
7528 \begin_layout Standard
7529 Jürgen
7530 \end_layout
7531
7532 \end_inset
7533 </cell>
7534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7535 \begin_inset Text
7536
7537 \begin_layout Standard
7538 111
7539 \end_layout
7540
7541 \end_inset
7542 </cell>
7543 </row>
7544 <row>
7545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7546 \begin_inset Text
7547
7548 \begin_layout Standard
7549
7550 \series bold
7551 Weber
7552 \end_layout
7553
7554 \end_inset
7555 </cell>
7556 <cell alignment="center" valignment="top" topline="true" usebox="none">
7557 \begin_inset Text
7558
7559 \begin_layout Standard
7560 Maurizio
7561 \end_layout
7562
7563 \end_inset
7564 </cell>
7565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7566 \begin_inset Text
7567
7568 \begin_layout Standard
7569 111
7570 \end_layout
7571
7572 \end_inset
7573 </cell>
7574 </row>
7575 <row bottomline="true">
7576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7577 \begin_inset Text
7578
7579 \begin_layout Standard
7580
7581 \series bold
7582 Winkler
7583 \end_layout
7584
7585 \end_inset
7586 </cell>
7587 <cell alignment="center" valignment="top" topline="true" usebox="none">
7588 \begin_inset Text
7589
7590 \begin_layout Standard
7591 Franz
7592 \end_layout
7593
7594 \end_inset
7595 </cell>
7596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7597 \begin_inset Text
7598
7599 \begin_layout Standard
7600 111
7601 \end_layout
7602
7603 \end_inset
7604 </cell>
7605 </row>
7606 <row bottomline="true">
7607 <cell multicolumn="1" alignment="left" valignment="top" bottomline="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 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7617 \begin_inset Text
7618
7619 \begin_layout Standard
7620
7621 \end_layout
7622
7623 \end_inset
7624 </cell>
7625 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7626 \begin_inset Text
7627
7628 \begin_layout Standard
7629
7630 \end_layout
7631
7632 \end_inset
7633 </cell>
7634 </row>
7635 <row>
7636 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7637 \begin_inset Text
7638
7639 \begin_layout Standard
7640
7641 \series bold
7642 Annovi
7643 \end_layout
7644
7645 \end_inset
7646 </cell>
7647 <cell alignment="center" valignment="top" topline="true" usebox="none">
7648 \begin_inset Text
7649
7650 \begin_layout Standard
7651 Silvia
7652 \end_layout
7653
7654 \end_inset
7655 </cell>
7656 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7657 \begin_inset Text
7658
7659 \begin_layout Standard
7660 555
7661 \end_layout
7662
7663 \end_inset
7664 </cell>
7665 </row>
7666 <row>
7667 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7668 \begin_inset Text
7669
7670 \begin_layout Standard
7671
7672 \series bold
7673 Bertoli
7674 \end_layout
7675
7676 \end_inset
7677 </cell>
7678 <cell alignment="center" valignment="top" topline="true" usebox="none">
7679 \begin_inset Text
7680
7681 \begin_layout Standard
7682 Stefano
7683 \end_layout
7684
7685 \end_inset
7686 </cell>
7687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7688 \begin_inset Text
7689
7690 \begin_layout Standard
7691 555
7692 \end_layout
7693
7694 \end_inset
7695 </cell>
7696 </row>
7697 <row>
7698 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7699 \begin_inset Text
7700
7701 \begin_layout Standard
7702
7703 \series bold
7704 Bozzi
7705 \end_layout
7706
7707 \end_inset
7708 </cell>
7709 <cell alignment="center" valignment="top" topline="true" usebox="none">
7710 \begin_inset Text
7711
7712 \begin_layout Standard
7713 Walter
7714 \end_layout
7715
7716 \end_inset
7717 </cell>
7718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7719 \begin_inset Text
7720
7721 \begin_layout Standard
7722 555
7723 \end_layout
7724
7725 \end_inset
7726 </cell>
7727 </row>
7728 <row>
7729 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7730 \begin_inset Text
7731
7732 \begin_layout Standard
7733
7734 \series bold
7735 Cachia
7736 \end_layout
7737
7738 \end_inset
7739 </cell>
7740 <cell alignment="center" valignment="top" topline="true" usebox="none">
7741 \begin_inset Text
7742
7743 \begin_layout Standard
7744 Maria
7745 \end_layout
7746
7747 \end_inset
7748 </cell>
7749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7750 \begin_inset Text
7751
7752 \begin_layout Standard
7753 555
7754 \end_layout
7755
7756 \end_inset
7757 </cell>
7758 </row>
7759 <row>
7760 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7761 \begin_inset Text
7762
7763 \begin_layout Standard
7764
7765 \series bold
7766 Cachia
7767 \end_layout
7768
7769 \end_inset
7770 </cell>
7771 <cell alignment="center" valignment="top" topline="true" usebox="none">
7772 \begin_inset Text
7773
7774 \begin_layout Standard
7775 Maurizio
7776 \end_layout
7777
7778 \end_inset
7779 </cell>
7780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7781 \begin_inset Text
7782
7783 \begin_layout Standard
7784 555
7785 \end_layout
7786
7787 \end_inset
7788 </cell>
7789 </row>
7790 <row>
7791 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7792 \begin_inset Text
7793
7794 \begin_layout Standard
7795
7796 \series bold
7797 Cinquemani
7798 \end_layout
7799
7800 \end_inset
7801 </cell>
7802 <cell alignment="center" valignment="top" topline="true" usebox="none">
7803 \begin_inset Text
7804
7805 \begin_layout Standard
7806 Giusi
7807 \end_layout
7808
7809 \end_inset
7810 </cell>
7811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7812 \begin_inset Text
7813
7814 \begin_layout Standard
7815 555
7816 \end_layout
7817
7818 \end_inset
7819 </cell>
7820 </row>
7821 <row>
7822 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7823 \begin_inset Text
7824
7825 \begin_layout Standard
7826
7827 \series bold
7828 Colin
7829 \end_layout
7830
7831 \end_inset
7832 </cell>
7833 <cell alignment="center" valignment="top" topline="true" usebox="none">
7834 \begin_inset Text
7835
7836 \begin_layout Standard
7837 Bernard
7838 \end_layout
7839
7840 \end_inset
7841 </cell>
7842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7843 \begin_inset Text
7844
7845 \begin_layout Standard
7846 555
7847 \end_layout
7848
7849 \end_inset
7850 </cell>
7851 </row>
7852 <row>
7853 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7854 \begin_inset Text
7855
7856 \begin_layout Standard
7857
7858 \series bold
7859 Concli
7860 \end_layout
7861
7862 \end_inset
7863 </cell>
7864 <cell alignment="center" valignment="top" topline="true" usebox="none">
7865 \begin_inset Text
7866
7867 \begin_layout Standard
7868 Gianfranco
7869 \end_layout
7870
7871 \end_inset
7872 </cell>
7873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7874 \begin_inset Text
7875
7876 \begin_layout Standard
7877 555
7878 \end_layout
7879
7880 \end_inset
7881 </cell>
7882 </row>
7883 <row>
7884 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7885 \begin_inset Text
7886
7887 \begin_layout Standard
7888
7889 \series bold
7890 Dal Bosco
7891 \end_layout
7892
7893 \end_inset
7894 </cell>
7895 <cell alignment="center" valignment="top" topline="true" usebox="none">
7896 \begin_inset Text
7897
7898 \begin_layout Standard
7899 Carolina
7900 \end_layout
7901
7902 \end_inset
7903 </cell>
7904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7905 \begin_inset Text
7906
7907 \begin_layout Standard
7908 555
7909 \end_layout
7910
7911 \end_inset
7912 </cell>
7913 </row>
7914 <row>
7915 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7916 \begin_inset Text
7917
7918 \begin_layout Standard
7919
7920 \series bold
7921 Dalpiaz
7922 \end_layout
7923
7924 \end_inset
7925 </cell>
7926 <cell alignment="center" valignment="top" topline="true" usebox="none">
7927 \begin_inset Text
7928
7929 \begin_layout Standard
7930 Annamaria
7931 \end_layout
7932
7933 \end_inset
7934 </cell>
7935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7936 \begin_inset Text
7937
7938 \begin_layout Standard
7939 555
7940 \end_layout
7941
7942 \end_inset
7943 </cell>
7944 </row>
7945 <row>
7946 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7947 \begin_inset Text
7948
7949 \begin_layout Standard
7950
7951 \series bold
7952 Feliciello
7953 \end_layout
7954
7955 \end_inset
7956 </cell>
7957 <cell alignment="center" valignment="top" topline="true" usebox="none">
7958 \begin_inset Text
7959
7960 \begin_layout Standard
7961 Domenico
7962 \end_layout
7963
7964 \end_inset
7965 </cell>
7966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7967 \begin_inset Text
7968
7969 \begin_layout Standard
7970 555
7971 \end_layout
7972
7973 \end_inset
7974 </cell>
7975 </row>
7976 <row>
7977 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7978 \begin_inset Text
7979
7980 \begin_layout Standard
7981
7982 \series bold
7983 Focarelli
7984 \end_layout
7985
7986 \end_inset
7987 </cell>
7988 <cell alignment="center" valignment="top" topline="true" usebox="none">
7989 \begin_inset Text
7990
7991 \begin_layout Standard
7992 Paola
7993 \end_layout
7994
7995 \end_inset
7996 </cell>
7997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7998 \begin_inset Text
7999
8000 \begin_layout Standard
8001 555
8002 \end_layout
8003
8004 \end_inset
8005 </cell>
8006 </row>
8007 <row>
8008 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8009 \begin_inset Text
8010
8011 \begin_layout Standard
8012
8013 \series bold
8014 Galletti
8015 \end_layout
8016
8017 \end_inset
8018 </cell>
8019 <cell alignment="center" valignment="top" topline="true" usebox="none">
8020 \begin_inset Text
8021
8022 \begin_layout Standard
8023 Oreste
8024 \end_layout
8025
8026 \end_inset
8027 </cell>
8028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8029 \begin_inset Text
8030
8031 \begin_layout Standard
8032 555
8033 \end_layout
8034
8035 \end_inset
8036 </cell>
8037 </row>
8038 <row>
8039 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8040 \begin_inset Text
8041
8042 \begin_layout Standard
8043
8044 \series bold
8045 Gasparini
8046 \end_layout
8047
8048 \end_inset
8049 </cell>
8050 <cell alignment="center" valignment="top" topline="true" usebox="none">
8051 \begin_inset Text
8052
8053 \begin_layout Standard
8054 Franca
8055 \end_layout
8056
8057 \end_inset
8058 </cell>
8059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8060 \begin_inset Text
8061
8062 \begin_layout Standard
8063 555
8064 \end_layout
8065
8066 \end_inset
8067 </cell>
8068 </row>
8069 <row>
8070 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8071 \begin_inset Text
8072
8073 \begin_layout Standard
8074
8075 \series bold
8076 Rizzardi
8077 \end_layout
8078
8079 \end_inset
8080 </cell>
8081 <cell alignment="center" valignment="top" topline="true" usebox="none">
8082 \begin_inset Text
8083
8084 \begin_layout Standard
8085 Paola
8086 \end_layout
8087
8088 \end_inset
8089 </cell>
8090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8091 \begin_inset Text
8092
8093 \begin_layout Standard
8094 555
8095 \end_layout
8096
8097 \end_inset
8098 </cell>
8099 </row>
8100 <row>
8101 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8102 \begin_inset Text
8103
8104 \begin_layout Standard
8105
8106 \series bold
8107 Lassini
8108 \end_layout
8109
8110 \end_inset
8111 </cell>
8112 <cell alignment="center" valignment="top" topline="true" usebox="none">
8113 \begin_inset Text
8114
8115 \begin_layout Standard
8116 Giancarlo
8117 \end_layout
8118
8119 \end_inset
8120 </cell>
8121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8122 \begin_inset Text
8123
8124 \begin_layout Standard
8125 555
8126 \end_layout
8127
8128 \end_inset
8129 </cell>
8130 </row>
8131 <row>
8132 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8133 \begin_inset Text
8134
8135 \begin_layout Standard
8136
8137 \series bold
8138 Malfatti
8139 \end_layout
8140
8141 \end_inset
8142 </cell>
8143 <cell alignment="center" valignment="top" topline="true" usebox="none">
8144 \begin_inset Text
8145
8146 \begin_layout Standard
8147 Luciano
8148 \end_layout
8149
8150 \end_inset
8151 </cell>
8152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8153 \begin_inset Text
8154
8155 \begin_layout Standard
8156 555
8157 \end_layout
8158
8159 \end_inset
8160 </cell>
8161 </row>
8162 <row>
8163 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8164 \begin_inset Text
8165
8166 \begin_layout Standard
8167
8168 \series bold
8169 Malfatti
8170 \end_layout
8171
8172 \end_inset
8173 </cell>
8174 <cell alignment="center" valignment="top" topline="true" usebox="none">
8175 \begin_inset Text
8176
8177 \begin_layout Standard
8178 Valeriano
8179 \end_layout
8180
8181 \end_inset
8182 </cell>
8183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8184 \begin_inset Text
8185
8186 \begin_layout Standard
8187 555
8188 \end_layout
8189
8190 \end_inset
8191 </cell>
8192 </row>
8193 <row>
8194 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8195 \begin_inset Text
8196
8197 \begin_layout Standard
8198
8199 \series bold
8200 Meneguzzo
8201 \end_layout
8202
8203 \end_inset
8204 </cell>
8205 <cell alignment="center" valignment="top" topline="true" usebox="none">
8206 \begin_inset Text
8207
8208 \begin_layout Standard
8209 Roberto
8210 \end_layout
8211
8212 \end_inset
8213 </cell>
8214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8215 \begin_inset Text
8216
8217 \begin_layout Standard
8218 555
8219 \end_layout
8220
8221 \end_inset
8222 </cell>
8223 </row>
8224 <row bottomline="true">
8225 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8226 \begin_inset Text
8227
8228 \begin_layout Standard
8229
8230 \series bold
8231 Mezzadra
8232 \end_layout
8233
8234 \end_inset
8235 </cell>
8236 <cell alignment="center" valignment="top" topline="true" usebox="none">
8237 \begin_inset Text
8238
8239 \begin_layout Standard
8240 Roberto
8241 \end_layout
8242
8243 \end_inset
8244 </cell>
8245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8246 \begin_inset Text
8247
8248 \begin_layout Standard
8249 555
8250 \end_layout
8251
8252 \end_inset
8253 </cell>
8254 </row>
8255 <row bottomline="true" endlastfoot="true">
8256 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8257 \begin_inset Text
8258
8259 \begin_layout Standard
8260
8261 \end_layout
8262
8263 \end_inset
8264 </cell>
8265 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8266 \begin_inset Text
8267
8268 \begin_layout Standard
8269
8270 \end_layout
8271
8272 \end_inset
8273 </cell>
8274 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8275 \begin_inset Text
8276
8277 \begin_layout Standard
8278
8279 \end_layout
8280
8281 \end_inset
8282 </cell>
8283 </row>
8284 </lyxtabular>
8285
8286 \end_inset
8287
8288
8289 \end_layout
8290
8291 \begin_layout Section
8292 Special Longtable Issues
8293 \begin_inset LatexCommand label
8294 name "sec:Special-Longtable-Issues"
8295
8296 \end_inset
8297
8298
8299 \end_layout
8300
8301 \begin_layout Subsection
8302 Longtable Calculation
8303 \begin_inset LatexCommand index
8304 name "Longtables ! Calculation"
8305
8306 \end_inset
8307
8308
8309 \end_layout
8310
8311 \begin_layout Standard
8312 LaTeX calculates the height of table pages and their page breaks using so
8313  called chunks.
8314  Chunks are pieces of the tables that are at once in LaTeX's memory.
8315  The default value is historically set to only 20 table rows.
8316  If you are using longtables with many pages this may slow down the creation
8317  of your document.
8318  You can safely increase the chunk size to values of 100-1000 by adding
8319  this command line to your document preamble:
8320 \end_layout
8321
8322 \begin_layout Standard
8323
8324 \series bold
8325
8326 \backslash
8327 setcounter{LTchunksize}{100}
8328 \end_layout
8329
8330 \begin_layout Subsection
8331 Floats and Longtables
8332 \begin_inset LatexCommand index
8333 name "Longtables ! Floats"
8334
8335 \end_inset
8336
8337
8338 \end_layout
8339
8340 \begin_layout Standard
8341 There might be problems when a float appears on the same page where a longtable
8342  starts.
8343  To avoid such situation, add the command 
8344 \series bold
8345
8346 \backslash
8347 clearpage
8348 \series default
8349  as ERT before your longtable.
8350 \end_layout
8351
8352 \begin_layout Subsection
8353 Forced Page Breaks
8354 \begin_inset LatexCommand index
8355 name "Longtables ! Forced Page Breaks"
8356
8357 \end_inset
8358
8359
8360 \end_layout
8361
8362 \begin_layout Standard
8363 By default tables are only broken between rows.
8364  If you have a cell with multiples lines and want to have a page break within
8365  the cell, insert the new line command 
8366 \begin_inset Quotes eld
8367 \end_inset
8368
8369
8370 \series bold
8371
8372 \backslash
8373
8374 \backslash
8375
8376 \series default
8377
8378 \begin_inset Quotes erd
8379 \end_inset
8380
8381  as ERT at this point of the cell where it should be broken.
8382  Before the 
8383 \series bold
8384
8385 \backslash
8386
8387 \backslash
8388
8389 \series default
8390  command you have to insert in ERT so many 
8391 \begin_inset Quotes eld
8392 \end_inset
8393
8394
8395 \series bold
8396 &
8397 \series default
8398
8399 \begin_inset Quotes erd
8400 \end_inset
8401
8402  characters like the number of the following table columns.
8403  The 
8404 \series bold
8405 &
8406 \series default
8407  is the character to separate table cells.
8408  Write in ERT after each 
8409 \series bold
8410 &
8411 \series default
8412  the content of the corresponding following cell and delete the content
8413  of these cells.
8414 \newline
8415 Behind the the 
8416 \series bold
8417
8418 \backslash
8419
8420 \backslash
8421
8422 \series default
8423  command, insert so many 
8424 \series bold
8425 &
8426 \series default
8427  characters like the number of table columns before the current column.
8428  In Table\InsetSpace ~
8429
8430 \begin_inset LatexCommand ref
8431 reference "tab:ForcedPagebreak"
8432
8433 \end_inset
8434
8435  the cell that should be broken is in the second column followed by another
8436  column.
8437  Therefore the following command was inserted in the cell as ERT behind
8438  
8439 \begin_inset Quotes eld
8440 \end_inset
8441
8442
8443 \emph on
8444 Castelchiodato,
8445 \emph default
8446
8447 \begin_inset Quotes erd
8448 \end_inset
8449
8450 :
8451 \end_layout
8452
8453 \begin_layout Standard
8454
8455 \series bold
8456 & 111
8457 \backslash
8458
8459 \backslash
8460
8461 \newline
8462 &
8463 \end_layout
8464
8465 \begin_layout Standard
8466 The 
8467 \begin_inset Quotes eld
8468 \end_inset
8469
8470 111
8471 \begin_inset Quotes erd
8472 \end_inset
8473
8474  in the third columns of the row was deleted.
8475  If your footer row of the longtable has for a certain reason no upper line
8476  but you would have a horizontal line where the cell is broken, use this
8477  command instead:
8478 \end_layout
8479
8480 \begin_layout Standard
8481
8482 \series bold
8483 & 111
8484 \backslash
8485
8486 \backslash
8487
8488 \newline
8489
8490 \backslash
8491 hline &
8492 \end_layout
8493
8494 \begin_layout Standard
8495 When the cell to be broken is in the last column, the command
8496 \end_layout
8497
8498 \begin_layout Standard
8499
8500 \series bold
8501
8502 \backslash
8503 setlength{
8504 \backslash
8505 parf\SpecialChar \textcompwordmark{}
8506 illskip}{0pt}
8507 \end_layout
8508
8509 \begin_layout Standard
8510 must be inserted as ERT at the beginning of the cell.
8511  This assures that the part of the cell that will be displayed on the new
8512  page appears with the full width.
8513  
8514 \end_layout
8515
8516 \begin_layout Standard
8517 \align center
8518 \begin_inset Tabular
8519 <lyxtabular version="3" rows="39" columns="3">
8520 <features islongtable="true">
8521 <column alignment="left" valignment="top" leftline="true" width="0cm">
8522 <column alignment="left" valignment="top" rightline="true" width="3cm">
8523 <column alignment="right" valignment="top" rightline="true" width="0pt">
8524 <row endfirsthead="true">
8525 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8526 \begin_inset Text
8527
8528 \begin_layout Standard
8529 \begin_inset Caption
8530
8531 \begin_layout Standard
8532 Table with forced page break in table cell
8533 \begin_inset LatexCommand label
8534 name "tab:ForcedPagebreak"
8535
8536 \end_inset
8537
8538
8539 \begin_inset OptArg
8540 status collapsed
8541
8542 \begin_layout Standard
8543 Table with forced page break in table cell
8544 \end_layout
8545
8546 \end_inset
8547
8548
8549 \end_layout
8550
8551 \end_inset
8552
8553
8554 \begin_inset ERT
8555 status collapsed
8556
8557 \begin_layout Standard
8558
8559
8560 \backslash
8561
8562 \backslash
8563 %
8564 \end_layout
8565
8566 \end_inset
8567
8568
8569 \end_layout
8570
8571 \end_inset
8572 </cell>
8573 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8574 \begin_inset Text
8575
8576 \begin_layout Standard
8577
8578 \end_layout
8579
8580 \end_inset
8581 </cell>
8582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8583 \begin_inset Text
8584
8585 \begin_layout Standard
8586
8587 \end_layout
8588
8589 \end_inset
8590 </cell>
8591 </row>
8592 <row topline="true" bottomline="true" endfirsthead="true">
8593 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8594 \begin_inset Text
8595
8596 \begin_layout Standard
8597
8598 \series bold
8599 Example Phone List (ignore the names)
8600 \end_layout
8601
8602 \end_inset
8603 </cell>
8604 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8605 \begin_inset Text
8606
8607 \begin_layout Standard
8608
8609 \end_layout
8610
8611 \end_inset
8612 </cell>
8613 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8614 \begin_inset Text
8615
8616 \begin_layout Standard
8617
8618 \end_layout
8619
8620 \end_inset
8621 </cell>
8622 </row>
8623 <row topline="true" bottomline="true" endfirsthead="true">
8624 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8625 \begin_inset Text
8626
8627 \begin_layout Standard
8628
8629 \series bold
8630 NAME
8631 \end_layout
8632
8633 \end_inset
8634 </cell>
8635 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8636 \begin_inset Text
8637
8638 \begin_layout Standard
8639
8640 \end_layout
8641
8642 \end_inset
8643 </cell>
8644 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8645 \begin_inset Text
8646
8647 \begin_layout Standard
8648
8649 \series bold
8650 TEL.
8651 \end_layout
8652
8653 \end_inset
8654 </cell>
8655 </row>
8656 <row bottomline="true" endhead="true">
8657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8658 \begin_inset Text
8659
8660 \begin_layout Standard
8661 \begin_inset ERT
8662 status collapsed
8663
8664 \begin_layout Standard
8665
8666
8667 \backslash
8668 caption*{Continued table with forced page break in table cell}
8669 \backslash
8670
8671 \backslash
8672 %
8673 \end_layout
8674
8675 \end_inset
8676
8677
8678 \end_layout
8679
8680 \end_inset
8681 </cell>
8682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8683 \begin_inset Text
8684
8685 \begin_layout Standard
8686
8687 \end_layout
8688
8689 \end_inset
8690 </cell>
8691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8692 \begin_inset Text
8693
8694 \begin_layout Standard
8695
8696 \end_layout
8697
8698 \end_inset
8699 </cell>
8700 </row>
8701 <row topline="true" bottomline="true" endhead="true">
8702 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8703 \begin_inset Text
8704
8705 \begin_layout Standard
8706  
8707 \series bold
8708 Example Phone List
8709 \end_layout
8710
8711 \end_inset
8712 </cell>
8713 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8714 \begin_inset Text
8715
8716 \begin_layout Standard
8717
8718 \end_layout
8719
8720 \end_inset
8721 </cell>
8722 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8723 \begin_inset Text
8724
8725 \begin_layout Standard
8726
8727 \end_layout
8728
8729 \end_inset
8730 </cell>
8731 </row>
8732 <row topline="true" bottomline="true" endhead="true">
8733 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8734 \begin_inset Text
8735
8736 \begin_layout Standard
8737
8738 \series bold
8739 NAME
8740 \end_layout
8741
8742 \end_inset
8743 </cell>
8744 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8745 \begin_inset Text
8746
8747 \begin_layout Standard
8748
8749 \end_layout
8750
8751 \end_inset
8752 </cell>
8753 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8754 \begin_inset Text
8755
8756 \begin_layout Standard
8757
8758 \series bold
8759 TEL.
8760 \end_layout
8761
8762 \end_inset
8763 </cell>
8764 </row>
8765 <row topline="true" bottomline="true" endfoot="true">
8766 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8767 \begin_inset Text
8768
8769 \begin_layout Standard
8770 continued on next page
8771 \end_layout
8772
8773 \end_inset
8774 </cell>
8775 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8776 \begin_inset Text
8777
8778 \begin_layout Standard
8779
8780 \end_layout
8781
8782 \end_inset
8783 </cell>
8784 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8785 \begin_inset Text
8786
8787 \begin_layout Standard
8788
8789 \end_layout
8790
8791 \end_inset
8792 </cell>
8793 </row>
8794 <row>
8795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8796 \begin_inset Text
8797
8798 \begin_layout Standard
8799
8800 \series bold
8801 Annovi
8802 \end_layout
8803
8804 \end_inset
8805 </cell>
8806 <cell alignment="center" valignment="top" topline="true" usebox="none">
8807 \begin_inset Text
8808
8809 \begin_layout Standard
8810 Silvia
8811 \end_layout
8812
8813 \end_inset
8814 </cell>
8815 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8816 \begin_inset Text
8817
8818 \begin_layout Standard
8819 111
8820 \end_layout
8821
8822 \end_inset
8823 </cell>
8824 </row>
8825 <row>
8826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8827 \begin_inset Text
8828
8829 \begin_layout Standard
8830
8831 \series bold
8832 Bertoli
8833 \end_layout
8834
8835 \end_inset
8836 </cell>
8837 <cell alignment="center" valignment="top" topline="true" usebox="none">
8838 \begin_inset Text
8839
8840 \begin_layout Standard
8841 Stefano
8842 \end_layout
8843
8844 \end_inset
8845 </cell>
8846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8847 \begin_inset Text
8848
8849 \begin_layout Standard
8850 111
8851 \end_layout
8852
8853 \end_inset
8854 </cell>
8855 </row>
8856 <row>
8857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8858 \begin_inset Text
8859
8860 \begin_layout Standard
8861
8862 \series bold
8863 Bozzi
8864 \end_layout
8865
8866 \end_inset
8867 </cell>
8868 <cell alignment="center" valignment="top" topline="true" usebox="none">
8869 \begin_inset Text
8870
8871 \begin_layout Standard
8872 Walter
8873 \end_layout
8874
8875 \end_inset
8876 </cell>
8877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8878 \begin_inset Text
8879
8880 \begin_layout Standard
8881 111
8882 \end_layout
8883
8884 \end_inset
8885 </cell>
8886 </row>
8887 <row>
8888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8889 \begin_inset Text
8890
8891 \begin_layout Standard
8892
8893 \series bold
8894 Cachia
8895 \end_layout
8896
8897 \end_inset
8898 </cell>
8899 <cell alignment="center" valignment="top" topline="true" usebox="none">
8900 \begin_inset Text
8901
8902 \begin_layout Standard
8903 Maria
8904 \end_layout
8905
8906 \end_inset
8907 </cell>
8908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8909 \begin_inset Text
8910
8911 \begin_layout Standard
8912 111
8913 \end_layout
8914
8915 \end_inset
8916 </cell>
8917 </row>
8918 <row>
8919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8920 \begin_inset Text
8921
8922 \begin_layout Standard
8923
8924 \series bold
8925 Cachia
8926 \end_layout
8927
8928 \end_inset
8929 </cell>
8930 <cell alignment="center" valignment="top" topline="true" usebox="none">
8931 \begin_inset Text
8932
8933 \begin_layout Standard
8934 Maurizio
8935 \end_layout
8936
8937 \end_inset
8938 </cell>
8939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8940 \begin_inset Text
8941
8942 \begin_layout Standard
8943 111
8944 \end_layout
8945
8946 \end_inset
8947 </cell>
8948 </row>
8949 <row>
8950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8951 \begin_inset Text
8952
8953 \begin_layout Standard
8954
8955 \series bold
8956 Cinquemani
8957 \end_layout
8958
8959 \end_inset
8960 </cell>
8961 <cell alignment="center" valignment="top" topline="true" usebox="none">
8962 \begin_inset Text
8963
8964 \begin_layout Standard
8965 Giusi
8966 \end_layout
8967
8968 \end_inset
8969 </cell>
8970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8971 \begin_inset Text
8972
8973 \begin_layout Standard
8974 111
8975 \end_layout
8976
8977 \end_inset
8978 </cell>
8979 </row>
8980 <row>
8981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8982 \begin_inset Text
8983
8984 \begin_layout Standard
8985
8986 \series bold
8987 Colin
8988 \end_layout
8989
8990 \end_inset
8991 </cell>
8992 <cell alignment="center" valignment="top" topline="true" usebox="none">
8993 \begin_inset Text
8994
8995 \begin_layout Standard
8996 Bernard
8997 \end_layout
8998
8999 \end_inset
9000 </cell>
9001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9002 \begin_inset Text
9003
9004 \begin_layout Standard
9005 111
9006 \end_layout
9007
9008 \end_inset
9009 </cell>
9010 </row>
9011 <row>
9012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9013 \begin_inset Text
9014
9015 \begin_layout Standard
9016
9017 \series bold
9018 Concli
9019 \end_layout
9020
9021 \end_inset
9022 </cell>
9023 <cell alignment="center" valignment="top" topline="true" usebox="none">
9024 \begin_inset Text
9025
9026 \begin_layout Standard
9027 Gianfranco
9028 \end_layout
9029
9030 \end_inset
9031 </cell>
9032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9033 \begin_inset Text
9034
9035 \begin_layout Standard
9036 111
9037 \end_layout
9038
9039 \end_inset
9040 </cell>
9041 </row>
9042 <row>
9043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9044 \begin_inset Text
9045
9046 \begin_layout Standard
9047
9048 \series bold
9049 Dal Bosco
9050 \end_layout
9051
9052 \end_inset
9053 </cell>
9054 <cell alignment="center" valignment="top" topline="true" usebox="none">
9055 \begin_inset Text
9056
9057 \begin_layout Standard
9058 Carolina
9059 \end_layout
9060
9061 \end_inset
9062 </cell>
9063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9064 \begin_inset Text
9065
9066 \begin_layout Standard
9067 111
9068 \end_layout
9069
9070 \end_inset
9071 </cell>
9072 </row>
9073 <row>
9074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9075 \begin_inset Text
9076
9077 \begin_layout Standard
9078
9079 \series bold
9080 Dalpiaz
9081 \end_layout
9082
9083 \end_inset
9084 </cell>
9085 <cell alignment="center" valignment="top" topline="true" usebox="none">
9086 \begin_inset Text
9087
9088 \begin_layout Standard
9089 Annamaria
9090 \end_layout
9091
9092 \end_inset
9093 </cell>
9094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9095 \begin_inset Text
9096
9097 \begin_layout Standard
9098 111
9099 \end_layout
9100
9101 \end_inset
9102 </cell>
9103 </row>
9104 <row>
9105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9106 \begin_inset Text
9107
9108 \begin_layout Standard
9109
9110 \series bold
9111 Feliciello
9112 \end_layout
9113
9114 \end_inset
9115 </cell>
9116 <cell alignment="center" valignment="top" topline="true" usebox="none">
9117 \begin_inset Text
9118
9119 \begin_layout Standard
9120 Domenico
9121 \end_layout
9122
9123 \end_inset
9124 </cell>
9125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9126 \begin_inset Text
9127
9128 \begin_layout Standard
9129 111
9130 \end_layout
9131
9132 \end_inset
9133 </cell>
9134 </row>
9135 <row>
9136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9137 \begin_inset Text
9138
9139 \begin_layout Standard
9140
9141 \series bold
9142 Focarelli
9143 \end_layout
9144
9145 \end_inset
9146 </cell>
9147 <cell alignment="center" valignment="top" topline="true" usebox="none">
9148 \begin_inset Text
9149
9150 \begin_layout Standard
9151 Paola
9152 \end_layout
9153
9154 \end_inset
9155 </cell>
9156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9157 \begin_inset Text
9158
9159 \begin_layout Standard
9160 111
9161 \end_layout
9162
9163 \end_inset
9164 </cell>
9165 </row>
9166 <row>
9167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9168 \begin_inset Text
9169
9170 \begin_layout Standard
9171
9172 \series bold
9173 Galletti
9174 \end_layout
9175
9176 \end_inset
9177 </cell>
9178 <cell alignment="center" valignment="top" topline="true" usebox="none">
9179 \begin_inset Text
9180
9181 \begin_layout Standard
9182 Oreste
9183 \end_layout
9184
9185 \end_inset
9186 </cell>
9187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9188 \begin_inset Text
9189
9190 \begin_layout Standard
9191 111
9192 \end_layout
9193
9194 \end_inset
9195 </cell>
9196 </row>
9197 <row>
9198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9199 \begin_inset Text
9200
9201 \begin_layout Standard
9202
9203 \series bold
9204 Gasparini
9205 \end_layout
9206
9207 \end_inset
9208 </cell>
9209 <cell alignment="center" valignment="top" topline="true" usebox="none">
9210 \begin_inset Text
9211
9212 \begin_layout Standard
9213 Franca
9214 \end_layout
9215
9216 \end_inset
9217 </cell>
9218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9219 \begin_inset Text
9220
9221 \begin_layout Standard
9222 111
9223 \end_layout
9224
9225 \end_inset
9226 </cell>
9227 </row>
9228 <row>
9229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9230 \begin_inset Text
9231
9232 \begin_layout Standard
9233
9234 \series bold
9235 Lassini
9236 \end_layout
9237
9238 \end_inset
9239 </cell>
9240 <cell alignment="center" valignment="top" topline="true" usebox="none">
9241 \begin_inset Text
9242
9243 \begin_layout Standard
9244 Giancarlo
9245 \end_layout
9246
9247 \end_inset
9248 </cell>
9249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9250 \begin_inset Text
9251
9252 \begin_layout Standard
9253 111
9254 \end_layout
9255
9256 \end_inset
9257 </cell>
9258 </row>
9259 <row>
9260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9261 \begin_inset Text
9262
9263 \begin_layout Standard
9264
9265 \series bold
9266 Malfatti
9267 \end_layout
9268
9269 \end_inset
9270 </cell>
9271 <cell alignment="center" valignment="top" topline="true" usebox="none">
9272 \begin_inset Text
9273
9274 \begin_layout Standard
9275 Luciano
9276 \end_layout
9277
9278 \end_inset
9279 </cell>
9280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9281 \begin_inset Text
9282
9283 \begin_layout Standard
9284 111
9285 \end_layout
9286
9287 \end_inset
9288 </cell>
9289 </row>
9290 <row>
9291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9292 \begin_inset Text
9293
9294 \begin_layout Standard
9295
9296 \series bold
9297 Malfatti
9298 \end_layout
9299
9300 \end_inset
9301 </cell>
9302 <cell alignment="center" valignment="top" topline="true" usebox="none">
9303 \begin_inset Text
9304
9305 \begin_layout Standard
9306 Valeriano
9307 \end_layout
9308
9309 \end_inset
9310 </cell>
9311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9312 \begin_inset Text
9313
9314 \begin_layout Standard
9315 111
9316 \end_layout
9317
9318 \end_inset
9319 </cell>
9320 </row>
9321 <row>
9322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9323 \begin_inset Text
9324
9325 \begin_layout Standard
9326
9327 \series bold
9328 Meneguzzo
9329 \end_layout
9330
9331 \end_inset
9332 </cell>
9333 <cell alignment="center" valignment="top" topline="true" usebox="none">
9334 \begin_inset Text
9335
9336 \begin_layout Standard
9337 Roberto
9338 \end_layout
9339
9340 \end_inset
9341 </cell>
9342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9343 \begin_inset Text
9344
9345 \begin_layout Standard
9346 111
9347 \end_layout
9348
9349 \end_inset
9350 </cell>
9351 </row>
9352 <row>
9353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9354 \begin_inset Text
9355
9356 \begin_layout Standard
9357
9358 \series bold
9359 Mezzadra
9360 \end_layout
9361
9362 \end_inset
9363 </cell>
9364 <cell alignment="center" valignment="top" topline="true" usebox="none">
9365 \begin_inset Text
9366
9367 \begin_layout Standard
9368 Roberto
9369 \end_layout
9370
9371 \end_inset
9372 </cell>
9373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9374 \begin_inset Text
9375
9376 \begin_layout Standard
9377 111
9378 \end_layout
9379
9380 \end_inset
9381 </cell>
9382 </row>
9383 <row>
9384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9385 \begin_inset Text
9386
9387 \begin_layout Standard
9388
9389 \series bold
9390 Pirpamer
9391 \end_layout
9392
9393 \end_inset
9394 </cell>
9395 <cell alignment="center" valignment="top" topline="true" usebox="none">
9396 \begin_inset Text
9397
9398 \begin_layout Standard
9399 Erich
9400 \end_layout
9401
9402 \end_inset
9403 </cell>
9404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9405 \begin_inset Text
9406
9407 \begin_layout Standard
9408 111
9409 \end_layout
9410
9411 \end_inset
9412 </cell>
9413 </row>
9414 <row>
9415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9416 \begin_inset Text
9417
9418 \begin_layout Standard
9419
9420 \series bold
9421 Pochiesa
9422 \end_layout
9423
9424 \end_inset
9425 </cell>
9426 <cell alignment="center" valignment="top" topline="true" usebox="none">
9427 \begin_inset Text
9428
9429 \begin_layout Standard
9430 Paolo
9431 \end_layout
9432
9433 \end_inset
9434 </cell>
9435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9436 \begin_inset Text
9437
9438 \begin_layout Standard
9439 111, 222
9440 \end_layout
9441
9442 \end_inset
9443 </cell>
9444 </row>
9445 <row>
9446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9447 \begin_inset Text
9448
9449 \begin_layout Standard
9450
9451 \series bold
9452 Radina
9453 \end_layout
9454
9455 \end_inset
9456 </cell>
9457 <cell alignment="center" valignment="top" topline="true" usebox="none">
9458 \begin_inset Text
9459
9460 \begin_layout Standard
9461 Claudio
9462 \end_layout
9463
9464 \end_inset
9465 </cell>
9466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9467 \begin_inset Text
9468
9469 \begin_layout Standard
9470 111
9471 \end_layout
9472
9473 \end_inset
9474 </cell>
9475 </row>
9476 <row>
9477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9478 \begin_inset Text
9479
9480 \begin_layout Standard
9481
9482 \series bold
9483 Rizzardi
9484 \end_layout
9485
9486 \end_inset
9487 </cell>
9488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9489 \begin_inset Text
9490
9491 \begin_layout Standard
9492 Paolo, 11.
9493  Fürst von Montecompatri, 11.
9494  Fürst von Sulmona und Vivaro, 10.
9495  Fürst von Rossano, 5.
9496  Herzog von Canemorte, 11.
9497  Herzog von Palombara, 5.
9498  Herzog von Castelchiodato,
9499 \begin_inset ERT
9500 status collapsed
9501
9502 \begin_layout Standard
9503
9504 & 111
9505 \backslash
9506
9507 \backslash
9508
9509 \end_layout
9510
9511 \begin_layout Standard
9512
9513 &
9514 \end_layout
9515
9516 \end_inset
9517
9518  11.
9519  Herzog von Poggionativo, 11.
9520  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9521  Graf von Valinfreda, 11.
9522  Baron von Cropalati, 11.
9523  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9524 \end_layout
9525
9526 \end_inset
9527 </cell>
9528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9529 \begin_inset Text
9530
9531 \begin_layout Standard
9532
9533 \end_layout
9534
9535 \end_inset
9536 </cell>
9537 </row>
9538 <row>
9539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9540 \begin_inset Text
9541
9542 \begin_layout Standard
9543
9544 \series bold
9545 Stuffer
9546 \end_layout
9547
9548 \end_inset
9549 </cell>
9550 <cell alignment="center" valignment="top" topline="true" usebox="none">
9551 \begin_inset Text
9552
9553 \begin_layout Standard
9554 Oskar
9555 \end_layout
9556
9557 \end_inset
9558 </cell>
9559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9560 \begin_inset Text
9561
9562 \begin_layout Standard
9563 111
9564 \end_layout
9565
9566 \end_inset
9567 </cell>
9568 </row>
9569 <row>
9570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9571 \begin_inset Text
9572
9573 \begin_layout Standard
9574
9575 \series bold
9576 Tacchelli
9577 \end_layout
9578
9579 \end_inset
9580 </cell>
9581 <cell alignment="center" valignment="top" topline="true" usebox="none">
9582 \begin_inset Text
9583
9584 \begin_layout Standard
9585 Ugo
9586 \end_layout
9587
9588 \end_inset
9589 </cell>
9590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9591 \begin_inset Text
9592
9593 \begin_layout Standard
9594 111
9595 \end_layout
9596
9597 \end_inset
9598 </cell>
9599 </row>
9600 <row>
9601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9602 \begin_inset Text
9603
9604 \begin_layout Standard
9605
9606 \series bold
9607 Tezzele
9608 \end_layout
9609
9610 \end_inset
9611 </cell>
9612 <cell alignment="center" valignment="top" topline="true" usebox="none">
9613 \begin_inset Text
9614
9615 \begin_layout Standard
9616 Margit
9617 \end_layout
9618
9619 \end_inset
9620 </cell>
9621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9622 \begin_inset Text
9623
9624 \begin_layout Standard
9625 111
9626 \end_layout
9627
9628 \end_inset
9629 </cell>
9630 </row>
9631 <row>
9632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9633 \begin_inset Text
9634
9635 \begin_layout Standard
9636
9637 \series bold
9638 Unterkalmsteiner
9639 \end_layout
9640
9641 \end_inset
9642 </cell>
9643 <cell alignment="center" valignment="top" topline="true" usebox="none">
9644 \begin_inset Text
9645
9646 \begin_layout Standard
9647 Frieda
9648 \end_layout
9649
9650 \end_inset
9651 </cell>
9652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9653 \begin_inset Text
9654
9655 \begin_layout Standard
9656 111
9657 \end_layout
9658
9659 \end_inset
9660 </cell>
9661 </row>
9662 <row>
9663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9664 \begin_inset Text
9665
9666 \begin_layout Standard
9667
9668 \series bold
9669 Vieider
9670 \end_layout
9671
9672 \end_inset
9673 </cell>
9674 <cell alignment="center" valignment="top" topline="true" usebox="none">
9675 \begin_inset Text
9676
9677 \begin_layout Standard
9678 Hilde
9679 \end_layout
9680
9681 \end_inset
9682 </cell>
9683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9684 \begin_inset Text
9685
9686 \begin_layout Standard
9687 111
9688 \end_layout
9689
9690 \end_inset
9691 </cell>
9692 </row>
9693 <row>
9694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9695 \begin_inset Text
9696
9697 \begin_layout Standard
9698
9699 \series bold
9700 Vigna
9701 \end_layout
9702
9703 \end_inset
9704 </cell>
9705 <cell alignment="center" valignment="top" topline="true" usebox="none">
9706 \begin_inset Text
9707
9708 \begin_layout Standard
9709 Jürgen
9710 \end_layout
9711
9712 \end_inset
9713 </cell>
9714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9715 \begin_inset Text
9716
9717 \begin_layout Standard
9718 111
9719 \end_layout
9720
9721 \end_inset
9722 </cell>
9723 </row>
9724 <row>
9725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9726 \begin_inset Text
9727
9728 \begin_layout Standard
9729
9730 \series bold
9731 Weber
9732 \end_layout
9733
9734 \end_inset
9735 </cell>
9736 <cell alignment="center" valignment="top" topline="true" usebox="none">
9737 \begin_inset Text
9738
9739 \begin_layout Standard
9740 Maurizio
9741 \end_layout
9742
9743 \end_inset
9744 </cell>
9745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9746 \begin_inset Text
9747
9748 \begin_layout Standard
9749 111
9750 \end_layout
9751
9752 \end_inset
9753 </cell>
9754 </row>
9755 <row bottomline="true">
9756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9757 \begin_inset Text
9758
9759 \begin_layout Standard
9760
9761 \series bold
9762 Winkler
9763 \end_layout
9764
9765 \end_inset
9766 </cell>
9767 <cell alignment="center" valignment="top" topline="true" usebox="none">
9768 \begin_inset Text
9769
9770 \begin_layout Standard
9771 Franz
9772 \end_layout
9773
9774 \end_inset
9775 </cell>
9776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9777 \begin_inset Text
9778
9779 \begin_layout Standard
9780 111
9781 \end_layout
9782
9783 \end_inset
9784 </cell>
9785 </row>
9786 <row endlastfoot="true">
9787 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9788 \begin_inset Text
9789
9790 \begin_layout Standard
9791
9792 \end_layout
9793
9794 \end_inset
9795 </cell>
9796 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9797 \begin_inset Text
9798
9799 \begin_layout Standard
9800
9801 \end_layout
9802
9803 \end_inset
9804 </cell>
9805 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9806 \begin_inset Text
9807
9808 \begin_layout Standard
9809
9810 \end_layout
9811
9812 \end_inset
9813 </cell>
9814 </row>
9815 </lyxtabular>
9816
9817 \end_inset
9818
9819
9820 \end_layout
9821
9822 \begin_layout Section
9823 Multiple Lines Columns and Rows
9824 \end_layout
9825
9826 \begin_layout Subsection
9827 Multiple Lines in Table Cells
9828 \begin_inset LatexCommand label
9829 name "sub:Multiple-Lines-in"
9830
9831 \end_inset
9832
9833
9834 \begin_inset LatexCommand index
9835 name "Multiple Lines in Table Cells"
9836
9837 \end_inset
9838
9839
9840 \begin_inset LatexCommand index
9841 name "Table ! Linebreaks"
9842
9843 \end_inset
9844
9845
9846 \end_layout
9847
9848 \begin_layout Standard
9849 \align center
9850 \begin_inset Float table
9851 placement H
9852 wide false
9853 sideways false
9854 status open
9855
9856 \begin_layout Standard
9857 \begin_inset Caption
9858
9859 \begin_layout Standard
9860 \begin_inset LatexCommand label
9861 name "tab:Table-with-multiple"
9862
9863 \end_inset
9864
9865 Table with multiple lines in cells
9866 \end_layout
9867
9868 \end_inset
9869
9870
9871 \end_layout
9872
9873 \begin_layout Standard
9874 \align center
9875 \begin_inset Tabular
9876 <lyxtabular version="3" rows="3" columns="3">
9877 <features>
9878 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9879 <column alignment="center" valignment="middle" leftline="true" width="0">
9880 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
9881 <row topline="true">
9882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9883 \begin_inset Text
9884
9885 \begin_layout Standard
9886 multiple
9887 \begin_inset ERT
9888 status collapsed
9889
9890 \begin_layout Standard
9891
9892
9893 \backslash
9894 linebreak 
9895 \end_layout
9896
9897 \end_inset
9898
9899  lines
9900 \end_layout
9901
9902 \end_inset
9903 </cell>
9904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9905 \begin_inset Text
9906
9907 \begin_layout Standard
9908 b
9909 \end_layout
9910
9911 \end_inset
9912 </cell>
9913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9914 \begin_inset Text
9915
9916 \begin_layout Standard
9917 c
9918 \end_layout
9919
9920 \end_inset
9921 </cell>
9922 </row>
9923 <row topline="true">
9924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9925 \begin_inset Text
9926
9927 \begin_layout Standard
9928 d
9929 \end_layout
9930
9931 \end_inset
9932 </cell>
9933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9934 \begin_inset Text
9935
9936 \begin_layout Standard
9937 e
9938 \end_layout
9939
9940 \end_inset
9941 </cell>
9942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9943 \begin_inset Text
9944
9945 \begin_layout Standard
9946 f
9947 \end_layout
9948
9949 \end_inset
9950 </cell>
9951 </row>
9952 <row topline="true" bottomline="true">
9953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9954 \begin_inset Text
9955
9956 \begin_layout Standard
9957 g
9958 \end_layout
9959
9960 \end_inset
9961 </cell>
9962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9963 \begin_inset Text
9964
9965 \begin_layout Standard
9966 h
9967 \end_layout
9968
9969 \end_inset
9970 </cell>
9971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9972 \begin_inset Text
9973
9974 \begin_layout Standard
9975 i
9976 \end_layout
9977
9978 \end_inset
9979 </cell>
9980 </row>
9981 </lyxtabular>
9982
9983 \end_inset
9984
9985
9986 \end_layout
9987
9988 \end_inset
9989
9990
9991 \end_layout
9992
9993 \begin_layout Standard
9994 Adjusting a fixed width for a column, enables to enter text as a paragraph
9995  with multiple lines and hyphenations.
9996 \end_layout
9997
9998 \begin_layout Standard
9999 To produce Table\InsetSpace ~
10000
10001 \begin_inset LatexCommand ref
10002 reference "tab:Table-with-multiple"
10003
10004 \end_inset
10005
10006 , create a 3×3 table, mark the first cell and right-click on it.
10007  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10008 cm and choose centered
10009  for the vertical and horizontal alignment.
10010  The vertical alignment is used for all cells of the row.
10011  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10012 cm, only one line will appear.
10013  To get two lines, we add a line break with the command
10014 \end_layout
10015
10016 \begin_layout Standard
10017
10018 \series bold
10019
10020 \backslash
10021 linebreak
10022 \end_layout
10023
10024 \begin_layout Standard
10025 in ERT.
10026  If the text is wider than the set cell width it will automatically be broken
10027  to several lines.
10028 \end_layout
10029
10030 \begin_layout Standard
10031 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10032  by LaTeX if it is the first entry.
10033  Therefore you need to insert something, to make the word not being the
10034  first entry: Add the command
10035 \end_layout
10036
10037 \begin_layout Standard
10038
10039 \series bold
10040
10041 \backslash
10042 hspace{0pt}
10043 \end_layout
10044
10045 \begin_layout Standard
10046 in ERT before the word.
10047  As the space is zero, it doesn't change the output.
10048  Table\InsetSpace ~
10049
10050 \begin_inset LatexCommand ref
10051 reference "tab:Table-with-and"
10052
10053 \end_inset
10054
10055  shows the effect.
10056 \end_layout
10057
10058 \begin_layout Standard
10059 \begin_inset Float table
10060 placement h
10061 wide false
10062 sideways false
10063 status open
10064
10065 \begin_layout Standard
10066 \begin_inset Caption
10067
10068 \begin_layout Standard
10069 \begin_inset LatexCommand label
10070 name "tab:Table-with-and"
10071
10072 \end_inset
10073
10074 Table with and without hyphenation
10075 \end_layout
10076
10077 \end_inset
10078
10079
10080 \end_layout
10081
10082 \begin_layout Standard
10083
10084 \hfill
10085
10086 \begin_inset Tabular
10087 <lyxtabular version="3" rows="3" columns="3">
10088 <features>
10089 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10090 <column alignment="center" valignment="middle" leftline="true" width="0">
10091 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10092 <row topline="true">
10093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10094 \begin_inset Text
10095
10096 \begin_layout Standard
10097 verylongtablecellword
10098 \end_layout
10099
10100 \end_inset
10101 </cell>
10102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10103 \begin_inset Text
10104
10105 \begin_layout Standard
10106 b
10107 \end_layout
10108
10109 \end_inset
10110 </cell>
10111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10112 \begin_inset Text
10113
10114 \begin_layout Standard
10115 c
10116 \end_layout
10117
10118 \end_inset
10119 </cell>
10120 </row>
10121 <row topline="true">
10122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10123 \begin_inset Text
10124
10125 \begin_layout Standard
10126 d
10127 \end_layout
10128
10129 \end_inset
10130 </cell>
10131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10132 \begin_inset Text
10133
10134 \begin_layout Standard
10135 e
10136 \end_layout
10137
10138 \end_inset
10139 </cell>
10140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10141 \begin_inset Text
10142
10143 \begin_layout Standard
10144 f
10145 \end_layout
10146
10147 \end_inset
10148 </cell>
10149 </row>
10150 <row topline="true" bottomline="true">
10151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10152 \begin_inset Text
10153
10154 \begin_layout Standard
10155 g
10156 \end_layout
10157
10158 \end_inset
10159 </cell>
10160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10161 \begin_inset Text
10162
10163 \begin_layout Standard
10164 h
10165 \end_layout
10166
10167 \end_inset
10168 </cell>
10169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10170 \begin_inset Text
10171
10172 \begin_layout Standard
10173 i
10174 \end_layout
10175
10176 \end_inset
10177 </cell>
10178 </row>
10179 </lyxtabular>
10180
10181 \end_inset
10182
10183
10184 \hfill
10185
10186 \begin_inset Tabular
10187 <lyxtabular version="3" rows="3" columns="3">
10188 <features>
10189 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10190 <column alignment="center" valignment="middle" leftline="true" width="0">
10191 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10192 <row topline="true">
10193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10194 \begin_inset Text
10195
10196 \begin_layout Standard
10197 \begin_inset ERT
10198 status collapsed
10199
10200 \begin_layout Standard
10201
10202
10203 \backslash
10204 hspace{0pt}
10205 \end_layout
10206
10207 \end_inset
10208
10209 verylongtablecellword
10210 \end_layout
10211
10212 \end_inset
10213 </cell>
10214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10215 \begin_inset Text
10216
10217 \begin_layout Standard
10218 b
10219 \end_layout
10220
10221 \end_inset
10222 </cell>
10223 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10224 \begin_inset Text
10225
10226 \begin_layout Standard
10227 c
10228 \end_layout
10229
10230 \end_inset
10231 </cell>
10232 </row>
10233 <row topline="true">
10234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10235 \begin_inset Text
10236
10237 \begin_layout Standard
10238 d
10239 \end_layout
10240
10241 \end_inset
10242 </cell>
10243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10244 \begin_inset Text
10245
10246 \begin_layout Standard
10247 e
10248 \end_layout
10249
10250 \end_inset
10251 </cell>
10252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10253 \begin_inset Text
10254
10255 \begin_layout Standard
10256 f
10257 \end_layout
10258
10259 \end_inset
10260 </cell>
10261 </row>
10262 <row topline="true" bottomline="true">
10263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10264 \begin_inset Text
10265
10266 \begin_layout Standard
10267 g
10268 \end_layout
10269
10270 \end_inset
10271 </cell>
10272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10273 \begin_inset Text
10274
10275 \begin_layout Standard
10276 h
10277 \end_layout
10278
10279 \end_inset
10280 </cell>
10281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10282 \begin_inset Text
10283
10284 \begin_layout Standard
10285 i
10286 \end_layout
10287
10288 \end_inset
10289 </cell>
10290 </row>
10291 </lyxtabular>
10292
10293 \end_inset
10294
10295
10296 \hfill
10297
10298 \end_layout
10299
10300 \end_inset
10301
10302
10303 \end_layout
10304
10305 \begin_layout Standard
10306
10307 \newpage
10308
10309 \end_layout
10310
10311 \begin_layout Subsection
10312 Multicolumns
10313 \begin_inset LatexCommand label
10314 name "sub:Multicolumns"
10315
10316 \end_inset
10317
10318
10319 \begin_inset LatexCommand index
10320 name "Multicolumns"
10321
10322 \end_inset
10323
10324
10325 \begin_inset LatexCommand index
10326 name "Table ! Multicolumns"
10327
10328 \end_inset
10329
10330
10331 \end_layout
10332
10333 \begin_layout Subsubsection
10334 Multicolumn Basics
10335 \end_layout
10336
10337 \begin_layout Standard
10338 To span a cell over multiple columns, mark as much cells within a line that
10339  should be one spanned cell and use either the table-toolbar button 
10340 \begin_inset Graphics
10341         filename ../images/tabular-feature_multicolumn.xpm
10342         scale 85
10343
10344 \end_inset
10345
10346 , or the menu 
10347 \family sans
10348 Edit\SpecialChar \menuseparator
10349 Table\SpecialChar \menuseparator
10350 Multicolumn
10351 \family default
10352 , or right click on the marked cells and choose multicolumn in the appearing
10353  table dialog under the tab 
10354 \family sans
10355 Table Settings
10356 \family default
10357 .
10358 \end_layout
10359
10360 \begin_layout Standard
10361 Multicolumns have there own cell settings.
10362  That means changing cell borders, cell alignment, and the width only affects
10363  the multicolumn.
10364  Here is an example table with a multicolumn cell in the first row and one
10365  in the last row without the upper border:
10366 \end_layout
10367
10368 \begin_layout Standard
10369 \align center
10370 \begin_inset Tabular
10371 <lyxtabular version="3" rows="3" columns="4">
10372 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10373 <column alignment="center" valignment="top" leftline="true" width="0pt">
10374 <column alignment="center" valignment="middle" leftline="true" width="0">
10375 <column alignment="center" valignment="top" leftline="true" width="0in">
10376 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10377 <row topline="true" bottomline="true">
10378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10379 \begin_inset Text
10380
10381 \begin_layout Standard
10382 abc
10383 \end_layout
10384
10385 \end_inset
10386 </cell>
10387 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10388 \begin_inset Text
10389
10390 \begin_layout Standard
10391 def
10392 \lang ngerman
10393  
10394 \lang english
10395 ghi
10396 \end_layout
10397
10398 \end_inset
10399 </cell>
10400 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10401 \begin_inset Text
10402
10403 \begin_layout Standard
10404
10405 \end_layout
10406
10407 \end_inset
10408 </cell>
10409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10410 \begin_inset Text
10411
10412 \begin_layout Standard
10413 jkl
10414 \end_layout
10415
10416 \end_inset
10417 </cell>
10418 </row>
10419 <row topline="true">
10420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10421 \begin_inset Text
10422
10423 \begin_layout Standard
10424
10425 \family roman
10426 \series medium
10427 \shape up
10428 \size normal
10429 \emph off
10430 \bar no
10431 \noun off
10432 \color none
10433 A
10434 \end_layout
10435
10436 \end_inset
10437 </cell>
10438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10439 \begin_inset Text
10440
10441 \begin_layout Standard
10442 B
10443 \end_layout
10444
10445 \end_inset
10446 </cell>
10447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10448 \begin_inset Text
10449
10450 \begin_layout Standard
10451 C
10452 \end_layout
10453
10454 \end_inset
10455 </cell>
10456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10457 \begin_inset Text
10458
10459 \begin_layout Standard
10460 D
10461 \end_layout
10462
10463 \end_inset
10464 </cell>
10465 </row>
10466 <row topline="true" bottomline="true">
10467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10468 \begin_inset Text
10469
10470 \begin_layout Standard
10471 1
10472 \end_layout
10473
10474 \end_inset
10475 </cell>
10476 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10477 \begin_inset Text
10478
10479 \begin_layout Standard
10480 2
10481 \end_layout
10482
10483 \end_inset
10484 </cell>
10485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10486 \begin_inset Text
10487
10488 \begin_layout Standard
10489 3
10490 \end_layout
10491
10492 \end_inset
10493 </cell>
10494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10495 \begin_inset Text
10496
10497 \begin_layout Standard
10498 4
10499 \end_layout
10500
10501 \end_inset
10502 </cell>
10503 </row>
10504 </lyxtabular>
10505
10506 \end_inset
10507
10508
10509 \end_layout
10510
10511 \begin_layout Subsubsection
10512 Multicolumn Calculations
10513 \begin_inset LatexCommand label
10514 name "sub:Multicolumn-Calculations"
10515
10516 \end_inset
10517
10518
10519 \begin_inset LatexCommand index
10520 name "Multicolumns ! Calculations"
10521
10522 \end_inset
10523
10524
10525 \end_layout
10526
10527 \begin_layout Standard
10528 LyX supports multicolumns directly, but we have to take notice of the cell
10529  width of the columns spanned by the multicolumn cell.
10530 \end_layout
10531
10532 \begin_layout Standard
10533 \begin_inset Float table
10534 wide false
10535 sideways false
10536 status open
10537
10538 \begin_layout Standard
10539 \begin_inset Caption
10540
10541 \begin_layout Standard
10542 \begin_inset LatexCommand label
10543 name "tab:Table-with-centered"
10544
10545 \end_inset
10546
10547 Table with centered multicolumn text above two columns that have exactly
10548  half the width of the multicolumn cell
10549 \begin_inset OptArg
10550 status collapsed
10551
10552 \begin_layout Standard
10553 Perfect multicolumn table
10554 \end_layout
10555
10556 \end_inset
10557
10558
10559 \end_layout
10560
10561 \end_inset
10562
10563
10564 \end_layout
10565
10566 \begin_layout Standard
10567 \align center
10568 \begin_inset Tabular
10569 <lyxtabular version="3" rows="3" columns="3">
10570 <features>
10571 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10572 <column alignment="center" valignment="middle" leftline="true" width="0">
10573 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10574 <row topline="true">
10575 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10576 \begin_inset Text
10577
10578 \begin_layout Standard
10579 multiple lines multicolumn
10580 \end_layout
10581
10582 \end_inset
10583 </cell>
10584 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10585 \begin_inset Text
10586
10587 \begin_layout Standard
10588
10589 \end_layout
10590
10591 \end_inset
10592 </cell>
10593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10594 \begin_inset Text
10595
10596 \begin_layout Standard
10597 c
10598 \end_layout
10599
10600 \end_inset
10601 </cell>
10602 </row>
10603 <row topline="true">
10604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10605 \begin_inset Text
10606
10607 \begin_layout Standard
10608 d
10609 \end_layout
10610
10611 \end_inset
10612 </cell>
10613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10614 \begin_inset Text
10615
10616 \begin_layout Standard
10617 e
10618 \end_layout
10619
10620 \end_inset
10621 </cell>
10622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10623 \begin_inset Text
10624
10625 \begin_layout Standard
10626 f
10627 \end_layout
10628
10629 \end_inset
10630 </cell>
10631 </row>
10632 <row topline="true" bottomline="true">
10633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10634 \begin_inset Text
10635
10636 \begin_layout Standard
10637 g
10638 \end_layout
10639
10640 \end_inset
10641 </cell>
10642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10643 \begin_inset Text
10644
10645 \begin_layout Standard
10646 h
10647 \end_layout
10648
10649 \end_inset
10650 </cell>
10651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10652 \begin_inset Text
10653
10654 \begin_layout Standard
10655 i
10656 \end_layout
10657
10658 \end_inset
10659 </cell>
10660 </row>
10661 </lyxtabular>
10662
10663 \end_inset
10664
10665
10666 \end_layout
10667
10668 \end_inset
10669
10670
10671 \end_layout
10672
10673 \begin_layout Standard
10674 To create for example Table\InsetSpace ~
10675
10676 \begin_inset LatexCommand ref
10677 reference "tab:Table-with-centered"
10678
10679 \end_inset
10680
10681 , mark the first two cells in the first row of a 3×3 table and right-click
10682  on them.
10683  Now choose for this cell 
10684 \emph on
10685 multicolumn
10686 \emph default
10687
10688 \emph on
10689 centered alignment
10690 \emph default
10691  and a width of 2.5\InsetSpace \thinspace{}
10692 cm in the table dialog.
10693  The spanned columns should have exactly half the width of the multicolumn
10694  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10695 cm for the first column.
10696  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10697 cm (multicolumn
10698  width - width of first column).
10699  This was done for Table\InsetSpace ~
10700
10701 \begin_inset LatexCommand ref
10702 reference "tab:Table-without-half"
10703
10704 \end_inset
10705
10706 .
10707 \end_layout
10708
10709 \begin_layout Standard
10710 \begin_inset Float table
10711 wide false
10712 sideways false
10713 status open
10714
10715 \begin_layout Standard
10716 \begin_inset Caption
10717
10718 \begin_layout Standard
10719 \begin_inset LatexCommand label
10720 name "tab:Table-without-half"
10721
10722 \end_inset
10723
10724 Table where the spanned table columns have not exactly half the width of
10725  the multicolumn cell
10726 \begin_inset OptArg
10727 status collapsed
10728
10729 \begin_layout Standard
10730 Imperfect multicolumn table
10731 \end_layout
10732
10733 \end_inset
10734
10735
10736 \end_layout
10737
10738 \end_inset
10739
10740
10741 \end_layout
10742
10743 \begin_layout Standard
10744 \align center
10745 \begin_inset Tabular
10746 <lyxtabular version="3" rows="3" columns="3">
10747 <features>
10748 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10749 <column alignment="center" valignment="top" leftline="true" width="0">
10750 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10751 <row topline="true" bottomline="true">
10752 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10753 \begin_inset Text
10754
10755 \begin_layout Standard
10756 multiple lines multicolumn
10757 \end_layout
10758
10759 \end_inset
10760 </cell>
10761 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10762 \begin_inset Text
10763
10764 \begin_layout Standard
10765
10766 \end_layout
10767
10768 \end_inset
10769 </cell>
10770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10771 \begin_inset Text
10772
10773 \begin_layout Standard
10774 c
10775 \end_layout
10776
10777 \end_inset
10778 </cell>
10779 </row>
10780 <row topline="true">
10781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10782 \begin_inset Text
10783
10784 \begin_layout Standard
10785 d
10786 \end_layout
10787
10788 \end_inset
10789 </cell>
10790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10791 \begin_inset Text
10792
10793 \begin_layout Standard
10794 e
10795 \end_layout
10796
10797 \end_inset
10798 </cell>
10799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10800 \begin_inset Text
10801
10802 \begin_layout Standard
10803 f
10804 \end_layout
10805
10806 \end_inset
10807 </cell>
10808 </row>
10809 <row topline="true" bottomline="true">
10810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10811 \begin_inset Text
10812
10813 \begin_layout Standard
10814 g
10815 \end_layout
10816
10817 \end_inset
10818 </cell>
10819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10820 \begin_inset Text
10821
10822 \begin_layout Standard
10823 h
10824 \end_layout
10825
10826 \end_inset
10827 </cell>
10828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10829 \begin_inset Text
10830
10831 \begin_layout Standard
10832 i
10833 \end_layout
10834
10835 \end_inset
10836 </cell>
10837 </row>
10838 </lyxtabular>
10839
10840 \end_inset
10841
10842
10843 \end_layout
10844
10845 \end_inset
10846
10847
10848 \end_layout
10849
10850 \begin_layout Standard
10851 You can see that the first column has not the half width of the multicolumn
10852  cell, it is a bit bigger.
10853  The reason is that the given width of a cell 
10854 \begin_inset Formula $W_{g}$
10855 \end_inset
10856
10857  is not its total width 
10858 \begin_inset Formula $W_{\mathrm{tot}}$
10859 \end_inset
10860
10861  because a cell is always a bit larger than its given width.
10862  Appendix\InsetSpace ~
10863
10864 \begin_inset LatexCommand eqref
10865 reference "cha:Explanation-of-Equation"
10866
10867 \end_inset
10868
10869  explains it in detail.
10870 \end_layout
10871
10872 \begin_layout Standard
10873 The needed given width 
10874 \begin_inset Formula $W_{g\, n}$
10875 \end_inset
10876
10877  when 
10878 \emph on
10879 n
10880 \emph default
10881  columns are spanned can be calculated, so that each column has a total
10882  width of 
10883 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10884 \end_inset
10885
10886 :
10887 \begin_inset Formula \begin{equation}
10888 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10889
10890 \end_inset
10891
10892
10893 \end_layout
10894
10895 \begin_layout Standard
10896 In our case we have 
10897 \begin_inset Formula $n=2$
10898 \end_inset
10899
10900
10901 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10902 \end_inset
10903
10904 cm and the default values for the lengths, so that equation 
10905 \begin_inset LatexCommand ref
10906 reference "eq:Wgn"
10907
10908 \end_inset
10909
10910  becomes
10911 \begin_inset Formula \begin{equation}
10912 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10913
10914 \end_inset
10915
10916
10917 \end_layout
10918
10919 \begin_layout Standard
10920 To enable calculations in LaTeX, the LaTeX-package 
10921 \series bold
10922 calc
10923 \series default
10924  must be loaded with the document preamble line
10925 \begin_inset LatexCommand index
10926 name "LaTeX-packages ! calc"
10927
10928 \end_inset
10929
10930
10931 \end_layout
10932
10933 \begin_layout Standard
10934
10935 \series bold
10936
10937 \backslash
10938 usepackage{calc}
10939 \end_layout
10940
10941 \begin_layout Standard
10942 LyX does not allow to calculate lengths in the width-field of the table
10943  dialog.
10944  Therefore you have to format the column by inserting a LaTeX-argument in
10945  the dialog.
10946  Here is an overview about the arguments:
10947 \end_layout
10948
10949 \begin_layout Itemize
10950
10951 \series bold
10952 p{width}
10953 \series default
10954  creates cell with a fixed width, its text is vertically top-aligned
10955 \end_layout
10956
10957 \begin_layout Itemize
10958
10959 \series bold
10960 m{width}
10961 \series default
10962  creates cell with a fixed width, its text is vertically centered
10963 \end_layout
10964
10965 \begin_layout Itemize
10966
10967 \series bold
10968 b{width}
10969 \series default
10970  creates cell with a fixed width, its text is vertically bottom-aligned
10971 \end_layout
10972
10973 \begin_layout Standard
10974 By entering a LaTeX-argument, all cell properties set in the table dialog
10975  are overwritten.
10976  
10977 \begin_inset Note Greyedout
10978 status open
10979
10980 \begin_layout Standard
10981
10982 \series bold
10983 Note:
10984 \series default
10985  Due to a bug, LyX shows the overwritten properties anyway.
10986 \end_layout
10987
10988 \end_inset
10989
10990  As the text should be horizontally centered, the command 
10991 \series bold
10992
10993 \backslash
10994 centering
10995 \series default
10996  is added.
10997  You can now enter the following LaTeX-argument for the first spanned column:
10998 \end_layout
10999
11000 \begin_layout Standard
11001
11002 \series bold
11003 >{
11004 \backslash
11005 centering}m{1.25cm-6.2pt}
11006 \end_layout
11007
11008 \begin_layout Standard
11009 The command 
11010 \series bold
11011 >{ }
11012 \series default
11013  means, that the commands inside the braces are applied before the cell
11014  is created.
11015 \end_layout
11016
11017 \begin_layout Standard
11018 Although we have chosen centered alignment for the text of the multicolumn
11019  cell, it is still left aligned.
11020  This is because LyX only applies the alignment to single columns.
11021  So we have to use for the multicolumn the LaTeX-argument
11022 \end_layout
11023
11024 \begin_layout Standard
11025
11026 \series bold
11027 >{
11028 \backslash
11029 centering}m{2.5cm}
11030 \end_layout
11031
11032 \begin_layout Subsection
11033 Multirows
11034 \begin_inset LatexCommand index
11035 name "Multirows"
11036
11037 \end_inset
11038
11039
11040 \begin_inset LatexCommand index
11041 name "Table ! Multirows"
11042
11043 \end_inset
11044
11045
11046 \begin_inset LatexCommand index
11047 name "LaTeX-packages ! multirow"
11048
11049 \end_inset
11050
11051
11052 \end_layout
11053
11054 \begin_layout Standard
11055 In contrary to multicolumns multirows are not yet supported by LyX so a
11056  bit of ERT needs to be used.
11057  To use multirows load the LaTeX-package 
11058 \series bold
11059 multirow
11060 \series default
11061  in your document preamble with the command
11062 \end_layout
11063
11064 \begin_layout Standard
11065
11066 \series bold
11067
11068 \backslash
11069 usepackage{multirow}
11070 \end_layout
11071
11072 \begin_layout Standard
11073 Multirows are created with the command
11074 \end_layout
11075
11076 \begin_layout Standard
11077
11078 \series bold
11079
11080 \backslash
11081 multirow{number of rows}{cell width}{cell entry}
11082 \end_layout
11083
11084 \begin_layout Standard
11085 To create the following table:
11086 \end_layout
11087
11088 \begin_layout Standard
11089 \align center
11090 \begin_inset ERT
11091 status collapsed
11092
11093 \begin_layout Standard
11094
11095
11096 \backslash
11097 renewcommand{
11098 \backslash
11099 multirowsetup}{
11100 \backslash
11101 centering}
11102 \end_layout
11103
11104 \end_inset
11105
11106
11107 \begin_inset Tabular
11108 <lyxtabular version="3" rows="3" columns="3">
11109 <features>
11110 <column alignment="center" valignment="top" leftline="true" width="0">
11111 <column alignment="center" valignment="top" leftline="true" width="0">
11112 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11113 <row topline="true">
11114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11115 \begin_inset Text
11116
11117 \begin_layout Standard
11118 a
11119 \end_layout
11120
11121 \end_inset
11122 </cell>
11123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11124 \begin_inset Text
11125
11126 \begin_layout Standard
11127 b
11128 \end_layout
11129
11130 \end_inset
11131 </cell>
11132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11133 \begin_inset Text
11134
11135 \begin_layout Standard
11136 c
11137 \end_layout
11138
11139 \end_inset
11140 </cell>
11141 </row>
11142 <row topline="true">
11143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11144 \begin_inset Text
11145
11146 \begin_layout Standard
11147 \begin_inset ERT
11148 status collapsed
11149
11150 \begin_layout Standard
11151
11152
11153 \backslash
11154 multirow{2}{2.5cm}{
11155 \end_layout
11156
11157 \end_inset
11158
11159 multirow entry
11160 \begin_inset ERT
11161 status collapsed
11162
11163 \begin_layout Standard
11164
11165 }
11166 \end_layout
11167
11168 \end_inset
11169
11170
11171 \end_layout
11172
11173 \end_inset
11174 </cell>
11175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11176 \begin_inset Text
11177
11178 \begin_layout Standard
11179 e
11180 \end_layout
11181
11182 \end_inset
11183 </cell>
11184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11185 \begin_inset Text
11186
11187 \begin_layout Standard
11188 f
11189 \end_layout
11190
11191 \end_inset
11192 </cell>
11193 </row>
11194 <row topline="true" bottomline="true">
11195 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11196 \begin_inset Text
11197
11198 \begin_layout Standard
11199
11200 \end_layout
11201
11202 \end_inset
11203 </cell>
11204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11205 \begin_inset Text
11206
11207 \begin_layout Standard
11208 h
11209 \end_layout
11210
11211 \end_inset
11212 </cell>
11213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11214 \begin_inset Text
11215
11216 \begin_layout Standard
11217 i
11218 \end_layout
11219
11220 \end_inset
11221 </cell>
11222 </row>
11223 </lyxtabular>
11224
11225 \end_inset
11226
11227
11228 \begin_inset ERT
11229 status collapsed
11230
11231 \begin_layout Standard
11232
11233
11234 \backslash
11235 renewcommand{
11236 \backslash
11237 multirowsetup}{
11238 \backslash
11239 raggedright}
11240 \end_layout
11241
11242 \end_inset
11243
11244
11245 \end_layout
11246
11247 \begin_layout Standard
11248 create a 3×3 table.
11249  To get rid of the line above the last cell in the first column, the cell
11250  is marked as multicolumn and the upper border is unset.
11251  The multirow is now created in the second row of the first column by inserting
11252  there the command
11253 \end_layout
11254
11255 \begin_layout Standard
11256
11257 \series bold
11258
11259 \backslash
11260 multirow{2}{2.5cm}{
11261 \end_layout
11262
11263 \begin_layout Standard
11264 as ERT.
11265  According to the command parameters the multirow spans now two rows and
11266  has a width of 2.5\InsetSpace \thinspace{}
11267 cm.
11268  The content of the multirow cell follows outside the ERT box and the command
11269  is finished with a right brace 
11270 \series bold
11271 }
11272 \series default
11273  in another ERT-box behind the text.
11274 \end_layout
11275
11276 \begin_layout Standard
11277
11278 \series bold
11279
11280 \backslash
11281 multirow
11282 \series default
11283  left-aligns its content by default.
11284  To override the default, renew the command 
11285 \series bold
11286
11287 \backslash
11288 multirowsetup
11289 \series default
11290  with the command
11291 \end_layout
11292
11293 \begin_layout Standard
11294
11295 \series bold
11296
11297 \backslash
11298 renewcommand{
11299 \backslash
11300 multirowsetup}{
11301 \backslash
11302 centering}
11303 \end_layout
11304
11305 \begin_layout Standard
11306 in ERT in the document preamble.
11307  Then all entries of multirow cells in the document are centered.
11308  If centering is only needed for several tables, you can renew the command
11309  in an ERT box just before the table instead of the preamble.
11310  If the text should be right-aligned, replace 
11311 \series bold
11312
11313 \backslash
11314 centering
11315 \series default
11316  by 
11317 \series bold
11318
11319 \backslash
11320 raggedleft
11321 \series default
11322 .
11323  To return to left-alignment 
11324 \series bold
11325
11326 \backslash
11327 raggedright
11328 \series default
11329  is used.
11330 \end_layout
11331
11332 \begin_layout Section
11333 Formal Tables
11334 \begin_inset LatexCommand label
11335 name "sec:Formal-Tables"
11336
11337 \end_inset
11338
11339
11340 \begin_inset LatexCommand index
11341 name "Table ! Formal"
11342
11343 \end_inset
11344
11345
11346 \end_layout
11347
11348 \begin_layout Standard
11349 Tables are often typeset in books similar to Table\InsetSpace ~
11350
11351 \begin_inset LatexCommand ref
11352 reference "tab:Example-booktabs-table"
11353
11354 \end_inset
11355
11356 .
11357  This kind of tables is called 
11358 \begin_inset Quotes eld
11359 \end_inset
11360
11361
11362 \emph on
11363 formal
11364 \emph default
11365
11366 \begin_inset Quotes erd
11367 \end_inset
11368
11369 .
11370  To make a table a formal table use the option 
11371 \family sans
11372 Formal
11373 \family default
11374  in the 
11375 \family sans
11376 Borders
11377 \family default
11378  tab of the table dialog.
11379 \end_layout
11380
11381 \begin_layout Standard
11382 \begin_inset Float table
11383 placement h
11384 wide false
11385 sideways false
11386 status open
11387
11388 \begin_layout Standard
11389 \begin_inset Caption
11390
11391 \begin_layout Standard
11392 \begin_inset LatexCommand label
11393 name "tab:Example-booktabs-table"
11394
11395 \end_inset
11396
11397 Example booktabs-table
11398 \end_layout
11399
11400 \end_inset
11401
11402
11403 \end_layout
11404
11405 \begin_layout Standard
11406 \align center
11407 \begin_inset Tabular
11408 <lyxtabular version="3" rows="8" columns="4">
11409 <features booktabs="true">
11410 <column alignment="center" valignment="top" rightline="true" width="0">
11411 <column alignment="center" valignment="top" width="0">
11412 <column alignment="center" valignment="top" width="0">
11413 <column alignment="center" valignment="top" width="0">
11414 <row topline="true">
11415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11416 \begin_inset Text
11417
11418 \begin_layout Standard
11419 System
11420 \end_layout
11421
11422 \end_inset
11423 </cell>
11424 <cell alignment="center" valignment="top" topline="true" usebox="none">
11425 \begin_inset Text
11426
11427 \begin_layout Standard
11428 Medipix
11429 \begin_inset Formula $\,$
11430 \end_inset
11431
11432 1
11433 \end_layout
11434
11435 \end_inset
11436 </cell>
11437 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11438 \begin_inset Text
11439
11440 \begin_layout Standard
11441 Medipix
11442 \begin_inset Formula $\,$
11443 \end_inset
11444
11445 2
11446 \end_layout
11447
11448 \end_inset
11449 </cell>
11450 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11451 \begin_inset Text
11452
11453 \begin_layout Standard
11454
11455 \end_layout
11456
11457 \end_inset
11458 </cell>
11459 </row>
11460 <row>
11461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11462 \begin_inset Text
11463
11464 \begin_layout Standard
11465 \begin_inset ERT
11466 status collapsed
11467
11468 \begin_layout Standard
11469
11470
11471 \backslash
11472 cmidrule(r){2-2}
11473 \end_layout
11474
11475 \end_inset
11476
11477
11478 \begin_inset ERT
11479 status collapsed
11480
11481 \begin_layout Standard
11482
11483
11484 \backslash
11485 cmidrule(l){3-4}
11486 \end_layout
11487
11488 \end_inset
11489
11490 Detector thickness [µm]
11491 \end_layout
11492
11493 \end_inset
11494 </cell>
11495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11496 \begin_inset Text
11497
11498 \begin_layout Standard
11499 300
11500 \end_layout
11501
11502 \end_inset
11503 </cell>
11504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11505 \begin_inset Text
11506
11507 \begin_layout Standard
11508 300
11509 \end_layout
11510
11511 \end_inset
11512 </cell>
11513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11514 \begin_inset Text
11515
11516 \begin_layout Standard
11517 700
11518 \end_layout
11519
11520 \end_inset
11521 </cell>
11522 </row>
11523 <row topline="true">
11524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11525 \begin_inset Text
11526
11527 \begin_layout Standard
11528 Edge angle [°]
11529 \end_layout
11530
11531 \end_inset
11532 </cell>
11533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11534 \begin_inset Text
11535
11536 \begin_layout Standard
11537 3.55
11538 \end_layout
11539
11540 \end_inset
11541 </cell>
11542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11543 \begin_inset Text
11544
11545 \begin_layout Standard
11546 2.71
11547 \end_layout
11548
11549 \end_inset
11550 </cell>
11551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11552 \begin_inset Text
11553
11554 \begin_layout Standard
11555 7.99
11556 \end_layout
11557
11558 \end_inset
11559 </cell>
11560 </row>
11561 <row topspace="default">
11562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11563 \begin_inset Text
11564
11565 \begin_layout Standard
11566 Spatial resolution [µm]
11567 \end_layout
11568
11569 \end_inset
11570 </cell>
11571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11572 \begin_inset Text
11573
11574 \begin_layout Standard
11575 4.26
11576 \end_layout
11577
11578 \end_inset
11579 </cell>
11580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11581 \begin_inset Text
11582
11583 \begin_layout Standard
11584 10.17
11585 \end_layout
11586
11587 \end_inset
11588 </cell>
11589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11590 \begin_inset Text
11591
11592 \begin_layout Standard
11593 10.56
11594 \end_layout
11595
11596 \end_inset
11597 </cell>
11598 </row>
11599 <row topspace="default">
11600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11601 \begin_inset Text
11602
11603 \begin_layout Standard
11604 MTF at 
11605 \begin_inset Formula $f_{\mathrm{max}}$
11606 \end_inset
11607
11608
11609 \end_layout
11610
11611 \end_inset
11612 </cell>
11613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11614 \begin_inset Text
11615
11616 \begin_layout Standard
11617 0.53
11618 \end_layout
11619
11620 \end_inset
11621 </cell>
11622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11623 \begin_inset Text
11624
11625 \begin_layout Standard
11626 0.37
11627 \end_layout
11628
11629 \end_inset
11630 </cell>
11631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11632 \begin_inset Text
11633
11634 \begin_layout Standard
11635 0.39
11636 \end_layout
11637
11638 \end_inset
11639 </cell>
11640 </row>
11641 <row topspace="default">
11642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11643 \begin_inset Text
11644
11645 \begin_layout Standard
11646 \begin_inset ERT
11647 status collapsed
11648
11649 \begin_layout Standard
11650
11651
11652 \backslash
11653 cmidrule(l{10pt}){1-1}
11654 \end_layout
11655
11656 \end_inset
11657
11658 LSF-spatial resolution
11659 \end_layout
11660
11661 \end_inset
11662 </cell>
11663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11664 \begin_inset Text
11665
11666 \begin_layout Standard
11667
11668 \end_layout
11669
11670 \end_inset
11671 </cell>
11672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11673 \begin_inset Text
11674
11675 \begin_layout Standard
11676
11677 \end_layout
11678
11679 \end_inset
11680 </cell>
11681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11682 \begin_inset Text
11683
11684 \begin_layout Standard
11685
11686 \end_layout
11687
11688 \end_inset
11689 </cell>
11690 </row>
11691 <row>
11692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11693 \begin_inset Text
11694
11695 \begin_layout Standard
11696 in µm
11697 \end_layout
11698
11699 \end_inset
11700 </cell>
11701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11702 \begin_inset Text
11703
11704 \begin_layout Standard
11705 129.7
11706 \end_layout
11707
11708 \end_inset
11709 </cell>
11710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11711 \begin_inset Text
11712
11713 \begin_layout Standard
11714 52.75
11715 \end_layout
11716
11717 \end_inset
11718 </cell>
11719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11720 \begin_inset Text
11721
11722 \begin_layout Standard
11723 50.78
11724 \end_layout
11725
11726 \end_inset
11727 </cell>
11728 </row>
11729 <row bottomline="true">
11730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11731 \begin_inset Text
11732
11733 \begin_layout Standard
11734 in % of pixel size
11735 \end_layout
11736
11737 \end_inset
11738 </cell>
11739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11740 \begin_inset Text
11741
11742 \begin_layout Standard
11743 76.3
11744 \end_layout
11745
11746 \end_inset
11747 </cell>
11748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11749 \begin_inset Text
11750
11751 \begin_layout Standard
11752 95.9
11753 \end_layout
11754
11755 \end_inset
11756 </cell>
11757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11758 \begin_inset Text
11759
11760 \begin_layout Standard
11761 92.3
11762 \end_layout
11763
11764 \end_inset
11765 </cell>
11766 </row>
11767 </lyxtabular>
11768
11769 \end_inset
11770
11771
11772 \end_layout
11773
11774 \end_inset
11775
11776
11777 \end_layout
11778
11779 \begin_layout Standard
11780 Spaces to table rows can be added using the 
11781 \family sans
11782 Borders
11783 \family default
11784  tab of the table dialog as described in section\InsetSpace ~
11785
11786 \begin_inset LatexCommand ref
11787 reference "sub:Row-Spacing"
11788
11789 \end_inset
11790
11791 .
11792 \end_layout
11793
11794 \begin_layout Standard
11795 In contrary to normal tables, formal tables have no vertical table lines.
11796  The horizontal table lines can be set like for normal tables but they appear
11797  with different width in the output:
11798 \newline
11799 The first and the last table line have
11800  a default width of 0.08\InsetSpace \thinspace{}
11801 em while the other lines have a default width of
11802  0.05\InsetSpace \thinspace{}
11803 em.
11804 \end_layout
11805
11806 \begin_layout Standard
11807 The default widths can be changed with the following preamble lines
11808 \end_layout
11809
11810 \begin_layout Standard
11811
11812 \series bold
11813
11814 \backslash
11815 let
11816 \backslash
11817 mytoprule
11818 \backslash
11819 toprule
11820 \newline
11821
11822 \backslash
11823 renewcommand{
11824 \backslash
11825 toprule}{
11826 \backslash
11827 mytoprule[width]}
11828 \end_layout
11829
11830 \begin_layout Standard
11831 This example is for the first line, the so called toprule.
11832  If you want to change the width for the last line, replace 
11833 \series bold
11834 toprule
11835 \series default
11836  by 
11837 \series bold
11838 bottomrule
11839 \series default
11840 .
11841  To change the width for the other lines replace 
11842 \series bold
11843 toprule
11844 \series default
11845  by 
11846 \series bold
11847 midrule
11848 \series default
11849 .
11850  You can use all units listed in appendix\InsetSpace ~
11851
11852 \begin_inset LatexCommand ref
11853 reference "cha:Units-available-in"
11854
11855 \end_inset
11856
11857  to set the width.
11858 \end_layout
11859
11860 \begin_layout Standard
11861 Lines that don't span over all table columns can be created by setting a
11862  table line for multicolumn cells.
11863  LyX will then internally use the command 
11864 \series bold
11865
11866 \backslash
11867 cmidrule
11868 \series default
11869  to create this line.
11870  Its full scheme is
11871 \end_layout
11872
11873 \begin_layout Standard
11874
11875 \series bold
11876
11877 \backslash
11878 cmidrule[width](trim){startcol-endcol}
11879 \end_layout
11880
11881 \begin_layout Standard
11882 The options of 
11883 \series bold
11884
11885 \backslash
11886 cmidrule
11887 \series default
11888  are are currently not supported by LyX so you have to use ERT to be able
11889  to use them.
11890  
11891 \series bold
11892
11893 \backslash
11894 cmidrule
11895 \series default
11896 s can manually be created by inserting the command as ERT as first cell
11897  entry of the first cell of a row.
11898  The line is then drawn in the output above the current row.
11899 \end_layout
11900
11901 \begin_layout Standard
11902 The default for the width is 0.03\InsetSpace \thinspace{}
11903 em.
11904  Startcol is the number of the column where the line starts and endcol the
11905  column number where the line ends.
11906  The endcol always needs to be specified, also when the line should span
11907  only one column.
11908  The optional parameter trim could be either 
11909 \emph on
11910 l{trimwidth}
11911 \emph default
11912 , or 
11913 \emph on
11914 r{trimwidth}
11915 \emph default
11916  where the trimwidth is also optional.
11917  Using for example the parameter 
11918 \emph on
11919 l{2pt}
11920 \emph default
11921  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11922 pt.
11923  If you don't specify the trimwidth the lines are trimmed by the default
11924  of 0.5\InsetSpace \thinspace{}
11925 em.
11926 \end_layout
11927
11928 \begin_layout Standard
11929 \begin_inset VSpace bigskip
11930 \end_inset
11931
11932 Table\InsetSpace ~
11933
11934 \begin_inset LatexCommand ref
11935 reference "tab:Example-booktabs-table"
11936
11937 \end_inset
11938
11939  was created using the commands
11940 \end_layout
11941
11942 \begin_layout Standard
11943
11944 \series bold
11945
11946 \backslash
11947 cmidrule(r){2-2}
11948 \backslash
11949 cmidrule(l){3-4}
11950 \end_layout
11951
11952 \begin_layout Standard
11953 at the beginning of the in the second row and
11954 \end_layout
11955
11956 \begin_layout Standard
11957
11958 \series bold
11959
11960 \backslash
11961 cmidrule(l{10pt}){1-1}
11962 \end_layout
11963
11964 \begin_layout Standard
11965 in the sixth row.
11966 \end_layout
11967
11968 \begin_layout Standard
11969
11970 \end_layout
11971
11972 \begin_layout Standard
11973 \begin_inset VSpace bigskip
11974 \end_inset
11975
11976
11977 \end_layout
11978
11979 \begin_layout Standard
11980 You might want to have overlapping 
11981 \series bold
11982
11983 \backslash
11984 cmidrule
11985 \series default
11986 s like in Table\InsetSpace ~
11987
11988 \begin_inset LatexCommand ref
11989 reference "tab:Special-booktabs-table"
11990
11991 \end_inset
11992
11993 .
11994  This can be achieved with the ERT command
11995 \end_layout
11996
11997 \begin_layout Standard
11998
11999 \series bold
12000
12001 \backslash
12002 morecmidrules
12003 \end_layout
12004
12005 \begin_layout Standard
12006 The command that was used for the second row of Table\InsetSpace ~
12007
12008 \begin_inset LatexCommand ref
12009 reference "tab:Special-booktabs-table"
12010
12011 \end_inset
12012
12013  is
12014 \end_layout
12015
12016 \begin_layout Standard
12017
12018 \series bold
12019
12020 \backslash
12021 cmidrule(r){2-2}
12022 \backslash
12023 cmidrule(l){3-4}
12024 \backslash
12025 morecmidrules
12026 \backslash
12027 cmidrule{2-4}
12028 \end_layout
12029
12030 \begin_layout Standard
12031 The command for the sixth row is
12032 \end_layout
12033
12034 \begin_layout Standard
12035
12036 \series bold
12037
12038 \backslash
12039 midrule
12040 \backslash
12041 morecmidrules
12042 \backslash
12043 cmidrule{3-4}
12044 \end_layout
12045
12046 \begin_layout Standard
12047 \begin_inset VSpace bigskip
12048 \end_inset
12049
12050
12051 \end_layout
12052
12053 \begin_layout Standard
12054 If you are anyway not satisfied with the border line spacing, you can use
12055  the following command to produce lines that span over all table columns
12056 \series bold
12057 :
12058 \end_layout
12059
12060 \begin_layout Standard
12061
12062 \series bold
12063
12064 \backslash
12065 specialrule{width}{space above}{space below}
12066 \end_layout
12067
12068 \begin_layout Standard
12069 For more informations about these specialties, we refer to the manual of
12070  the LaTeX-package 
12071 \series bold
12072 booktabs
12073 \series default
12074  
12075 \begin_inset LatexCommand cite
12076 key "booktabs"
12077
12078 \end_inset
12079
12080 .
12081 \begin_inset LatexCommand index
12082 name "LaTeX-packages ! booktabs"
12083
12084 \end_inset
12085
12086
12087 \end_layout
12088
12089 \begin_layout Standard
12090 \begin_inset Float table
12091 placement h
12092 wide false
12093 sideways false
12094 status open
12095
12096 \begin_layout Standard
12097 \begin_inset Caption
12098
12099 \begin_layout Standard
12100 \begin_inset LatexCommand label
12101 name "tab:Special-booktabs-table"
12102
12103 \end_inset
12104
12105 Special booktabs-table
12106 \end_layout
12107
12108 \end_inset
12109
12110
12111 \end_layout
12112
12113 \begin_layout Standard
12114 \align center
12115 \begin_inset Tabular
12116 <lyxtabular version="3" rows="8" columns="4">
12117 <features booktabs="true">
12118 <column alignment="center" valignment="top" width="0">
12119 <column alignment="center" valignment="top" width="0">
12120 <column alignment="center" valignment="top" width="0">
12121 <column alignment="center" valignment="top" width="0">
12122 <row topline="true">
12123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12124 \begin_inset Text
12125
12126 \begin_layout Standard
12127 System
12128 \end_layout
12129
12130 \end_inset
12131 </cell>
12132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12133 \begin_inset Text
12134
12135 \begin_layout Standard
12136 Medipix\InsetSpace \thinspace{}
12137 1
12138 \end_layout
12139
12140 \end_inset
12141 </cell>
12142 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12143 \begin_inset Text
12144
12145 \begin_layout Standard
12146 Medipix\InsetSpace \thinspace{}
12147 2
12148 \end_layout
12149
12150 \end_inset
12151 </cell>
12152 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12153 \begin_inset Text
12154
12155 \begin_layout Standard
12156
12157 \end_layout
12158
12159 \end_inset
12160 </cell>
12161 </row>
12162 <row>
12163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12164 \begin_inset Text
12165
12166 \begin_layout Standard
12167 \begin_inset ERT
12168 status collapsed
12169
12170 \begin_layout Standard
12171
12172
12173 \backslash
12174 cmidrule(r){2-2}
12175 \end_layout
12176
12177 \end_inset
12178
12179
12180 \begin_inset ERT
12181 status collapsed
12182
12183 \begin_layout Standard
12184
12185
12186 \backslash
12187 cmidrule(l){3-4}
12188 \end_layout
12189
12190 \end_inset
12191
12192
12193 \begin_inset ERT
12194 status collapsed
12195
12196 \begin_layout Standard
12197
12198
12199 \backslash
12200 morecmidrules 
12201 \end_layout
12202
12203 \end_inset
12204
12205
12206 \begin_inset ERT
12207 status collapsed
12208
12209 \begin_layout Standard
12210
12211
12212 \backslash
12213 cmidrule{2-4}
12214 \end_layout
12215
12216 \end_inset
12217
12218 Detector thickness [µm]
12219 \end_layout
12220
12221 \end_inset
12222 </cell>
12223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12224 \begin_inset Text
12225
12226 \begin_layout Standard
12227 300
12228 \end_layout
12229
12230 \end_inset
12231 </cell>
12232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12233 \begin_inset Text
12234
12235 \begin_layout Standard
12236 300
12237 \end_layout
12238
12239 \end_inset
12240 </cell>
12241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12242 \begin_inset Text
12243
12244 \begin_layout Standard
12245 700
12246 \end_layout
12247
12248 \end_inset
12249 </cell>
12250 </row>
12251 <row topline="true">
12252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12253 \begin_inset Text
12254
12255 \begin_layout Standard
12256 Edge angle [°]
12257 \end_layout
12258
12259 \end_inset
12260 </cell>
12261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12262 \begin_inset Text
12263
12264 \begin_layout Standard
12265 3.55
12266 \end_layout
12267
12268 \end_inset
12269 </cell>
12270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12271 \begin_inset Text
12272
12273 \begin_layout Standard
12274 2.71
12275 \end_layout
12276
12277 \end_inset
12278 </cell>
12279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12280 \begin_inset Text
12281
12282 \begin_layout Standard
12283 7.99
12284 \end_layout
12285
12286 \end_inset
12287 </cell>
12288 </row>
12289 <row topspace="default">
12290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12291 \begin_inset Text
12292
12293 \begin_layout Standard
12294 Spatial resolution [µm]
12295 \end_layout
12296
12297 \end_inset
12298 </cell>
12299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12300 \begin_inset Text
12301
12302 \begin_layout Standard
12303 4.26
12304 \end_layout
12305
12306 \end_inset
12307 </cell>
12308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12309 \begin_inset Text
12310
12311 \begin_layout Standard
12312 10.17
12313 \end_layout
12314
12315 \end_inset
12316 </cell>
12317 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12318 \begin_inset Text
12319
12320 \begin_layout Standard
12321 10.56
12322 \end_layout
12323
12324 \end_inset
12325 </cell>
12326 </row>
12327 <row topspace="default">
12328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12329 \begin_inset Text
12330
12331 \begin_layout Standard
12332 MTF at 
12333 \begin_inset Formula $f_{\mathrm{max}}$
12334 \end_inset
12335
12336
12337 \end_layout
12338
12339 \end_inset
12340 </cell>
12341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12342 \begin_inset Text
12343
12344 \begin_layout Standard
12345 0.53
12346 \end_layout
12347
12348 \end_inset
12349 </cell>
12350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12351 \begin_inset Text
12352
12353 \begin_layout Standard
12354 0.37
12355 \end_layout
12356
12357 \end_inset
12358 </cell>
12359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12360 \begin_inset Text
12361
12362 \begin_layout Standard
12363 0.39
12364 \end_layout
12365
12366 \end_inset
12367 </cell>
12368 </row>
12369 <row topline="true">
12370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12371 \begin_inset Text
12372
12373 \begin_layout Standard
12374 \begin_inset ERT
12375 status collapsed
12376
12377 \begin_layout Standard
12378
12379
12380 \backslash
12381 morecmidrules 
12382 \end_layout
12383
12384 \end_inset
12385
12386
12387 \begin_inset ERT
12388 status collapsed
12389
12390 \begin_layout Standard
12391
12392
12393 \backslash
12394 cmidrule{3-4}
12395 \end_layout
12396
12397 \end_inset
12398
12399 LSF-spatial resolution
12400 \end_layout
12401
12402 \end_inset
12403 </cell>
12404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12405 \begin_inset Text
12406
12407 \begin_layout Standard
12408
12409 \end_layout
12410
12411 \end_inset
12412 </cell>
12413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12414 \begin_inset Text
12415
12416 \begin_layout Standard
12417
12418 \end_layout
12419
12420 \end_inset
12421 </cell>
12422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12423 \begin_inset Text
12424
12425 \begin_layout Standard
12426
12427 \end_layout
12428
12429 \end_inset
12430 </cell>
12431 </row>
12432 <row>
12433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12434 \begin_inset Text
12435
12436 \begin_layout Standard
12437 in µm
12438 \end_layout
12439
12440 \end_inset
12441 </cell>
12442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12443 \begin_inset Text
12444
12445 \begin_layout Standard
12446 129.7
12447 \end_layout
12448
12449 \end_inset
12450 </cell>
12451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12452 \begin_inset Text
12453
12454 \begin_layout Standard
12455 52.75
12456 \end_layout
12457
12458 \end_inset
12459 </cell>
12460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12461 \begin_inset Text
12462
12463 \begin_layout Standard
12464 50.78
12465 \end_layout
12466
12467 \end_inset
12468 </cell>
12469 </row>
12470 <row bottomline="true">
12471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12472 \begin_inset Text
12473
12474 \begin_layout Standard
12475 in % of pixel size
12476 \end_layout
12477
12478 \end_inset
12479 </cell>
12480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12481 \begin_inset Text
12482
12483 \begin_layout Standard
12484 76.3
12485 \end_layout
12486
12487 \end_inset
12488 </cell>
12489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12490 \begin_inset Text
12491
12492 \begin_layout Standard
12493 95.9
12494 \end_layout
12495
12496 \end_inset
12497 </cell>
12498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12499 \begin_inset Text
12500
12501 \begin_layout Standard
12502 92.3
12503 \end_layout
12504
12505 \end_inset
12506 </cell>
12507 </row>
12508 </lyxtabular>
12509
12510 \end_inset
12511
12512
12513 \end_layout
12514
12515 \end_inset
12516
12517
12518 \end_layout
12519
12520 \begin_layout Section
12521 Vertical Table Alignment
12522 \begin_inset LatexCommand index
12523 name "Table ! Alignment"
12524
12525 \end_inset
12526
12527
12528 \end_layout
12529
12530 \begin_layout Standard
12531 To align tables vertically in a text line the table must be inside a box.
12532  The box can then be vertically aligned as described in section\InsetSpace ~
12533
12534 \begin_inset LatexCommand ref
12535 reference "sec:Box-Dialog"
12536
12537 \end_inset
12538
12539 .
12540 \end_layout
12541
12542 \begin_layout Standard
12543 In the following example the tables are inside a minipage
12544 \begin_inset Foot
12545 status collapsed
12546
12547 \begin_layout Standard
12548 Minipages are described in section\InsetSpace ~
12549
12550 \begin_inset LatexCommand ref
12551 reference "sec:Minipages"
12552
12553 \end_inset
12554
12555 .
12556 \end_layout
12557
12558 \end_inset
12559
12560  box that has a width of 15\InsetSpace \thinspace{}
12561 col%:
12562 \end_layout
12563
12564 \begin_layout Itemize
12565 test 
12566 \begin_inset Box Frameless
12567 position "t"
12568 hor_pos "c"
12569 has_inner_box 1
12570 inner_pos "c"
12571 use_parbox 0
12572 width "15col%"
12573 special "none"
12574 height "1in"
12575 height_special "totalheight"
12576 status collapsed
12577
12578 \begin_layout Standard
12579 \begin_inset Tabular
12580 <lyxtabular version="3" rows="3" columns="3">
12581 <features>
12582 <column alignment="center" valignment="top" leftline="true" width="0">
12583 <column alignment="center" valignment="top" leftline="true" width="0">
12584 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12585 <row topline="true">
12586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12587 \begin_inset Text
12588
12589 \begin_layout Standard
12590 a
12591 \end_layout
12592
12593 \end_inset
12594 </cell>
12595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12596 \begin_inset Text
12597
12598 \begin_layout Standard
12599 d
12600 \end_layout
12601
12602 \end_inset
12603 </cell>
12604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12605 \begin_inset Text
12606
12607 \begin_layout Standard
12608 g
12609 \end_layout
12610
12611 \end_inset
12612 </cell>
12613 </row>
12614 <row topline="true">
12615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12616 \begin_inset Text
12617
12618 \begin_layout Standard
12619 b
12620 \end_layout
12621
12622 \end_inset
12623 </cell>
12624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12625 \begin_inset Text
12626
12627 \begin_layout Standard
12628 e
12629 \end_layout
12630
12631 \end_inset
12632 </cell>
12633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12634 \begin_inset Text
12635
12636 \begin_layout Standard
12637 h
12638 \end_layout
12639
12640 \end_inset
12641 </cell>
12642 </row>
12643 <row topline="true" bottomline="true">
12644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12645 \begin_inset Text
12646
12647 \begin_layout Standard
12648 c
12649 \end_layout
12650
12651 \end_inset
12652 </cell>
12653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12654 \begin_inset Text
12655
12656 \begin_layout Standard
12657 f
12658 \end_layout
12659
12660 \end_inset
12661 </cell>
12662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12663 \begin_inset Text
12664
12665 \begin_layout Standard
12666 i
12667 \end_layout
12668
12669 \end_inset
12670 </cell>
12671 </row>
12672 </lyxtabular>
12673
12674 \end_inset
12675
12676
12677 \end_layout
12678
12679 \end_inset
12680
12681  test 
12682 \begin_inset ERT
12683 status collapsed
12684
12685 \begin_layout Standard
12686
12687
12688 \backslash
12689 raisebox{0.85
12690 \backslash
12691 baselineskip}{
12692 \end_layout
12693
12694 \end_inset
12695
12696
12697 \begin_inset Box Frameless
12698 position "t"
12699 hor_pos "c"
12700 has_inner_box 1
12701 inner_pos "c"
12702 use_parbox 0
12703 width "15col%"
12704 special "none"
12705 height "1in"
12706 height_special "totalheight"
12707 status collapsed
12708
12709 \begin_layout Standard
12710 \begin_inset Tabular
12711 <lyxtabular version="3" rows="3" columns="3">
12712 <features>
12713 <column alignment="center" valignment="top" leftline="true" width="0">
12714 <column alignment="center" valignment="top" leftline="true" width="0">
12715 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12716 <row topline="true">
12717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12718 \begin_inset Text
12719
12720 \begin_layout Standard
12721 a
12722 \end_layout
12723
12724 \end_inset
12725 </cell>
12726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12727 \begin_inset Text
12728
12729 \begin_layout Standard
12730 d
12731 \end_layout
12732
12733 \end_inset
12734 </cell>
12735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12736 \begin_inset Text
12737
12738 \begin_layout Standard
12739 g
12740 \end_layout
12741
12742 \end_inset
12743 </cell>
12744 </row>
12745 <row topline="true">
12746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12747 \begin_inset Text
12748
12749 \begin_layout Standard
12750 b
12751 \end_layout
12752
12753 \end_inset
12754 </cell>
12755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12756 \begin_inset Text
12757
12758 \begin_layout Standard
12759 e
12760 \end_layout
12761
12762 \end_inset
12763 </cell>
12764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12765 \begin_inset Text
12766
12767 \begin_layout Standard
12768 h
12769 \end_layout
12770
12771 \end_inset
12772 </cell>
12773 </row>
12774 <row topline="true" bottomline="true">
12775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12776 \begin_inset Text
12777
12778 \begin_layout Standard
12779 c
12780 \end_layout
12781
12782 \end_inset
12783 </cell>
12784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12785 \begin_inset Text
12786
12787 \begin_layout Standard
12788 f
12789 \end_layout
12790
12791 \end_inset
12792 </cell>
12793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12794 \begin_inset Text
12795
12796 \begin_layout Standard
12797 i
12798 \end_layout
12799
12800 \end_inset
12801 </cell>
12802 </row>
12803 </lyxtabular>
12804
12805 \end_inset
12806
12807
12808 \end_layout
12809
12810 \end_inset
12811
12812
12813 \begin_inset ERT
12814 status collapsed
12815
12816 \begin_layout Standard
12817
12818 }
12819 \end_layout
12820
12821 \end_inset
12822
12823
12824 \end_layout
12825
12826 \begin_layout Itemize
12827 test 
12828 \begin_inset Box Frameless
12829 position "c"
12830 hor_pos "c"
12831 has_inner_box 1
12832 inner_pos "c"
12833 use_parbox 0
12834 width "15col%"
12835 special "none"
12836 height "1in"
12837 height_special "totalheight"
12838 status collapsed
12839
12840 \begin_layout Standard
12841 \begin_inset Tabular
12842 <lyxtabular version="3" rows="3" columns="3">
12843 <features>
12844 <column alignment="center" valignment="top" leftline="true" width="0">
12845 <column alignment="center" valignment="top" leftline="true" width="0">
12846 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12847 <row topline="true">
12848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12849 \begin_inset Text
12850
12851 \begin_layout Standard
12852 a
12853 \end_layout
12854
12855 \end_inset
12856 </cell>
12857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12858 \begin_inset Text
12859
12860 \begin_layout Standard
12861 d
12862 \end_layout
12863
12864 \end_inset
12865 </cell>
12866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12867 \begin_inset Text
12868
12869 \begin_layout Standard
12870 g
12871 \end_layout
12872
12873 \end_inset
12874 </cell>
12875 </row>
12876 <row topline="true">
12877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12878 \begin_inset Text
12879
12880 \begin_layout Standard
12881 b
12882 \end_layout
12883
12884 \end_inset
12885 </cell>
12886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12887 \begin_inset Text
12888
12889 \begin_layout Standard
12890 e
12891 \end_layout
12892
12893 \end_inset
12894 </cell>
12895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12896 \begin_inset Text
12897
12898 \begin_layout Standard
12899 h
12900 \end_layout
12901
12902 \end_inset
12903 </cell>
12904 </row>
12905 <row topline="true" bottomline="true">
12906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12907 \begin_inset Text
12908
12909 \begin_layout Standard
12910 c
12911 \end_layout
12912
12913 \end_inset
12914 </cell>
12915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12916 \begin_inset Text
12917
12918 \begin_layout Standard
12919 f
12920 \end_layout
12921
12922 \end_inset
12923 </cell>
12924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12925 \begin_inset Text
12926
12927 \begin_layout Standard
12928 i
12929 \end_layout
12930
12931 \end_inset
12932 </cell>
12933 </row>
12934 </lyxtabular>
12935
12936 \end_inset
12937
12938
12939 \end_layout
12940
12941 \end_inset
12942
12943
12944 \end_layout
12945
12946 \begin_layout Itemize
12947 test 
12948 \begin_inset Box Frameless
12949 position "b"
12950 hor_pos "c"
12951 has_inner_box 1
12952 inner_pos "c"
12953 use_parbox 0
12954 width "15col%"
12955 special "none"
12956 height "1in"
12957 height_special "totalheight"
12958 status collapsed
12959
12960 \begin_layout Standard
12961 \begin_inset Tabular
12962 <lyxtabular version="3" rows="3" columns="3">
12963 <features>
12964 <column alignment="center" valignment="top" leftline="true" width="0">
12965 <column alignment="center" valignment="top" leftline="true" width="0">
12966 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12967 <row topline="true">
12968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12969 \begin_inset Text
12970
12971 \begin_layout Standard
12972 a
12973 \end_layout
12974
12975 \end_inset
12976 </cell>
12977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12978 \begin_inset Text
12979
12980 \begin_layout Standard
12981 d
12982 \end_layout
12983
12984 \end_inset
12985 </cell>
12986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12987 \begin_inset Text
12988
12989 \begin_layout Standard
12990 g
12991 \end_layout
12992
12993 \end_inset
12994 </cell>
12995 </row>
12996 <row topline="true">
12997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12998 \begin_inset Text
12999
13000 \begin_layout Standard
13001 b
13002 \end_layout
13003
13004 \end_inset
13005 </cell>
13006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13007 \begin_inset Text
13008
13009 \begin_layout Standard
13010 e
13011 \end_layout
13012
13013 \end_inset
13014 </cell>
13015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13016 \begin_inset Text
13017
13018 \begin_layout Standard
13019 h
13020 \end_layout
13021
13022 \end_inset
13023 </cell>
13024 </row>
13025 <row topline="true" bottomline="true">
13026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13027 \begin_inset Text
13028
13029 \begin_layout Standard
13030 c
13031 \end_layout
13032
13033 \end_inset
13034 </cell>
13035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13036 \begin_inset Text
13037
13038 \begin_layout Standard
13039 f
13040 \end_layout
13041
13042 \end_inset
13043 </cell>
13044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13045 \begin_inset Text
13046
13047 \begin_layout Standard
13048 i
13049 \end_layout
13050
13051 \end_inset
13052 </cell>
13053 </row>
13054 </lyxtabular>
13055
13056 \end_inset
13057
13058
13059 \end_layout
13060
13061 \end_inset
13062
13063  test 
13064 \begin_inset ERT
13065 status collapsed
13066
13067 \begin_layout Standard
13068
13069
13070 \backslash
13071 raisebox{-0.32
13072 \backslash
13073 baselineskip}{
13074 \end_layout
13075
13076 \end_inset
13077
13078
13079 \begin_inset Box Frameless
13080 position "b"
13081 hor_pos "c"
13082 has_inner_box 1
13083 inner_pos "c"
13084 use_parbox 0
13085 width "15col%"
13086 special "none"
13087 height "1in"
13088 height_special "totalheight"
13089 status collapsed
13090
13091 \begin_layout Standard
13092 \begin_inset Tabular
13093 <lyxtabular version="3" rows="3" columns="3">
13094 <features>
13095 <column alignment="center" valignment="top" leftline="true" width="0">
13096 <column alignment="center" valignment="top" leftline="true" width="0">
13097 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13098 <row topline="true">
13099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13100 \begin_inset Text
13101
13102 \begin_layout Standard
13103 a
13104 \end_layout
13105
13106 \end_inset
13107 </cell>
13108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13109 \begin_inset Text
13110
13111 \begin_layout Standard
13112 d
13113 \end_layout
13114
13115 \end_inset
13116 </cell>
13117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13118 \begin_inset Text
13119
13120 \begin_layout Standard
13121 g
13122 \end_layout
13123
13124 \end_inset
13125 </cell>
13126 </row>
13127 <row topline="true">
13128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13129 \begin_inset Text
13130
13131 \begin_layout Standard
13132 b
13133 \end_layout
13134
13135 \end_inset
13136 </cell>
13137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13138 \begin_inset Text
13139
13140 \begin_layout Standard
13141 e
13142 \end_layout
13143
13144 \end_inset
13145 </cell>
13146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13147 \begin_inset Text
13148
13149 \begin_layout Standard
13150 h
13151 \end_layout
13152
13153 \end_inset
13154 </cell>
13155 </row>
13156 <row topline="true" bottomline="true">
13157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13158 \begin_inset Text
13159
13160 \begin_layout Standard
13161 c
13162 \end_layout
13163
13164 \end_inset
13165 </cell>
13166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13167 \begin_inset Text
13168
13169 \begin_layout Standard
13170 f
13171 \end_layout
13172
13173 \end_inset
13174 </cell>
13175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13176 \begin_inset Text
13177
13178 \begin_layout Standard
13179 i
13180 \end_layout
13181
13182 \end_inset
13183 </cell>
13184 </row>
13185 </lyxtabular>
13186
13187 \end_inset
13188
13189
13190 \end_layout
13191
13192 \end_inset
13193
13194
13195 \begin_inset ERT
13196 status collapsed
13197
13198 \begin_layout Standard
13199
13200 }
13201 \end_layout
13202
13203 \end_inset
13204
13205
13206 \end_layout
13207
13208 \begin_layout Standard
13209 As you can see, the content of the first and last table row is not correctly
13210  aligned with the text line where the table is in.
13211  To get this alignment, the minipage box must be set into a raisebox
13212 \begin_inset Foot
13213 status collapsed
13214
13215 \begin_layout Standard
13216 Raiseboxes are described in section\InsetSpace ~
13217
13218 \begin_inset LatexCommand ref
13219 reference "sub:Vertical-Alignment"
13220
13221 \end_inset
13222
13223 .
13224 \end_layout
13225
13226 \end_inset
13227
13228 .
13229  In the example above the second table in the first item is aligned using
13230  the ERT-command
13231 \end_layout
13232
13233 \begin_layout Standard
13234
13235 \series bold
13236
13237 \backslash
13238 raisebox{0.85
13239 \backslash
13240 baselineskip}{
13241 \end_layout
13242
13243 \begin_layout Standard
13244 before the box.
13245  Behind the box the closing brace 
13246 \series bold
13247 }
13248 \series default
13249  is inserted as ERT.
13250  For the second table in the last item the command
13251 \end_layout
13252
13253 \begin_layout Standard
13254
13255 \series bold
13256
13257 \backslash
13258 raisebox{-0.32
13259 \backslash
13260 baselineskip}{
13261 \end_layout
13262
13263 \begin_layout Standard
13264 is used.
13265 \end_layout
13266
13267 \begin_layout Standard
13268 \begin_inset Note Greyedout
13269 status open
13270
13271 \begin_layout Standard
13272
13273 \series bold
13274 Note:
13275 \series default
13276  The alignment of the table row content to the surrounding text line is
13277  not exact.
13278  The needed factor of the 
13279 \series bold
13280
13281 \backslash
13282 raisebox
13283 \series default
13284  command for this alignment depends on the document font, the font size,
13285  and the table line thickness.
13286 \end_layout
13287
13288 \end_inset
13289
13290
13291 \end_layout
13292
13293 \begin_layout Section
13294 Colored Tables
13295 \begin_inset LatexCommand label
13296 name "sec:Colored-Tables"
13297
13298 \end_inset
13299
13300
13301 \begin_inset LatexCommand index
13302 name "Table ! Color"
13303
13304 \end_inset
13305
13306
13307 \end_layout
13308
13309 \begin_layout Subsection
13310 Colored Cells
13311 \begin_inset LatexCommand index
13312 name "Table Color ! for Cells"
13313
13314 \end_inset
13315
13316
13317 \begin_inset LatexCommand index
13318 name "Color ! for Table Cells"
13319
13320 \end_inset
13321
13322
13323 \end_layout
13324
13325 \begin_layout Standard
13326 \begin_inset Float table
13327 placement h
13328 wide false
13329 sideways false
13330 status open
13331
13332 \begin_layout Standard
13333 \begin_inset Caption
13334
13335 \begin_layout Standard
13336 \begin_inset LatexCommand label
13337 name "tab:Table-colored-without"
13338
13339 \end_inset
13340
13341 Table colored without using the package 
13342 \series bold
13343 colortbl
13344 \series default
13345
13346 \begin_inset OptArg
13347 status collapsed
13348
13349 \begin_layout Standard
13350 Table without colortbl
13351 \end_layout
13352
13353 \end_inset
13354
13355
13356 \end_layout
13357
13358 \end_inset
13359
13360
13361 \end_layout
13362
13363 \begin_layout Standard
13364 \align center
13365 \begin_inset Tabular
13366 <lyxtabular version="3" rows="3" columns="3">
13367 <features>
13368 <column alignment="center" valignment="top" leftline="true" width="0">
13369 <column alignment="center" valignment="top" leftline="true" width="0">
13370 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13371 <row topline="true">
13372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13373 \begin_inset Text
13374
13375 \begin_layout Standard
13376
13377 \color green
13378 a
13379 \end_layout
13380
13381 \end_inset
13382 </cell>
13383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13384 \begin_inset Text
13385
13386 \begin_layout Standard
13387
13388 \color red
13389 b
13390 \end_layout
13391
13392 \end_inset
13393 </cell>
13394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13395 \begin_inset Text
13396
13397 \begin_layout Standard
13398
13399 \color red
13400 c
13401 \end_layout
13402
13403 \end_inset
13404 </cell>
13405 </row>
13406 <row topline="true">
13407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13408 \begin_inset Text
13409
13410 \begin_layout Standard
13411
13412 \color green
13413 d
13414 \end_layout
13415
13416 \end_inset
13417 </cell>
13418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13419 \begin_inset Text
13420
13421 \begin_layout Standard
13422
13423 \color blue
13424 e
13425 \end_layout
13426
13427 \end_inset
13428 </cell>
13429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13430 \begin_inset Text
13431
13432 \begin_layout Standard
13433
13434 \color blue
13435 f
13436 \end_layout
13437
13438 \end_inset
13439 </cell>
13440 </row>
13441 <row topline="true" bottomline="true">
13442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13443 \begin_inset Text
13444
13445 \begin_layout Standard
13446
13447 \color green
13448 g
13449 \end_layout
13450
13451 \end_inset
13452 </cell>
13453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13454 \begin_inset Text
13455
13456 \begin_layout Standard
13457
13458 \color blue
13459 h
13460 \end_layout
13461
13462 \end_inset
13463 </cell>
13464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13465 \begin_inset Text
13466
13467 \begin_layout Standard
13468
13469 \color blue
13470 i
13471 \end_layout
13472
13473 \end_inset
13474 </cell>
13475 </row>
13476 </lyxtabular>
13477
13478 \end_inset
13479
13480
13481 \end_layout
13482
13483 \end_inset
13484
13485
13486 \end_layout
13487
13488 \begin_layout Standard
13489 If you only need colored text, mark the cells and choose a color in the
13490  menu 
13491 \family sans
13492 Edit\SpecialChar \menuseparator
13493 Text\InsetSpace ~
13494 Style
13495 \family default
13496 .
13497  This was used to create Table\InsetSpace ~
13498
13499 \begin_inset LatexCommand ref
13500 reference "tab:Table-colored-without"
13501
13502 \end_inset
13503
13504 .
13505  In any other case you have to use the LaTeX-package 
13506 \series bold
13507 colortbl
13508 \series default
13509 .
13510 \begin_inset LatexCommand index
13511 name "LaTeX-packages ! colortbl"
13512
13513 \end_inset
13514
13515
13516 \end_layout
13517
13518 \begin_layout Standard
13519 To create colored tables, 
13520 \series bold
13521 colortbl
13522 \series default
13523  must be loaded in the preamble with the line
13524 \end_layout
13525
13526 \begin_layout Standard
13527
13528 \series bold
13529
13530 \backslash
13531 usepackage{colortbl}
13532 \end_layout
13533
13534 \begin_layout Standard
13535 The color of a column is adjusted with the command
13536 \end_layout
13537
13538 \begin_layout Standard
13539
13540 \series bold
13541
13542 \backslash
13543 columncolor{name of color}
13544 \end_layout
13545
13546 \begin_layout Standard
13547 inside the command 
13548 \series bold
13549 >{ }
13550 \series default
13551 .
13552  More about the command 
13553 \series bold
13554 >{}
13555 \series default
13556  is described in section\InsetSpace ~
13557
13558 \begin_inset LatexCommand ref
13559 reference "sub:Multicolumn-Calculations"
13560
13561 \end_inset
13562
13563 .
13564 \end_layout
13565
13566 \begin_layout Standard
13567 The following color names are predefined:
13568 \end_layout
13569
13570 \begin_layout Standard
13571
13572 \family sans
13573 red
13574 \family default
13575
13576 \family sans
13577 green
13578 \family default
13579
13580 \family sans
13581 yellow
13582 \family default
13583
13584 \family sans
13585 blue
13586 \family default
13587
13588 \family sans
13589 cyan
13590 \family default
13591
13592 \family sans
13593 magenta
13594 \family default
13595
13596 \family sans
13597 black
13598 \family default
13599  and 
13600 \family sans
13601 white
13602 \end_layout
13603
13604 \begin_layout Standard
13605 \begin_inset VSpace medskip
13606 \end_inset
13607
13608
13609 \end_layout
13610
13611 \begin_layout Standard
13612 You can also define your own color with the command
13613 \end_layout
13614
13615 \begin_layout Standard
13616
13617 \series bold
13618
13619 \backslash
13620 def\SpecialChar \textcompwordmark{}
13621 inecolor{color name}{color model}{color values}
13622 \end_layout
13623
13624 \begin_layout Standard
13625 The color model can be
13626 \end_layout
13627
13628 \begin_layout Labeling
13629 \labelwidthstring 00.00.0000
13630 cmyk: cyan, magenta, yellow, black
13631 \end_layout
13632
13633 \begin_layout Labeling
13634 \labelwidthstring 00.00.0000
13635 rgb: red, green blue
13636 \end_layout
13637
13638 \begin_layout Labeling
13639 \labelwidthstring 00.00.0000
13640 gray gray
13641 \end_layout
13642
13643 \begin_layout Standard
13644 and the color values are comma separated numbers between 0 and 1 describing
13645  the factor for the corresponding color of the color model.
13646 \end_layout
13647
13648 \begin_layout Standard
13649 You can e.\InsetSpace \thinspace{}
13650 g.\InsetSpace ~
13651 define the color "
13652 \emph on
13653 darkgreen
13654 \emph default
13655 " in the preamble with
13656 \end_layout
13657
13658 \begin_layout Standard
13659
13660 \series bold
13661
13662 \backslash
13663 def\SpecialChar \textcompwordmark{}
13664 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13665 \end_layout
13666
13667 \begin_layout Standard
13668 and the color "
13669 \emph on
13670 lightgray
13671 \emph default
13672 " with
13673 \end_layout
13674
13675 \begin_layout Standard
13676
13677 \series bold
13678
13679 \backslash
13680 def\SpecialChar \textcompwordmark{}
13681 inecolor{lightgray}{gray}{0.8}
13682 \end_layout
13683
13684 \begin_layout Standard
13685 \begin_inset VSpace medskip
13686 \end_inset
13687
13688
13689 \end_layout
13690
13691 \begin_layout Standard
13692 Lines are colored with the command
13693 \end_layout
13694
13695 \begin_layout Standard
13696
13697 \series bold
13698
13699 \backslash
13700 rowcolor{name of color}
13701 \end_layout
13702
13703 \begin_layout Standard
13704 and cells are colored with the command
13705 \end_layout
13706
13707 \begin_layout Standard
13708
13709 \series bold
13710
13711 \backslash
13712 cellcolor{name of color}
13713 \end_layout
13714
13715 \begin_layout Standard
13716 Both commands are inserted at the beginning of a cell as ERT.
13717 \end_layout
13718
13719 \begin_layout Standard
13720 To color characters in the table, mark the cells and use the LyX menu 
13721 \family sans
13722 Edit\SpecialChar \menuseparator
13723 Text\InsetSpace ~
13724 Style
13725 \family default
13726 .
13727  If a cell contains ERT mark only the characters, otherwise the colored
13728  ERT will cause LaTeX-errors.
13729 \end_layout
13730
13731 \begin_layout Standard
13732 \begin_inset VSpace bigskip
13733 \end_inset
13734
13735
13736 \end_layout
13737
13738 \begin_layout Standard
13739 To create Table\InsetSpace ~
13740
13741 \begin_inset LatexCommand ref
13742 reference "tab:Table-colored-using"
13743
13744 \end_inset
13745
13746  do the following: The color of the first column should be 
13747 \emph on
13748 darkgreen
13749 \emph default
13750 .
13751  So insert
13752 \end_layout
13753
13754 \begin_layout Standard
13755
13756 \series bold
13757 >{
13758 \backslash
13759 columncolor{darkgreen}
13760 \backslash
13761 centering}c
13762 \end_layout
13763
13764 \begin_layout Standard
13765 as LaTeX-argument for this column.
13766  The first row should be blue, therefore the ERT command
13767 \end_layout
13768
13769 \begin_layout Standard
13770
13771 \series bold
13772
13773 \backslash
13774 rowcolow{cyan}
13775 \end_layout
13776
13777 \begin_layout Standard
13778 is inserted to the first cell of this row.
13779  Note that this overwrites the column color for the first cell.
13780  The last cell of the last row is colored magenta by inserting the ERT command
13781 \end_layout
13782
13783 \begin_layout Standard
13784
13785 \series bold
13786
13787 \backslash
13788 cellcolor{magenta}
13789 \end_layout
13790
13791 \begin_layout Standard
13792 The characters could now be colored using the menu 
13793 \family sans
13794 Edit\SpecialChar \menuseparator
13795 Text\InsetSpace ~
13796 Style
13797 \family default
13798 .
13799 \end_layout
13800
13801 \begin_layout Standard
13802 \begin_inset Float table
13803 placement h
13804 wide false
13805 sideways false
13806 status open
13807
13808 \begin_layout Standard
13809 \begin_inset Caption
13810
13811 \begin_layout Standard
13812 \begin_inset LatexCommand label
13813 name "tab:Table-colored-using"
13814
13815 \end_inset
13816
13817 Table colored using the package 
13818 \series bold
13819 colortbl
13820 \series default
13821
13822 \begin_inset OptArg
13823 status collapsed
13824
13825 \begin_layout Standard
13826 Table with colortbl
13827 \end_layout
13828
13829 \end_inset
13830
13831
13832 \end_layout
13833
13834 \end_inset
13835
13836
13837 \end_layout
13838
13839 \begin_layout Standard
13840 \align center
13841 \begin_inset Tabular
13842 <lyxtabular version="3" rows="3" columns="3">
13843 <features>
13844 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13845 <column alignment="center" valignment="top" width="0">
13846 <column alignment="center" valignment="top" width="0">
13847 <row>
13848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13849 \begin_inset Text
13850
13851 \begin_layout Standard
13852 \begin_inset ERT
13853 status collapsed
13854
13855 \begin_layout Standard
13856
13857
13858 \backslash
13859 rowcolor{cyan}
13860 \end_layout
13861
13862 \end_inset
13863
13864
13865 \color magenta
13866 a
13867 \end_layout
13868
13869 \end_inset
13870 </cell>
13871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13872 \begin_inset Text
13873
13874 \begin_layout Standard
13875
13876 \color red
13877 b
13878 \end_layout
13879
13880 \end_inset
13881 </cell>
13882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13883 \begin_inset Text
13884
13885 \begin_layout Standard
13886
13887 \color red
13888 c
13889 \end_layout
13890
13891 \end_inset
13892 </cell>
13893 </row>
13894 <row>
13895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13896 \begin_inset Text
13897
13898 \begin_layout Standard
13899
13900 \color yellow
13901 d
13902 \end_layout
13903
13904 \end_inset
13905 </cell>
13906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13907 \begin_inset Text
13908
13909 \begin_layout Standard
13910
13911 \color blue
13912 e
13913 \end_layout
13914
13915 \end_inset
13916 </cell>
13917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13918 \begin_inset Text
13919
13920 \begin_layout Standard
13921
13922 \color blue
13923 f
13924 \end_layout
13925
13926 \end_inset
13927 </cell>
13928 </row>
13929 <row>
13930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13931 \begin_inset Text
13932
13933 \begin_layout Standard
13934
13935 \color yellow
13936 g
13937 \end_layout
13938
13939 \end_inset
13940 </cell>
13941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13942 \begin_inset Text
13943
13944 \begin_layout Standard
13945
13946 \color blue
13947 h
13948 \end_layout
13949
13950 \end_inset
13951 </cell>
13952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13953 \begin_inset Text
13954
13955 \begin_layout Standard
13956 \begin_inset ERT
13957 status collapsed
13958
13959 \begin_layout Standard
13960
13961
13962 \backslash
13963 cellcolor{magenta}
13964 \end_layout
13965
13966 \end_inset
13967
13968
13969 \color green
13970 i
13971 \end_layout
13972
13973 \end_inset
13974 </cell>
13975 </row>
13976 </lyxtabular>
13977
13978 \end_inset
13979
13980
13981 \end_layout
13982
13983 \end_inset
13984
13985
13986 \end_layout
13987
13988 \begin_layout Subsection
13989 Colored Lines
13990 \begin_inset LatexCommand index
13991 name "Table Color ! for Lines"
13992
13993 \end_inset
13994
13995
13996 \begin_inset LatexCommand index
13997 name "Color ! for Table Lines"
13998
13999 \end_inset
14000
14001
14002 \end_layout
14003
14004 \begin_layout Standard
14005 As described in section\InsetSpace ~
14006
14007 \begin_inset LatexCommand ref
14008 reference "sub:Line-Thickness"
14009
14010 \end_inset
14011
14012 , the line thickness for all lines in a table can be adjusted with the length
14013  
14014 \series bold
14015
14016 \backslash
14017 arrayrulewidth
14018 \series default
14019 .
14020  It is set to 1.5\InsetSpace \thinspace{}
14021 pt for all tables of this section.
14022 \begin_inset ERT
14023 status collapsed
14024
14025 \begin_layout Standard
14026
14027
14028 \backslash
14029 setlength{
14030 \backslash
14031 arrayrulewidth}{1.5pt}
14032 \end_layout
14033
14034 \end_inset
14035
14036
14037 \end_layout
14038
14039 \begin_layout Standard
14040 To color vertical lines for example with green, create the following column
14041  format in the document preamble, according to the description in section\InsetSpace ~
14042
14043 \begin_inset LatexCommand ref
14044 reference "sub:Customized-Format"
14045
14046 \end_inset
14047
14048 :
14049 \end_layout
14050
14051 \begin_layout Standard
14052
14053 \series bold
14054
14055 \backslash
14056 newcolumntype{W}{!{
14057 \backslash
14058 color{green}
14059 \backslash
14060 vline}}
14061 \end_layout
14062
14063 \begin_layout Standard
14064 For Table\InsetSpace ~
14065
14066 \begin_inset LatexCommand ref
14067 reference "tab:Table-with-vertical-colored"
14068
14069 \end_inset
14070
14071  the LaTeX-argument
14072 \end_layout
14073
14074 \begin_layout Standard
14075
14076 \series bold
14077 WcW
14078 \end_layout
14079
14080 \begin_layout Standard
14081 was used for the last column and
14082 \end_layout
14083
14084 \begin_layout Standard
14085
14086 \series bold
14087 Wc
14088 \end_layout
14089
14090 \begin_layout Standard
14091 for the other columns.
14092 \end_layout
14093
14094 \begin_layout Standard
14095 If you want to have several colors, define more column formats.
14096 \end_layout
14097
14098 \begin_layout Standard
14099 \begin_inset Float table
14100 wide false
14101 sideways false
14102 status open
14103
14104 \begin_layout Standard
14105 \begin_inset Caption
14106
14107 \begin_layout Standard
14108 \begin_inset LatexCommand label
14109 name "tab:Table-with-vertical-colored"
14110
14111 \end_inset
14112
14113 Table with colored vertical lines
14114 \end_layout
14115
14116 \end_inset
14117
14118
14119 \end_layout
14120
14121 \begin_layout Standard
14122 \align center
14123 \begin_inset Tabular
14124 <lyxtabular version="3" rows="3" columns="3">
14125 <features>
14126 <column alignment="center" valignment="top" width="0" special="Wc">
14127 <column alignment="center" valignment="top" width="0" special="Wc">
14128 <column alignment="center" valignment="top" width="0" special="WcW">
14129 <row topline="true">
14130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14131 \begin_inset Text
14132
14133 \begin_layout Standard
14134 sd
14135 \end_layout
14136
14137 \end_inset
14138 </cell>
14139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14140 \begin_inset Text
14141
14142 \begin_layout Standard
14143
14144 \end_layout
14145
14146 \end_inset
14147 </cell>
14148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14149 \begin_inset Text
14150
14151 \begin_layout Standard
14152
14153 \end_layout
14154
14155 \end_inset
14156 </cell>
14157 </row>
14158 <row topline="true">
14159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14160 \begin_inset Text
14161
14162 \begin_layout Standard
14163
14164 \end_layout
14165
14166 \end_inset
14167 </cell>
14168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14169 \begin_inset Text
14170
14171 \begin_layout Standard
14172 sd
14173 \end_layout
14174
14175 \end_inset
14176 </cell>
14177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14178 \begin_inset Text
14179
14180 \begin_layout Standard
14181
14182 \end_layout
14183
14184 \end_inset
14185 </cell>
14186 </row>
14187 <row topline="true" bottomline="true">
14188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14189 \begin_inset Text
14190
14191 \begin_layout Standard
14192
14193 \end_layout
14194
14195 \end_inset
14196 </cell>
14197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14198 \begin_inset Text
14199
14200 \begin_layout Standard
14201
14202 \end_layout
14203
14204 \end_inset
14205 </cell>
14206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14207 \begin_inset Text
14208
14209 \begin_layout Standard
14210 sd
14211 \end_layout
14212
14213 \end_inset
14214 </cell>
14215 </row>
14216 </lyxtabular>
14217
14218 \end_inset
14219
14220
14221 \end_layout
14222
14223 \end_inset
14224
14225
14226 \end_layout
14227
14228 \begin_layout Standard
14229 \begin_inset VSpace bigskip
14230 \end_inset
14231
14232 To color horizontal lines for example with red, like in Table\InsetSpace ~
14233
14234 \begin_inset LatexCommand ref
14235 reference "tab:Table-with-horizontal-colored"
14236
14237 \end_inset
14238
14239 , insert these commands in ERT before the table or table float:
14240 \end_layout
14241
14242 \begin_layout Standard
14243
14244 \series bold
14245
14246 \backslash
14247 let
14248 \backslash
14249 myHlineC
14250 \backslash
14251 hline
14252 \newline
14253
14254 \backslash
14255 renewcommand{
14256 \backslash
14257 hline}{
14258 \backslash
14259 arrayrulecolor{red}
14260 \backslash
14261 myHlineC
14262 \backslash
14263 arrayrulecolor{black}}
14264 \end_layout
14265
14266 \begin_layout Standard
14267 \begin_inset ERT
14268 status collapsed
14269
14270 \begin_layout Standard
14271
14272
14273 \backslash
14274 let
14275 \backslash
14276 myHlineC
14277 \backslash
14278 hline
14279 \end_layout
14280
14281 \begin_layout Standard
14282
14283
14284 \backslash
14285 renewcommand{
14286 \backslash
14287 hline}{
14288 \backslash
14289 arrayrulecolor{red}
14290 \backslash
14291 myHlineC
14292 \backslash
14293 arrayrulecolor{black}}
14294 \end_layout
14295
14296 \end_inset
14297
14298
14299 \begin_inset Float table
14300 wide false
14301 sideways false
14302 status open
14303
14304 \begin_layout Standard
14305 \begin_inset Caption
14306
14307 \begin_layout Standard
14308 \begin_inset LatexCommand label
14309 name "tab:Table-with-horizontal-colored"
14310
14311 \end_inset
14312
14313 Table with colored horizontal lines
14314 \end_layout
14315
14316 \end_inset
14317
14318
14319 \end_layout
14320
14321 \begin_layout Standard
14322 \align center
14323 \begin_inset Tabular
14324 <lyxtabular version="3" rows="3" columns="3">
14325 <features>
14326 <column alignment="center" valignment="top" leftline="true" width="0">
14327 <column alignment="center" valignment="top" leftline="true" width="0">
14328 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14329 <row topline="true">
14330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14331 \begin_inset Text
14332
14333 \begin_layout Standard
14334 sd
14335 \end_layout
14336
14337 \end_inset
14338 </cell>
14339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14340 \begin_inset Text
14341
14342 \begin_layout Standard
14343
14344 \end_layout
14345
14346 \end_inset
14347 </cell>
14348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14349 \begin_inset Text
14350
14351 \begin_layout Standard
14352
14353 \end_layout
14354
14355 \end_inset
14356 </cell>
14357 </row>
14358 <row topline="true">
14359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14360 \begin_inset Text
14361
14362 \begin_layout Standard
14363
14364 \end_layout
14365
14366 \end_inset
14367 </cell>
14368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14369 \begin_inset Text
14370
14371 \begin_layout Standard
14372 sd
14373 \end_layout
14374
14375 \end_inset
14376 </cell>
14377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14378 \begin_inset Text
14379
14380 \begin_layout Standard
14381
14382 \end_layout
14383
14384 \end_inset
14385 </cell>
14386 </row>
14387 <row topline="true" bottomline="true">
14388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14389 \begin_inset Text
14390
14391 \begin_layout Standard
14392
14393 \end_layout
14394
14395 \end_inset
14396 </cell>
14397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14398 \begin_inset Text
14399
14400 \begin_layout Standard
14401
14402 \end_layout
14403
14404 \end_inset
14405 </cell>
14406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14407 \begin_inset Text
14408
14409 \begin_layout Standard
14410 sd
14411 \end_layout
14412
14413 \end_inset
14414 </cell>
14415 </row>
14416 </lyxtabular>
14417
14418 \end_inset
14419
14420
14421 \end_layout
14422
14423 \end_inset
14424
14425
14426 \end_layout
14427
14428 \begin_layout Standard
14429 \begin_inset ERT
14430 status collapsed
14431
14432 \begin_layout Standard
14433
14434
14435 \backslash
14436 pagebreak 
14437 \end_layout
14438
14439 \end_inset
14440
14441
14442 \end_layout
14443
14444 \begin_layout Standard
14445 To return to the default line color black, insert this command in ERT behind
14446  the table or table float:
14447 \end_layout
14448
14449 \begin_layout Standard
14450
14451 \series bold
14452
14453 \backslash
14454 renewcommand{
14455 \backslash
14456 hline}{
14457 \backslash
14458 myHlineC}
14459 \end_layout
14460
14461 \begin_layout Standard
14462 Table\InsetSpace ~
14463
14464 \begin_inset LatexCommand ref
14465 reference "tab:Table-with-colored"
14466
14467 \end_inset
14468
14469  is an example with colored vertical and horizontal lines.
14470 \end_layout
14471
14472 \begin_layout Standard
14473 \begin_inset Float table
14474 wide false
14475 sideways false
14476 status open
14477
14478 \begin_layout Standard
14479 \begin_inset Caption
14480
14481 \begin_layout Standard
14482 \begin_inset LatexCommand label
14483 name "tab:Table-with-colored"
14484
14485 \end_inset
14486
14487 Table with colored lines
14488 \end_layout
14489
14490 \end_inset
14491
14492
14493 \end_layout
14494
14495 \begin_layout Standard
14496 \align center
14497 \begin_inset Tabular
14498 <lyxtabular version="3" rows="3" columns="3">
14499 <features>
14500 <column alignment="center" valignment="top" width="0" special="Wc">
14501 <column alignment="center" valignment="top" width="0" special="Wc">
14502 <column alignment="center" valignment="top" width="0" special="WcW">
14503 <row topline="true">
14504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14505 \begin_inset Text
14506
14507 \begin_layout Standard
14508 sd
14509 \end_layout
14510
14511 \end_inset
14512 </cell>
14513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14514 \begin_inset Text
14515
14516 \begin_layout Standard
14517
14518 \end_layout
14519
14520 \end_inset
14521 </cell>
14522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14523 \begin_inset Text
14524
14525 \begin_layout Standard
14526
14527 \end_layout
14528
14529 \end_inset
14530 </cell>
14531 </row>
14532 <row topline="true">
14533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14534 \begin_inset Text
14535
14536 \begin_layout Standard
14537
14538 \end_layout
14539
14540 \end_inset
14541 </cell>
14542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14543 \begin_inset Text
14544
14545 \begin_layout Standard
14546 sd
14547 \end_layout
14548
14549 \end_inset
14550 </cell>
14551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14552 \begin_inset Text
14553
14554 \begin_layout Standard
14555
14556 \end_layout
14557
14558 \end_inset
14559 </cell>
14560 </row>
14561 <row topline="true" bottomline="true" topspace="default">
14562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14563 \begin_inset Text
14564
14565 \begin_layout Standard
14566
14567 \end_layout
14568
14569 \end_inset
14570 </cell>
14571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14572 \begin_inset Text
14573
14574 \begin_layout Standard
14575
14576 \end_layout
14577
14578 \end_inset
14579 </cell>
14580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14581 \begin_inset Text
14582
14583 \begin_layout Standard
14584 sd
14585 \end_layout
14586
14587 \end_inset
14588 </cell>
14589 </row>
14590 </lyxtabular>
14591
14592 \end_inset
14593
14594
14595 \end_layout
14596
14597 \end_inset
14598
14599
14600 \end_layout
14601
14602 \begin_layout Standard
14603 \begin_inset ERT
14604 status collapsed
14605
14606 \begin_layout Standard
14607
14608
14609 \backslash
14610 renewcommand{
14611 \backslash
14612 hline}{
14613 \backslash
14614 myHlineC}
14615 \end_layout
14616
14617 \end_inset
14618
14619
14620 \end_layout
14621
14622 \begin_layout Standard
14623 \begin_inset ERT
14624 status collapsed
14625
14626 \begin_layout Standard
14627
14628
14629 \backslash
14630 setlength{
14631 \backslash
14632 arrayrulewidth}{0.4pt}
14633 \end_layout
14634
14635 \end_inset
14636
14637
14638 \end_layout
14639
14640 \begin_layout Section
14641 Table Customization
14642 \begin_inset LatexCommand index
14643 name "Table Customization"
14644
14645 \end_inset
14646
14647
14648 \begin_inset LatexCommand index
14649 name "Table ! Customization"
14650
14651 \end_inset
14652
14653
14654 \end_layout
14655
14656 \begin_layout Subsection
14657 Row Spacing
14658 \begin_inset LatexCommand label
14659 name "sub:Row-Spacing"
14660
14661 \end_inset
14662
14663
14664 \begin_inset LatexCommand index
14665 name "Table Customization ! Row Spacing"
14666
14667 \end_inset
14668
14669
14670 \end_layout
14671
14672 \begin_layout Standard
14673 You can add vertical space to table rows in the 
14674 \family sans
14675 Borders
14676 \family default
14677  tab of the table dialog.
14678  You find there three possibilities:
14679 \end_layout
14680
14681 \begin_layout Description
14682 Top\InsetSpace ~
14683 of\InsetSpace ~
14684 row will add space above the characters of the table row.
14685  If the table is a formal table
14686 \begin_inset Foot
14687 status collapsed
14688
14689 \begin_layout Standard
14690 Formal tables are explained in section\InsetSpace ~
14691
14692 \begin_inset LatexCommand ref
14693 reference "sec:Formal-Tables"
14694
14695 \end_inset
14696
14697 .
14698 \end_layout
14699
14700 \end_inset
14701
14702  LyX will insert as default 0.5\InsetSpace \thinspace{}
14703 em space.
14704  For normal tables the inserted space will unfortunately destroy the vertical
14705  table lines as in the following table:
14706 \begin_inset VSpace defskip
14707 \end_inset
14708
14709
14710 \newline
14711
14712 \begin_inset ERT
14713 status collapsed
14714
14715 \begin_layout Standard
14716
14717
14718 \backslash
14719 hspace*{0pt}
14720 \end_layout
14721
14722 \end_inset
14723
14724
14725 \hfill
14726
14727 \begin_inset Tabular
14728 <lyxtabular version="3" rows="3" columns="1">
14729 <features>
14730 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14731 <row topline="true">
14732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14733 \begin_inset Text
14734
14735 \begin_layout Standard
14736 A
14737 \end_layout
14738
14739 \end_inset
14740 </cell>
14741 </row>
14742 <row topline="true" topspace="3mm">
14743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14744 \begin_inset Text
14745
14746 \begin_layout Standard
14747 3\InsetSpace \thinspace{}
14748 mm space top of row
14749 \end_layout
14750
14751 \end_inset
14752 </cell>
14753 </row>
14754 <row topline="true" bottomline="true">
14755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14756 \begin_inset Text
14757
14758 \begin_layout Standard
14759 C
14760 \end_layout
14761
14762 \end_inset
14763 </cell>
14764 </row>
14765 </lyxtabular>
14766
14767 \end_inset
14768
14769
14770 \hfill
14771
14772 \begin_inset ERT
14773 status collapsed
14774
14775 \begin_layout Standard
14776
14777
14778 \backslash
14779 hspace*{0pt}
14780 \end_layout
14781
14782 \end_inset
14783
14784
14785 \begin_inset VSpace defskip
14786 \end_inset
14787
14788
14789 \newline
14790 So inserting space to the top of row for normal tables is only useful when
14791  you don't have vertical lines.
14792 \end_layout
14793
14794 \begin_layout Description
14795 Bottom\InsetSpace ~
14796 of\InsetSpace ~
14797 row will add space below the characters of the table row.
14798  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14799 em space, for
14800  normal tables the default size is 2\InsetSpace \thinspace{}
14801 pt.
14802 \end_layout
14803
14804 \begin_layout Description
14805 Between\InsetSpace ~
14806 rows adds space between the current and the following row.
14807  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14808 em space.
14809  For normal tables the inserted space will unfortunately destroy the vertical
14810  table lines as in the following table:
14811 \begin_inset VSpace defskip
14812 \end_inset
14813
14814
14815 \newline
14816
14817 \begin_inset ERT
14818 status collapsed
14819
14820 \begin_layout Standard
14821
14822
14823 \backslash
14824 hspace*{0pt}
14825 \end_layout
14826
14827 \end_inset
14828
14829
14830 \hfill
14831
14832 \begin_inset Tabular
14833 <lyxtabular version="3" rows="3" columns="1">
14834 <features>
14835 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14836 <row topline="true">
14837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14838 \begin_inset Text
14839
14840 \begin_layout Standard
14841 A
14842 \end_layout
14843
14844 \end_inset
14845 </cell>
14846 </row>
14847 <row topline="true" interlinespace="3mm">
14848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14849 \begin_inset Text
14850
14851 \begin_layout Standard
14852 \begin_inset Formula $\downarrow$
14853 \end_inset
14854
14855  3\InsetSpace \thinspace{}
14856 mm space between row 
14857 \begin_inset Formula $\downarrow$
14858 \end_inset
14859
14860
14861 \end_layout
14862
14863 \end_inset
14864 </cell>
14865 </row>
14866 <row topline="true" bottomline="true">
14867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14868 \begin_inset Text
14869
14870 \begin_layout Standard
14871 \begin_inset Formula $\uparrow$
14872 \end_inset
14873
14874  3\InsetSpace \thinspace{}
14875 mm space between row 
14876 \begin_inset Formula $\uparrow$
14877 \end_inset
14878
14879
14880 \end_layout
14881
14882 \end_inset
14883 </cell>
14884 </row>
14885 </lyxtabular>
14886
14887 \end_inset
14888
14889
14890 \hfill
14891
14892 \begin_inset ERT
14893 status collapsed
14894
14895 \begin_layout Standard
14896
14897
14898 \backslash
14899 hspace*{0pt}
14900 \end_layout
14901
14902 \end_inset
14903
14904
14905 \begin_inset VSpace defskip
14906 \end_inset
14907
14908
14909 \newline
14910 So inserting space between rows for normal tables is only useful when you
14911  don't have vertical lines.
14912 \end_layout
14913
14914 \begin_layout Standard
14915 When you want to add extra height to all cells of all tables, you can do
14916  this with the following preamble line:
14917 \end_layout
14918
14919 \begin_layout Standard
14920
14921 \series bold
14922
14923 \backslash
14924 setlength{
14925 \backslash
14926 extrarowheight}{height}
14927 \end_layout
14928
14929 \begin_layout Standard
14930 But this has the disadvantage that the cell texts are no longer exactly
14931  vertically centered.
14932 \end_layout
14933
14934 \begin_layout Subsection
14935 Special Cell Alignment
14936 \begin_inset LatexCommand index
14937 name "Table Customization ! Special Cell Alignment"
14938
14939 \end_inset
14940
14941
14942 \end_layout
14943
14944 \begin_layout Standard
14945 Sometimes it looks better when the cell entries of a column are aligned
14946  with a special character, e.\InsetSpace \thinspace{}
14947 g.\InsetSpace ~
14948 with the decimal separator as in Table\InsetSpace ~
14949
14950 \begin_inset LatexCommand ref
14951 reference "tab:Table-cells-of"
14952
14953 \end_inset
14954
14955 .
14956 \end_layout
14957
14958 \begin_layout Standard
14959 \begin_inset Float table
14960 placement h
14961 wide false
14962 sideways false
14963 status open
14964
14965 \begin_layout Standard
14966 \begin_inset Caption
14967
14968 \begin_layout Standard
14969 \begin_inset LatexCommand label
14970 name "tab:Table-cells-of"
14971
14972 \end_inset
14973
14974 Table cells of a column aligned with the decimal separator.
14975 \end_layout
14976
14977 \end_inset
14978
14979
14980 \end_layout
14981
14982 \begin_layout Standard
14983 \align center
14984 \begin_inset Tabular
14985 <lyxtabular version="3" rows="4" columns="2">
14986 <features>
14987 <column alignment="right" valignment="top" width="0">
14988 <column alignment="left" valignment="top" width="0" special="@{}l">
14989 <row bottomline="true">
14990 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14991 \begin_inset Text
14992
14993 \begin_layout Standard
14994 heading
14995 \end_layout
14996
14997 \end_inset
14998 </cell>
14999 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15000 \begin_inset Text
15001
15002 \begin_layout Standard
15003
15004 \end_layout
15005
15006 \end_inset
15007 </cell>
15008 </row>
15009 <row>
15010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15011 \begin_inset Text
15012
15013 \begin_layout Standard
15014 12.
15015 \end_layout
15016
15017 \end_inset
15018 </cell>
15019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15020 \begin_inset Text
15021
15022 \begin_layout Standard
15023 6
15024 \end_layout
15025
15026 \end_inset
15027 </cell>
15028 </row>
15029 <row>
15030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15031 \begin_inset Text
15032
15033 \begin_layout Standard
15034 0.
15035 \end_layout
15036
15037 \end_inset
15038 </cell>
15039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15040 \begin_inset Text
15041
15042 \begin_layout Standard
15043 68
15044 \end_layout
15045
15046 \end_inset
15047 </cell>
15048 </row>
15049 <row>
15050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15051 \begin_inset Text
15052
15053 \begin_layout Standard
15054 -123.
15055 \end_layout
15056
15057 \end_inset
15058 </cell>
15059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15060 \begin_inset Text
15061
15062 \begin_layout Standard
15063 0
15064 \end_layout
15065
15066 \end_inset
15067 </cell>
15068 </row>
15069 </lyxtabular>
15070
15071 \end_inset
15072
15073
15074 \end_layout
15075
15076 \end_inset
15077
15078
15079 \end_layout
15080
15081 \begin_layout Standard
15082 This table was created with a 4×2 table.
15083  The heading is a centered multicolumn.
15084  The first column is right-aligned and contains the digits before the decimal
15085  point and the decimal point.
15086  The second column is left aligned and contains the digits after the decimal
15087  point.
15088  To omit the space that is normally between two table columns, use the following
15089  LaTeX-argument for the second column:
15090 \end_layout
15091
15092 \begin_layout Standard
15093
15094 \series bold
15095 @{}l
15096 \end_layout
15097
15098 \begin_layout Standard
15099 Table\InsetSpace ~
15100
15101 \begin_inset LatexCommand ref
15102 reference "tab:Several-table-cell"
15103
15104 \end_inset
15105
15106  shows some example alignments.
15107  For the alignment with the relation sign, you must add the second smallest
15108  math-space at the beginning of the last column to get the correct space
15109  surrounding the relation sign.
15110 \end_layout
15111
15112 \begin_layout Standard
15113 \begin_inset Float table
15114 wide false
15115 sideways false
15116 status open
15117
15118 \begin_layout Standard
15119 \begin_inset Caption
15120
15121 \begin_layout Standard
15122 \begin_inset LatexCommand label
15123 name "tab:Several-table-cell"
15124
15125 \end_inset
15126
15127 Several table cell alignments.
15128 \end_layout
15129
15130 \end_inset
15131
15132
15133 \end_layout
15134
15135 \begin_layout Standard
15136 \align center
15137 \begin_inset Tabular
15138 <lyxtabular version="3" rows="4" columns="6">
15139 <features>
15140 <column alignment="right" valignment="top" width="0">
15141 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15142 <column alignment="right" valignment="top" width="0">
15143 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15144 <column alignment="right" valignment="top" width="0">
15145 <column alignment="left" valignment="top" width="0" special="@{}l">
15146 <row bottomline="true">
15147 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15148 \begin_inset Text
15149
15150 \begin_layout Standard
15151 units
15152 \end_layout
15153
15154 \end_inset
15155 </cell>
15156 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15157 \begin_inset Text
15158
15159 \begin_layout Standard
15160
15161 \end_layout
15162
15163 \end_inset
15164 </cell>
15165 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15166 \begin_inset Text
15167
15168 \begin_layout Standard
15169 exponents
15170 \end_layout
15171
15172 \end_inset
15173 </cell>
15174 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15175 \begin_inset Text
15176
15177 \begin_layout Standard
15178
15179 \end_layout
15180
15181 \end_inset
15182 </cell>
15183 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15184 \begin_inset Text
15185
15186 \begin_layout Standard
15187 relations
15188 \end_layout
15189
15190 \end_inset
15191 </cell>
15192 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15193 \begin_inset Text
15194
15195 \begin_layout Standard
15196
15197 \end_layout
15198
15199 \end_inset
15200 </cell>
15201 </row>
15202 <row>
15203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15204 \begin_inset Text
15205
15206 \begin_layout Standard
15207 12×
15208 \end_layout
15209
15210 \end_inset
15211 </cell>
15212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15213 \begin_inset Text
15214
15215 \begin_layout Standard
15216 24\InsetSpace \thinspace{}
15217 bottles
15218 \end_layout
15219
15220 \end_inset
15221 </cell>
15222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15223 \begin_inset Text
15224
15225 \begin_layout Standard
15226 \begin_inset Formula $10\cdot$
15227 \end_inset
15228
15229
15230 \end_layout
15231
15232 \end_inset
15233 </cell>
15234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15235 \begin_inset Text
15236
15237 \begin_layout Standard
15238 \begin_inset Formula $10^{\mbox{-}17}$
15239 \end_inset
15240
15241
15242 \end_layout
15243
15244 \end_inset
15245 </cell>
15246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15247 \begin_inset Text
15248
15249 \begin_layout Standard
15250 \begin_inset Formula $\Gamma(t)\propto$
15251 \end_inset
15252
15253
15254 \end_layout
15255
15256 \end_inset
15257 </cell>
15258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15259 \begin_inset Text
15260
15261 \begin_layout Standard
15262 \begin_inset Formula $\:\Upsilon(t)$
15263 \end_inset
15264
15265
15266 \end_layout
15267
15268 \end_inset
15269 </cell>
15270 </row>
15271 <row>
15272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15273 \begin_inset Text
15274
15275 \begin_layout Standard
15276 1024×
15277 \end_layout
15278
15279 \end_inset
15280 </cell>
15281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15282 \begin_inset Text
15283
15284 \begin_layout Standard
15285 768\InsetSpace \thinspace{}
15286 Pixels
15287 \end_layout
15288
15289 \end_inset
15290 </cell>
15291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15292 \begin_inset Text
15293
15294 \begin_layout Standard
15295 \begin_inset Formula $5.78\cdot$
15296 \end_inset
15297
15298
15299 \end_layout
15300
15301 \end_inset
15302 </cell>
15303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15304 \begin_inset Text
15305
15306 \begin_layout Standard
15307 \begin_inset Formula $10^{7}$
15308 \end_inset
15309
15310
15311 \end_layout
15312
15313 \end_inset
15314 </cell>
15315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15316 \begin_inset Text
15317
15318 \begin_layout Standard
15319 \begin_inset Formula $A\ne$
15320 \end_inset
15321
15322
15323 \end_layout
15324
15325 \end_inset
15326 </cell>
15327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15328 \begin_inset Text
15329
15330 \begin_layout Standard
15331 \begin_inset Formula $\: B_{\mathrm{red}}$
15332 \end_inset
15333
15334
15335 \end_layout
15336
15337 \end_inset
15338 </cell>
15339 </row>
15340 <row>
15341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15342 \begin_inset Text
15343
15344 \begin_layout Standard
15345 32×
15346 \end_layout
15347
15348 \end_inset
15349 </cell>
15350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15351 \begin_inset Text
15352
15353 \begin_layout Standard
15354 6\InsetSpace \thinspace{}
15355 cm
15356 \end_layout
15357
15358 \end_inset
15359 </cell>
15360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15361 \begin_inset Text
15362
15363 \begin_layout Standard
15364 -
15365 \begin_inset Formula $33.5\cdot$
15366 \end_inset
15367
15368
15369 \end_layout
15370
15371 \end_inset
15372 </cell>
15373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15374 \begin_inset Text
15375
15376 \begin_layout Standard
15377 \begin_inset Formula $10^{4}$
15378 \end_inset
15379
15380
15381 \end_layout
15382
15383 \end_inset
15384 </cell>
15385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15386 \begin_inset Text
15387
15388 \begin_layout Standard
15389 \begin_inset Formula $\sin(\alpha)\ge$
15390 \end_inset
15391
15392
15393 \end_layout
15394
15395 \end_inset
15396 </cell>
15397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15398 \begin_inset Text
15399
15400 \begin_layout Standard
15401 \begin_inset Formula $\:\sin(\beta)$
15402 \end_inset
15403
15404
15405 \end_layout
15406
15407 \end_inset
15408 </cell>
15409 </row>
15410 </lyxtabular>
15411
15412 \end_inset
15413
15414
15415 \end_layout
15416
15417 \end_inset
15418
15419
15420 \end_layout
15421
15422 \begin_layout Standard
15423 \begin_inset VSpace bigskip
15424 \end_inset
15425
15426 There is also the LaTeX-package 
15427 \series bold
15428 dcolumn
15429 \series default
15430
15431 \begin_inset LatexCommand index
15432 name "LaTeX-packages ! dcolumn"
15433
15434 \end_inset
15435
15436  that provides table cell alignments.
15437  But this unfortunately treats the cell entries as math and doesn't allow
15438  formulas in table cells: The first column of Table\InsetSpace ~
15439
15440 \begin_inset LatexCommand ref
15441 reference "tab:Several-table-cell"
15442
15443 \end_inset
15444
15445  will look with 
15446 \series bold
15447 dcolumn
15448 \series default
15449  like the first column in Table\InsetSpace ~
15450
15451 \begin_inset LatexCommand ref
15452 reference "tab:Alignments-when"
15453
15454 \end_inset
15455
15456  and only with some tricks like the expected.
15457  The alignment of the second and third column of Table\InsetSpace ~
15458
15459 \begin_inset LatexCommand ref
15460 reference "tab:Several-table-cell"
15461
15462 \end_inset
15463
15464  is not possible with 
15465 \series bold
15466 dcolumn
15467 \series default
15468 .
15469 \end_layout
15470
15471 \begin_layout Standard
15472 \begin_inset Float table
15473 placement h
15474 wide false
15475 sideways false
15476 status open
15477
15478 \begin_layout Standard
15479 \begin_inset Caption
15480
15481 \begin_layout Standard
15482 \begin_inset LatexCommand label
15483 name "tab:Alignments-when"
15484
15485 \end_inset
15486
15487 Alignments when LaTeX-package dcolumn is used.
15488  For all column alignments tricks have to be used to get the output.
15489 \end_layout
15490
15491 \end_inset
15492
15493
15494 \end_layout
15495
15496 \begin_layout Standard
15497 \align center
15498 \begin_inset Tabular
15499 <lyxtabular version="3" rows="4" columns="3">
15500 <features>
15501 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15502 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15503 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15504 <row bottomline="true">
15505 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15506 \begin_inset Text
15507
15508 \begin_layout Standard
15509 units
15510 \end_layout
15511
15512 \end_inset
15513 </cell>
15514 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15515 \begin_inset Text
15516
15517 \begin_layout Standard
15518 units
15519 \end_layout
15520
15521 \end_inset
15522 </cell>
15523 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15524 \begin_inset Text
15525
15526 \begin_layout Standard
15527 units
15528 \end_layout
15529
15530 \end_inset
15531 </cell>
15532 </row>
15533 <row>
15534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15535 \begin_inset Text
15536
15537 \begin_layout Standard
15538 12x24\InsetSpace \thinspace{}
15539 bottles
15540 \end_layout
15541
15542 \end_inset
15543 </cell>
15544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15545 \begin_inset Text
15546
15547 \begin_layout Standard
15548 12x24\InsetSpace \thinspace{}
15549
15550 \begin_inset Formula $\mbox{bottles}$
15551 \end_inset
15552
15553
15554 \end_layout
15555
15556 \end_inset
15557 </cell>
15558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15559 \begin_inset Text
15560
15561 \begin_layout Standard
15562 12
15563 \begin_inset ERT
15564 status collapsed
15565
15566 \begin_layout Standard
15567
15568
15569 \backslash
15570 times 
15571 \end_layout
15572
15573 \end_inset
15574
15575 24~
15576 \begin_inset Formula $\mbox{bottles}$
15577 \end_inset
15578
15579
15580 \end_layout
15581
15582 \end_inset
15583 </cell>
15584 </row>
15585 <row>
15586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15587 \begin_inset Text
15588
15589 \begin_layout Standard
15590 1024x768\InsetSpace \thinspace{}
15591 Pixels
15592 \end_layout
15593
15594 \end_inset
15595 </cell>
15596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15597 \begin_inset Text
15598
15599 \begin_layout Standard
15600 1024x768\InsetSpace \thinspace{}
15601
15602 \begin_inset Formula $\mbox{Pixels}$
15603 \end_inset
15604
15605
15606 \end_layout
15607
15608 \end_inset
15609 </cell>
15610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15611 \begin_inset Text
15612
15613 \begin_layout Standard
15614 1024
15615 \begin_inset ERT
15616 status collapsed
15617
15618 \begin_layout Standard
15619
15620
15621 \backslash
15622 times 
15623 \end_layout
15624
15625 \end_inset
15626
15627 768~
15628 \begin_inset Formula $\mbox{Pixels}$
15629 \end_inset
15630
15631
15632 \end_layout
15633
15634 \end_inset
15635 </cell>
15636 </row>
15637 <row>
15638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15639 \begin_inset Text
15640
15641 \begin_layout Standard
15642 32x6\InsetSpace \thinspace{}
15643 cm
15644 \end_layout
15645
15646 \end_inset
15647 </cell>
15648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15649 \begin_inset Text
15650
15651 \begin_layout Standard
15652 32x6\InsetSpace \thinspace{}
15653
15654 \begin_inset Formula $\mbox{cm}$
15655 \end_inset
15656
15657
15658 \end_layout
15659
15660 \end_inset
15661 </cell>
15662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15663 \begin_inset Text
15664
15665 \begin_layout Standard
15666 32
15667 \begin_inset ERT
15668 status collapsed
15669
15670 \begin_layout Standard
15671
15672
15673 \backslash
15674 times 
15675 \end_layout
15676
15677 \end_inset
15678
15679 6~
15680 \begin_inset Formula $\mbox{cm}$
15681 \end_inset
15682
15683
15684 \end_layout
15685
15686 \end_inset
15687 </cell>
15688 </row>
15689 </lyxtabular>
15690
15691 \end_inset
15692
15693
15694 \end_layout
15695
15696 \end_inset
15697
15698
15699 \end_layout
15700
15701 \begin_layout Subsection
15702 Customized Cell/Column Format
15703 \begin_inset LatexCommand label
15704 name "sub:Customized-Format"
15705
15706 \end_inset
15707
15708
15709 \begin_inset LatexCommand index
15710 name "Table Customization ! Cell/Column Format"
15711
15712 \end_inset
15713
15714
15715 \end_layout
15716
15717 \begin_layout Standard
15718 Calculating the needed width for spanned columns like in section\InsetSpace ~
15719
15720 \begin_inset LatexCommand ref
15721 reference "sub:Multicolumn-Calculations"
15722
15723 \end_inset
15724
15725  is very annoying if you have several tables with multicolumn cells.
15726  To make life easier, you can define a cell/column format in the preamble,
15727  so that it can be used in all tables of the document.
15728  The format is defined with the command
15729 \end_layout
15730
15731 \begin_layout Standard
15732
15733 \series bold
15734
15735 \backslash
15736 newcolumntype{name of format}[number of arguments]{commands}
15737 \end_layout
15738
15739 \begin_layout Standard
15740 The format name may only consist of one letter.
15741  The letters 
15742 \emph on
15743 b
15744 \emph default
15745
15746 \emph on
15747 c
15748 \emph default
15749
15750 \emph on
15751 l
15752 \emph default
15753
15754 \emph on
15755 m
15756 \emph default
15757
15758 \emph on
15759 p
15760 \emph default
15761  and 
15762 \emph on
15763 r
15764 \emph default
15765  are predefined and cannot be used.
15766  But all letters are allowed as capitals.
15767 \end_layout
15768
15769 \begin_layout Standard
15770 \begin_inset VSpace medskip
15771 \end_inset
15772
15773
15774 \end_layout
15775
15776 \begin_layout Standard
15777 For vertically and horizontally centered multicolumn cells with a fixed
15778  width you can define the cell format
15779 \end_layout
15780
15781 \begin_layout Standard
15782
15783 \series bold
15784
15785 \backslash
15786 newcolumntype{M}[1]{>{
15787 \backslash
15788 centering
15789 \backslash
15790 hspace{0pt}}m{#1}}
15791 \end_layout
15792
15793 \begin_layout Standard
15794 where 
15795 \series bold
15796
15797 \backslash
15798 hspace{0pt}
15799 \series default
15800  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15801
15802 \begin_inset LatexCommand ref
15803 reference "sub:Multiple-Lines-in"
15804
15805 \end_inset
15806
15807 .
15808  Now you can simply enter
15809 \end_layout
15810
15811 \begin_layout Standard
15812
15813 \series bold
15814 M{width}
15815 \end_layout
15816
15817 \begin_layout Standard
15818 as LaTeX-argument in the table dialog to create a multicolumn.
15819 \end_layout
15820
15821 \begin_layout Standard
15822 \begin_inset VSpace bigskip
15823 \end_inset
15824
15825
15826 \end_layout
15827
15828 \begin_layout Standard
15829 For cells spanned by a multicolumn cell, you can define the format
15830 \end_layout
15831
15832 \begin_layout Standard
15833
15834 \series bold
15835
15836 \backslash
15837 newcolumntype{S}[2]{>{
15838 \backslash
15839 centering
15840 \backslash
15841 hspace{0pt}}
15842 \newline
15843
15844 \begin_inset ERT
15845 status collapsed
15846
15847 \begin_layout Standard
15848
15849
15850 \backslash
15851 phantom{
15852 \end_layout
15853
15854 \end_inset
15855
15856
15857 \backslash
15858 newcolumntype{S}[2]
15859 \begin_inset ERT
15860 status collapsed
15861
15862 \begin_layout Standard
15863
15864 }
15865 \end_layout
15866
15867 \end_inset
15868
15869 m{(#1+(2
15870 \backslash
15871 tabcolsep+
15872 \backslash
15873 arrayrulewidth)*(1-#2))/#2}}
15874 \end_layout
15875
15876 \begin_layout Standard
15877 This format uses equation 
15878 \begin_inset LatexCommand eqref
15879 reference "eq:Wgn"
15880
15881 \end_inset
15882
15883  to calculate the needed width so that each spanned cell has the same width.
15884 \end_layout
15885
15886 \begin_layout Standard
15887 You can now enter
15888 \end_layout
15889
15890 \begin_layout Standard
15891
15892 \series bold
15893 S{width of multicolumn cell}{number of spanned columns}
15894 \end_layout
15895
15896 \begin_layout Standard
15897 as LaTeX-argument of the column.
15898 \end_layout
15899
15900 \begin_layout Standard
15901 \begin_inset VSpace bigskip
15902 \end_inset
15903
15904
15905 \end_layout
15906
15907 \begin_layout Standard
15908 For colored columns, you can define
15909 \end_layout
15910
15911 \begin_layout Standard
15912
15913 \series bold
15914
15915 \backslash
15916 newcolumntype{K}[1]{>{
15917 \backslash
15918 columncolor{#1}
15919 \backslash
15920 hspace{0pt}}c}
15921 \end_layout
15922
15923 \begin_layout Standard
15924 The 
15925 \begin_inset Quotes eld
15926 \end_inset
15927
15928 c
15929 \begin_inset Quotes erd
15930 \end_inset
15931
15932  at the end creates a column with a flexible width whose text is horizontally
15933  centered.
15934  You can now enter
15935 \end_layout
15936
15937 \begin_layout Standard
15938
15939 \series bold
15940 K{color name}
15941 \end_layout
15942
15943 \begin_layout Standard
15944 as LaTeX-argument.
15945 \end_layout
15946
15947 \begin_layout Standard
15948 \begin_inset VSpace bigskip
15949 \end_inset
15950
15951
15952 \end_layout
15953
15954 \begin_layout Standard
15955 To create Table\InsetSpace ~
15956
15957 \begin_inset LatexCommand ref
15958 reference "tab:Table-using-user-defined"
15959
15960 \end_inset
15961
15962  use the LaTeX-arguments
15963 \end_layout
15964
15965 \begin_layout Standard
15966
15967 \series bold
15968 M{2.5cm}
15969 \end_layout
15970
15971 \begin_layout Standard
15972 for the first column and the multicolumn,
15973 \end_layout
15974
15975 \begin_layout Standard
15976
15977 \series bold
15978 K{red}
15979 \end_layout
15980
15981 \begin_layout Standard
15982 for the the last column, and
15983 \end_layout
15984
15985 \begin_layout Standard
15986
15987 \series bold
15988 S{2.5cm}{2}
15989 \end_layout
15990
15991 \begin_layout Standard
15992 for the cells in the second column.
15993 \end_layout
15994
15995 \begin_layout Standard
15996 \begin_inset Float table
15997 placement h
15998 wide false
15999 sideways false
16000 status open
16001
16002 \begin_layout Standard
16003 \begin_inset Caption
16004
16005 \begin_layout Standard
16006 \begin_inset LatexCommand label
16007 name "tab:Table-using-user-defined"
16008
16009 \end_inset
16010
16011 Table using user-defined table formats
16012 \end_layout
16013
16014 \end_inset
16015
16016
16017 \end_layout
16018
16019 \begin_layout Standard
16020 \align center
16021 \begin_inset Tabular
16022 <lyxtabular version="3" rows="3" columns="4">
16023 <features>
16024 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16025 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16026 <column alignment="center" valignment="middle" leftline="true" width="0">
16027 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16028 <row topline="true">
16029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16030 \begin_inset Text
16031
16032 \begin_layout Standard
16033 verylongtablecellword
16034 \end_layout
16035
16036 \end_inset
16037 </cell>
16038 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16039 \begin_inset Text
16040
16041 \begin_layout Standard
16042 multiple lines multicolumn
16043 \end_layout
16044
16045 \end_inset
16046 </cell>
16047 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16048 \begin_inset Text
16049
16050 \begin_layout Standard
16051
16052 \end_layout
16053
16054 \end_inset
16055 </cell>
16056 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16057 \begin_inset Text
16058
16059 \begin_layout Standard
16060 c
16061 \end_layout
16062
16063 \end_inset
16064 </cell>
16065 </row>
16066 <row topline="true">
16067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16068 \begin_inset Text
16069
16070 \begin_layout Standard
16071 d
16072 \end_layout
16073
16074 \end_inset
16075 </cell>
16076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16077 \begin_inset Text
16078
16079 \begin_layout Standard
16080 e
16081 \end_layout
16082
16083 \end_inset
16084 </cell>
16085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16086 \begin_inset Text
16087
16088 \begin_layout Standard
16089 f
16090 \end_layout
16091
16092 \end_inset
16093 </cell>
16094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16095 \begin_inset Text
16096
16097 \begin_layout Standard
16098 g
16099 \end_layout
16100
16101 \end_inset
16102 </cell>
16103 </row>
16104 <row topline="true" bottomline="true">
16105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16106 \begin_inset Text
16107
16108 \begin_layout Standard
16109 h
16110 \end_layout
16111
16112 \end_inset
16113 </cell>
16114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16115 \begin_inset Text
16116
16117 \begin_layout Standard
16118 i
16119 \end_layout
16120
16121 \end_inset
16122 </cell>
16123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16124 \begin_inset Text
16125
16126 \begin_layout Standard
16127 j
16128 \end_layout
16129
16130 \end_inset
16131 </cell>
16132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16133 \begin_inset Text
16134
16135 \begin_layout Standard
16136 k
16137 \end_layout
16138
16139 \end_inset
16140 </cell>
16141 </row>
16142 </lyxtabular>
16143
16144 \end_inset
16145
16146
16147 \end_layout
16148
16149 \end_inset
16150
16151
16152 \end_layout
16153
16154 \begin_layout Subsection
16155 Line Thickness
16156 \begin_inset LatexCommand label
16157 name "sub:Line-Thickness"
16158
16159 \end_inset
16160
16161
16162 \begin_inset LatexCommand index
16163 name "Table Customization ! Line Thickness"
16164
16165 \end_inset
16166
16167
16168 \end_layout
16169
16170 \begin_layout Standard
16171 The line thickness for all lines in a table can be adjusted with the length
16172  
16173 \series bold
16174
16175 \backslash
16176 arrayrulewidth
16177 \series default
16178 .
16179  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16180 pt, like in Table\InsetSpace ~
16181
16182 \begin_inset LatexCommand ref
16183 reference "tab:Table-with-1.5"
16184
16185 \end_inset
16186
16187 , insert the command
16188 \end_layout
16189
16190 \begin_layout Standard
16191
16192 \series bold
16193
16194 \backslash
16195 setlength{
16196 \backslash
16197 arrayrulewidth}{1.5pt}
16198 \end_layout
16199
16200 \begin_layout Standard
16201 in ERT before the table or table float.
16202  The changed thickness is valid for all following tables.
16203  To use the default value again, set 
16204 \series bold
16205
16206 \backslash
16207 arrayrulewidth
16208 \series default
16209  to 0.4\InsetSpace \thinspace{}
16210 pt in ERT behind the table or table float.
16211 \end_layout
16212
16213 \begin_layout Standard
16214 \begin_inset ERT
16215 status collapsed
16216
16217 \begin_layout Standard
16218
16219
16220 \backslash
16221 setlength{
16222 \backslash
16223 arrayrulewidth}{1.5pt}
16224 \end_layout
16225
16226 \end_inset
16227
16228
16229 \begin_inset Float table
16230 wide false
16231 sideways false
16232 status open
16233
16234 \begin_layout Standard
16235 \begin_inset Caption
16236
16237 \begin_layout Standard
16238 \begin_inset LatexCommand label
16239 name "tab:Table-with-1.5"
16240
16241 \end_inset
16242
16243 Table with 1.5\InsetSpace \thinspace{}
16244 pt thick lines
16245 \end_layout
16246
16247 \end_inset
16248
16249
16250 \end_layout
16251
16252 \begin_layout Standard
16253 \align center
16254 \begin_inset Tabular
16255 <lyxtabular version="3" rows="3" columns="3">
16256 <features>
16257 <column alignment="center" valignment="top" leftline="true" width="0">
16258 <column alignment="center" valignment="top" leftline="true" width="0">
16259 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16260 <row topline="true">
16261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16262 \begin_inset Text
16263
16264 \begin_layout Standard
16265 sd
16266 \end_layout
16267
16268 \end_inset
16269 </cell>
16270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16271 \begin_inset Text
16272
16273 \begin_layout Standard
16274
16275 \end_layout
16276
16277 \end_inset
16278 </cell>
16279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16280 \begin_inset Text
16281
16282 \begin_layout Standard
16283
16284 \end_layout
16285
16286 \end_inset
16287 </cell>
16288 </row>
16289 <row topline="true">
16290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16291 \begin_inset Text
16292
16293 \begin_layout Standard
16294
16295 \end_layout
16296
16297 \end_inset
16298 </cell>
16299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16300 \begin_inset Text
16301
16302 \begin_layout Standard
16303 sd
16304 \end_layout
16305
16306 \end_inset
16307 </cell>
16308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16309 \begin_inset Text
16310
16311 \begin_layout Standard
16312
16313 \end_layout
16314
16315 \end_inset
16316 </cell>
16317 </row>
16318 <row topline="true" bottomline="true">
16319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16320 \begin_inset Text
16321
16322 \begin_layout Standard
16323
16324 \end_layout
16325
16326 \end_inset
16327 </cell>
16328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16329 \begin_inset Text
16330
16331 \begin_layout Standard
16332
16333 \end_layout
16334
16335 \end_inset
16336 </cell>
16337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16338 \begin_inset Text
16339
16340 \begin_layout Standard
16341 sd
16342 \end_layout
16343
16344 \end_inset
16345 </cell>
16346 </row>
16347 </lyxtabular>
16348
16349 \end_inset
16350
16351
16352 \end_layout
16353
16354 \end_inset
16355
16356
16357 \begin_inset ERT
16358 status collapsed
16359
16360 \begin_layout Standard
16361
16362
16363 \backslash
16364 setlength{
16365 \backslash
16366 arrayrulewidth}{0.4pt}
16367 \end_layout
16368
16369 \end_inset
16370
16371
16372 \end_layout
16373
16374 \begin_layout Standard
16375 \begin_inset VSpace bigskip
16376 \end_inset
16377
16378 To set the line thickness to 1.5\InsetSpace \thinspace{}
16379 pt only for horizontal lines, like in Table\InsetSpace ~
16380
16381 \begin_inset LatexCommand ref
16382 reference "tab:Table-with-horizontal"
16383
16384 \end_inset
16385
16386 , insert these commands in ERT before the table or table float:
16387 \end_layout
16388
16389 \begin_layout Standard
16390
16391 \series bold
16392
16393 \backslash
16394 let
16395 \backslash
16396 myHline
16397 \backslash
16398 hline
16399 \newline
16400
16401 \backslash
16402 renewcommand{
16403 \backslash
16404 hline}
16405 \newline
16406  {
16407 \backslash
16408 noalign{
16409 \backslash
16410 global
16411 \backslash
16412 arrayrulewidth 1.5pt}
16413 \newline
16414   
16415 \backslash
16416 myHline
16417 \backslash
16418 noalign{
16419 \backslash
16420 global
16421 \backslash
16422 arrayrulewidth 0.4pt}}
16423 \end_layout
16424
16425 \begin_layout Standard
16426 To return to the default line thickness, insert this command in ERT behind
16427  the table or table float:
16428 \end_layout
16429
16430 \begin_layout Standard
16431
16432 \series bold
16433
16434 \backslash
16435 renewcommand{
16436 \backslash
16437 hline}{
16438 \backslash
16439 myHline}
16440 \end_layout
16441
16442 \begin_layout Standard
16443 \begin_inset ERT
16444 status collapsed
16445
16446 \begin_layout Standard
16447
16448
16449 \backslash
16450 let
16451 \backslash
16452 myHline
16453 \backslash
16454 hline
16455 \end_layout
16456
16457 \begin_layout Standard
16458
16459
16460 \backslash
16461 renewcommand{
16462 \backslash
16463 hline}
16464 \end_layout
16465
16466 \begin_layout Standard
16467
16468  {
16469 \backslash
16470 noalign{
16471 \backslash
16472 global
16473 \backslash
16474 arrayrulewidth 1.5pt}
16475 \end_layout
16476
16477 \begin_layout Standard
16478
16479   
16480 \backslash
16481 myHline
16482 \backslash
16483 noalign{
16484 \backslash
16485 global
16486 \backslash
16487 arrayrulewidth 0.4pt}}
16488 \end_layout
16489
16490 \end_inset
16491
16492
16493 \begin_inset Float table
16494 wide false
16495 sideways false
16496 status open
16497
16498 \begin_layout Standard
16499 \begin_inset Caption
16500
16501 \begin_layout Standard
16502 \begin_inset LatexCommand label
16503 name "tab:Table-with-horizontal"
16504
16505 \end_inset
16506
16507 Table with 1.5\InsetSpace \thinspace{}
16508 pt thick horizontal lines
16509 \end_layout
16510
16511 \end_inset
16512
16513
16514 \end_layout
16515
16516 \begin_layout Standard
16517 \align center
16518 \begin_inset Tabular
16519 <lyxtabular version="3" rows="3" columns="3">
16520 <features>
16521 <column alignment="center" valignment="top" leftline="true" width="0">
16522 <column alignment="center" valignment="top" leftline="true" width="0">
16523 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16524 <row topline="true">
16525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16526 \begin_inset Text
16527
16528 \begin_layout Standard
16529 sd
16530 \end_layout
16531
16532 \end_inset
16533 </cell>
16534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16535 \begin_inset Text
16536
16537 \begin_layout Standard
16538
16539 \end_layout
16540
16541 \end_inset
16542 </cell>
16543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16544 \begin_inset Text
16545
16546 \begin_layout Standard
16547
16548 \end_layout
16549
16550 \end_inset
16551 </cell>
16552 </row>
16553 <row topline="true">
16554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16555 \begin_inset Text
16556
16557 \begin_layout Standard
16558
16559 \end_layout
16560
16561 \end_inset
16562 </cell>
16563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16564 \begin_inset Text
16565
16566 \begin_layout Standard
16567 sd
16568 \end_layout
16569
16570 \end_inset
16571 </cell>
16572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16573 \begin_inset Text
16574
16575 \begin_layout Standard
16576
16577 \end_layout
16578
16579 \end_inset
16580 </cell>
16581 </row>
16582 <row topline="true" bottomline="true">
16583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16584 \begin_inset Text
16585
16586 \begin_layout Standard
16587
16588 \end_layout
16589
16590 \end_inset
16591 </cell>
16592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16593 \begin_inset Text
16594
16595 \begin_layout Standard
16596
16597 \end_layout
16598
16599 \end_inset
16600 </cell>
16601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16602 \begin_inset Text
16603
16604 \begin_layout Standard
16605 sd
16606 \end_layout
16607
16608 \end_inset
16609 </cell>
16610 </row>
16611 </lyxtabular>
16612
16613 \end_inset
16614
16615
16616 \end_layout
16617
16618 \end_inset
16619
16620
16621 \begin_inset ERT
16622 status collapsed
16623
16624 \begin_layout Standard
16625
16626
16627 \backslash
16628 renewcommand{
16629 \backslash
16630 hline}{
16631 \backslash
16632 myHline}
16633 \end_layout
16634
16635 \end_inset
16636
16637
16638 \end_layout
16639
16640 \begin_layout Standard
16641 \begin_inset VSpace bigskip
16642 \end_inset
16643
16644 To set the line thickness to 1.5\InsetSpace \thinspace{}
16645 pt only for vertical lines, create the following
16646  column format in the document preamble, according to the description in
16647  section\InsetSpace ~
16648
16649 \begin_inset LatexCommand ref
16650 reference "sub:Customized-Format"
16651
16652 \end_inset
16653
16654 :
16655 \end_layout
16656
16657 \begin_layout Standard
16658
16659 \series bold
16660
16661 \backslash
16662 newcolumntype{V}{!{
16663 \backslash
16664 vrule width 1.5pt}}
16665 \end_layout
16666
16667 \begin_layout Standard
16668 For Table\InsetSpace ~
16669
16670 \begin_inset LatexCommand ref
16671 reference "tab:Table-with-vertical"
16672
16673 \end_inset
16674
16675  the LaTeX-argument
16676 \end_layout
16677
16678 \begin_layout Standard
16679
16680 \series bold
16681 VcV
16682 \end_layout
16683
16684 \begin_layout Standard
16685 was used for the last column and
16686 \end_layout
16687
16688 \begin_layout Standard
16689
16690 \series bold
16691 Vc
16692 \end_layout
16693
16694 \begin_layout Standard
16695 for the other columns.
16696 \end_layout
16697
16698 \begin_layout Standard
16699 \begin_inset Float table
16700 wide false
16701 sideways false
16702 status open
16703
16704 \begin_layout Standard
16705 \begin_inset Caption
16706
16707 \begin_layout Standard
16708 \begin_inset LatexCommand label
16709 name "tab:Table-with-vertical"
16710
16711 \end_inset
16712
16713 Table with 1.5\InsetSpace \thinspace{}
16714 pt thick vertical lines
16715 \end_layout
16716
16717 \end_inset
16718
16719
16720 \end_layout
16721
16722 \begin_layout Standard
16723 \align center
16724 \begin_inset Tabular
16725 <lyxtabular version="3" rows="3" columns="3">
16726 <features>
16727 <column alignment="center" valignment="top" width="0" special="Vc">
16728 <column alignment="center" valignment="top" width="0" special="Vc">
16729 <column alignment="center" valignment="top" width="0" special="VcV">
16730 <row topline="true">
16731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16732 \begin_inset Text
16733
16734 \begin_layout Standard
16735 sd
16736 \end_layout
16737
16738 \end_inset
16739 </cell>
16740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16741 \begin_inset Text
16742
16743 \begin_layout Standard
16744
16745 \end_layout
16746
16747 \end_inset
16748 </cell>
16749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16750 \begin_inset Text
16751
16752 \begin_layout Standard
16753
16754 \end_layout
16755
16756 \end_inset
16757 </cell>
16758 </row>
16759 <row topline="true">
16760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16761 \begin_inset Text
16762
16763 \begin_layout Standard
16764
16765 \end_layout
16766
16767 \end_inset
16768 </cell>
16769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16770 \begin_inset Text
16771
16772 \begin_layout Standard
16773 sd
16774 \end_layout
16775
16776 \end_inset
16777 </cell>
16778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16779 \begin_inset Text
16780
16781 \begin_layout Standard
16782
16783 \end_layout
16784
16785 \end_inset
16786 </cell>
16787 </row>
16788 <row topline="true" bottomline="true">
16789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16790 \begin_inset Text
16791
16792 \begin_layout Standard
16793
16794 \end_layout
16795
16796 \end_inset
16797 </cell>
16798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16799 \begin_inset Text
16800
16801 \begin_layout Standard
16802
16803 \end_layout
16804
16805 \end_inset
16806 </cell>
16807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16808 \begin_inset Text
16809
16810 \begin_layout Standard
16811 sd
16812 \end_layout
16813
16814 \end_inset
16815 </cell>
16816 </row>
16817 </lyxtabular>
16818
16819 \end_inset
16820
16821
16822 \end_layout
16823
16824 \end_inset
16825
16826
16827 \end_layout
16828
16829 \begin_layout Subsection
16830 Dashed Lines
16831 \begin_inset LatexCommand index
16832 name "Table Customization ! Dashed Lines"
16833
16834 \end_inset
16835
16836
16837 \end_layout
16838
16839 \begin_layout Standard
16840 \begin_inset ERT
16841 status collapsed
16842
16843 \begin_layout Standard
16844
16845
16846 \backslash
16847 ifarydshln
16848 \end_layout
16849
16850 \end_inset
16851
16852
16853 \begin_inset Note Note
16854 status open
16855
16856 \begin_layout Standard
16857 The following section will only be displayed when you have the LaTeX-package
16858  
16859 \series bold
16860 arydshln
16861 \series default
16862  is installed.
16863 \end_layout
16864
16865 \end_inset
16866
16867
16868 \end_layout
16869
16870 \begin_layout Standard
16871 \begin_inset Float table
16872 placement H
16873 wide false
16874 sideways false
16875 status open
16876
16877 \begin_layout Standard
16878 \begin_inset Caption
16879
16880 \begin_layout Standard
16881 \begin_inset LatexCommand label
16882 name "tab:Table-with-dashed"
16883
16884 \end_inset
16885
16886 Table with dashed lines
16887 \end_layout
16888
16889 \end_inset
16890
16891
16892 \end_layout
16893
16894 \begin_layout Standard
16895 \align center
16896 \begin_inset Tabular
16897 <lyxtabular version="3" rows="5" columns="5">
16898 <features>
16899 <column alignment="center" valignment="top" leftline="true" width="0">
16900 <column alignment="center" valignment="top" leftline="true" width="0">
16901 <column alignment="center" valignment="top" width="0" special=":c">
16902 <column alignment="center" valignment="top" leftline="true" width="0">
16903 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16904 <row topline="true" bottomline="true">
16905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16906 \begin_inset Text
16907
16908 \begin_layout Standard
16909 a
16910 \end_layout
16911
16912 \end_inset
16913 </cell>
16914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16915 \begin_inset Text
16916
16917 \begin_layout Standard
16918 b
16919 \end_layout
16920
16921 \end_inset
16922 </cell>
16923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16924 \begin_inset Text
16925
16926 \begin_layout Standard
16927 c
16928 \end_layout
16929
16930 \end_inset
16931 </cell>
16932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16933 \begin_inset Text
16934
16935 \begin_layout Standard
16936 d
16937 \end_layout
16938
16939 \end_inset
16940 </cell>
16941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16942 \begin_inset Text
16943
16944 \begin_layout Standard
16945 e
16946 \end_layout
16947
16948 \end_inset
16949 </cell>
16950 </row>
16951 <row topline="true">
16952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16953 \begin_inset Text
16954
16955 \begin_layout Standard
16956 f
16957 \end_layout
16958
16959 \end_inset
16960 </cell>
16961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16962 \begin_inset Text
16963
16964 \begin_layout Standard
16965 g
16966 \end_layout
16967
16968 \end_inset
16969 </cell>
16970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16971 \begin_inset Text
16972
16973 \begin_layout Standard
16974 h
16975 \end_layout
16976
16977 \end_inset
16978 </cell>
16979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16980 \begin_inset Text
16981
16982 \begin_layout Standard
16983 i
16984 \end_layout
16985
16986 \end_inset
16987 </cell>
16988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16989 \begin_inset Text
16990
16991 \begin_layout Standard
16992 j
16993 \end_layout
16994
16995 \end_inset
16996 </cell>
16997 </row>
16998 <row>
16999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17000 \begin_inset Text
17001
17002 \begin_layout Standard
17003 \begin_inset ERT
17004 status collapsed
17005
17006 \begin_layout Standard
17007
17008
17009 \backslash
17010 hdashline 
17011 \end_layout
17012
17013 \end_inset
17014
17015 k
17016 \end_layout
17017
17018 \end_inset
17019 </cell>
17020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17021 \begin_inset Text
17022
17023 \begin_layout Standard
17024 l
17025 \end_layout
17026
17027 \end_inset
17028 </cell>
17029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17030 \begin_inset Text
17031
17032 \begin_layout Standard
17033 m
17034 \end_layout
17035
17036 \end_inset
17037 </cell>
17038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17039 \begin_inset Text
17040
17041 \begin_layout Standard
17042 n
17043 \end_layout
17044
17045 \end_inset
17046 </cell>
17047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17048 \begin_inset Text
17049
17050 \begin_layout Standard
17051 o
17052 \end_layout
17053
17054 \end_inset
17055 </cell>
17056 </row>
17057 <row topline="true">
17058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17059 \begin_inset Text
17060
17061 \begin_layout Standard
17062 \begin_inset ERT
17063 status collapsed
17064
17065 \begin_layout Standard
17066
17067
17068 \backslash
17069 cdashline{4-5}
17070 \end_layout
17071
17072 \end_inset
17073
17074 p
17075 \end_layout
17076
17077 \end_inset
17078 </cell>
17079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17080 \begin_inset Text
17081
17082 \begin_layout Standard
17083 q
17084 \end_layout
17085
17086 \end_inset
17087 </cell>
17088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17089 \begin_inset Text
17090
17091 \begin_layout Standard
17092 r
17093 \end_layout
17094
17095 \end_inset
17096 </cell>
17097 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17098 \begin_inset Text
17099
17100 \begin_layout Standard
17101 s
17102 \end_layout
17103
17104 \end_inset
17105 </cell>
17106 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17107 \begin_inset Text
17108
17109 \begin_layout Standard
17110
17111 \end_layout
17112
17113 \end_inset
17114 </cell>
17115 </row>
17116 <row topline="true" bottomline="true">
17117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17118 \begin_inset Text
17119
17120 \begin_layout Standard
17121 t
17122 \end_layout
17123
17124 \end_inset
17125 </cell>
17126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17127 \begin_inset Text
17128
17129 \begin_layout Standard
17130 u
17131 \end_layout
17132
17133 \end_inset
17134 </cell>
17135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17136 \begin_inset Text
17137
17138 \begin_layout Standard
17139 v
17140 \end_layout
17141
17142 \end_inset
17143 </cell>
17144 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17145 \begin_inset Text
17146
17147 \begin_layout Standard
17148 w
17149 \end_layout
17150
17151 \end_inset
17152 </cell>
17153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17154 \begin_inset Text
17155
17156 \begin_layout Standard
17157 x
17158 \end_layout
17159
17160 \end_inset
17161 </cell>
17162 </row>
17163 </lyxtabular>
17164
17165 \end_inset
17166
17167
17168 \end_layout
17169
17170 \end_inset
17171
17172
17173 \end_layout
17174
17175 \begin_layout Standard
17176 LyX doesn't natively support dashed lines, so you have to use ERT.
17177  As prerequisite the LaTeX-package 
17178 \series bold
17179 arydshln
17180 \series default
17181
17182 \begin_inset LatexCommand index
17183 name "LaTeX-packages ! arydshln"
17184
17185 \end_inset
17186
17187  must be loaded in the document preamble with the command
17188 \end_layout
17189
17190 \begin_layout Standard
17191
17192 \series bold
17193
17194 \backslash
17195 usepackage{arydshln}
17196 \end_layout
17197
17198 \begin_layout Standard
17199 To make a vertical line dashed, enter the colon 
17200 \begin_inset Quotes eld
17201 \end_inset
17202
17203 :
17204 \begin_inset Quotes erd
17205 \end_inset
17206
17207  together with the character for the horizontal alignment as LaTeX-argument
17208  in the table cell dialog.
17209 \end_layout
17210
17211 \begin_layout Standard
17212 For a horizontal dashed line add the command
17213 \end_layout
17214
17215 \begin_layout Standard
17216
17217 \series bold
17218
17219 \backslash
17220 hdashline
17221 \end_layout
17222
17223 \begin_layout Standard
17224 in ERT as first element of the first cell in the table row.
17225 \end_layout
17226
17227 \begin_layout Standard
17228 For dashed multicolumn lines use the command
17229 \end_layout
17230
17231 \begin_layout Standard
17232
17233 \series bold
17234
17235 \backslash
17236 cdashline{line number
17237 \series default
17238 }
17239 \end_layout
17240
17241 \begin_layout Standard
17242 in ERT as first element of the first cell in the table row.
17243  If you have for example a multicolumn spanning over columns 2 to 4 and
17244  you want to have a dashed line above, add the command
17245 \end_layout
17246
17247 \begin_layout Standard
17248
17249 \series bold
17250
17251 \backslash
17252 cdashline{2-4}
17253 \end_layout
17254
17255 \begin_layout Standard
17256 as first element of the first cell in the row of the multicolumn.
17257 \end_layout
17258
17259 \begin_layout Standard
17260 \begin_inset VSpace bigskip
17261 \end_inset
17262
17263
17264 \end_layout
17265
17266 \begin_layout Standard
17267 Table\InsetSpace ~
17268
17269 \begin_inset LatexCommand ref
17270 reference "tab:Table-with-dashed"
17271
17272 \end_inset
17273
17274  was created using 
17275 \begin_inset Quotes eld
17276 \end_inset
17277
17278
17279 \series bold
17280 :c
17281 \series default
17282
17283 \begin_inset Quotes erd
17284 \end_inset
17285
17286  as LaTeX-argument of the third column.
17287  The ERT command 
17288 \series bold
17289
17290 \backslash
17291 hdashline
17292 \series default
17293  was inserted to the first cell of the third row and the the ERT command
17294 \newline
17295
17296  
17297 \series bold
17298
17299 \backslash
17300 cdashline{4-5}
17301 \series default
17302  was inserted to the first cell of the fourth row.
17303 \end_layout
17304
17305 \begin_layout Standard
17306 \begin_inset Note Greyedout
17307 status open
17308
17309 \begin_layout Standard
17310
17311 \series bold
17312 Note:
17313 \series default
17314  The used LaTeX-package 
17315 \series bold
17316 arydshln
17317 \series default
17318  is apparently not compatible with the LaTeX-package 
17319 \series bold
17320 colortbl
17321 \series default
17322
17323 \begin_inset LatexCommand index
17324 name "LaTeX-packages ! colortbl"
17325
17326 \end_inset
17327
17328  that is used for colored tables in section\InsetSpace ~
17329
17330 \begin_inset LatexCommand ref
17331 reference "sec:Colored-Tables"
17332
17333 \end_inset
17334
17335 .
17336  That means colored tables cannot have dashed lines.
17337 \end_layout
17338
17339 \end_inset
17340
17341
17342 \end_layout
17343
17344 \begin_layout Standard
17345 \begin_inset ERT
17346 status collapsed
17347
17348 \begin_layout Standard
17349
17350
17351 \backslash
17352 else
17353 \end_layout
17354
17355 \end_inset
17356
17357
17358 \begin_inset Note Note
17359 status open
17360
17361 \begin_layout Standard
17362 The following will be displayed when the LaTeX-package 
17363 \series bold
17364 arydshln
17365 \series default
17366  is not installed:
17367 \end_layout
17368
17369 \end_inset
17370
17371
17372 \end_layout
17373
17374 \begin_layout Standard
17375 You need to install the package 
17376 \series bold
17377 arydshln
17378 \series default
17379  to see the contents of this section in the output.
17380 \end_layout
17381
17382 \begin_layout Standard
17383 \begin_inset ERT
17384 status collapsed
17385
17386 \begin_layout Standard
17387
17388
17389 \backslash
17390 fi
17391 \end_layout
17392
17393 \end_inset
17394
17395
17396 \end_layout
17397
17398 \begin_layout Chapter
17399 Floats
17400 \begin_inset LatexCommand index
17401 name "Floats"
17402
17403 \end_inset
17404
17405
17406 \begin_inset LatexCommand label
17407 name "cha:Floats"
17408
17409 \end_inset
17410
17411
17412 \end_layout
17413
17414 \begin_layout Section
17415 Introduction
17416 \begin_inset LatexCommand label
17417 name "sec:FloatIntroduction"
17418
17419 \end_inset
17420
17421
17422 \begin_inset LatexCommand index
17423 name "Floats ! Introduction"
17424
17425 \end_inset
17426
17427
17428 \end_layout
17429
17430 \begin_layout Standard
17431 A float is a block of text associated with some sort of label, which doesn't
17432  have a fixed location.
17433  It can 
17434 \begin_inset Quotes eld
17435 \end_inset
17436
17437 float
17438 \begin_inset Quotes erd
17439 \end_inset
17440
17441  forward or backward a page or two, to wherever it fits best.
17442  
17443 \family sans
17444 Footnotes
17445 \family default
17446  and 
17447 \family sans
17448 Margin\InsetSpace ~
17449 Notes
17450 \family default
17451  are also floats, because they can float to the next page when there are
17452  too many notes at the page.
17453 \end_layout
17454
17455 \begin_layout Standard
17456 Floats allow a high quality layout.
17457  Images and tables can evenly be spread to the pages to avoid white space
17458  and pages without text.
17459  As the floating often destroys the context between the text and the image/table
17460 , every float can be referenced in the text.
17461  Floats are therefore numbered.
17462  Referencing is described in section\InsetSpace ~
17463
17464 \begin_inset LatexCommand ref
17465 reference "sec:Referencing-Floats"
17466
17467 \end_inset
17468
17469 .
17470 \end_layout
17471
17472 \begin_layout Standard
17473 To insert a float, use the menu 
17474 \family sans
17475 Insert\SpecialChar \menuseparator
17476 Float
17477 \family default
17478 .
17479  This inserts the 
17480 \family sans
17481 Caption
17482 \family default
17483  inset, a box with a label.
17484  The label will automatically be translated to the document language in
17485  the output.
17486  Behind the label you can insert the caption text.
17487  The image or table is inserted above or below the caption in a separate
17488  paragraph within the float.
17489  More about the caption placement is described in section\InsetSpace ~
17490
17491 \begin_inset LatexCommand ref
17492 reference "sec:Caption-Placement"
17493
17494 \end_inset
17495
17496 .
17497  To keep your LyX-document readable, you can open and close the float box
17498  by left-clicking on the box label.
17499  A closed float box looks like this: 
17500 \begin_inset Graphics
17501         filename clipart/floatQt4.png
17502         scale 70
17503
17504 \end_inset
17505
17506  -- a gray button with a red label.
17507 \end_layout
17508
17509 \begin_layout Standard
17510 It is recommended to insert floats as a separate paragraph to avoid possible
17511  LaTeX-errors that can occur when the surrounding text is specially formatted.
17512 \end_layout
17513
17514 \begin_layout Standard
17515 Existing figures or tables can be put into a float by marking them and then
17516  pressing the corresponding toolbar button for a new float.
17517 \end_layout
17518
17519 \begin_layout Section
17520 Float Types
17521 \end_layout
17522
17523 \begin_layout Standard
17524 Besides figure and table floats that are described in section\InsetSpace ~
17525
17526 \begin_inset LatexCommand ref
17527 reference "sec:Figure-Floats"
17528
17529 \end_inset
17530
17531  and 
17532 \begin_inset LatexCommand ref
17533 reference "sec:Table-Floats"
17534
17535 \end_inset
17536
17537 , respectively, LyX offers the float types 
17538 \series bold
17539 Algorithm
17540 \series default
17541  and 
17542 \series bold
17543 Text\InsetSpace ~
17544 Wrap\InsetSpace ~
17545 Float
17546 \series default
17547 .
17548 \end_layout
17549
17550 \begin_layout Subsection
17551 Algorithm Floats
17552 \begin_inset LatexCommand index
17553 name "Floats ! Algorithm Floats"
17554
17555 \end_inset
17556
17557
17558 \end_layout
17559
17560 \begin_layout Standard
17561 \begin_inset Float algorithm
17562 placement h
17563 wide false
17564 sideways false
17565 status open
17566
17567 \begin_layout Standard
17568 \begin_inset Caption
17569
17570 \begin_layout Standard
17571 \begin_inset LatexCommand label
17572 name "alg:Example-Algorithm-float"
17573
17574 \end_inset
17575
17576 Example Algorithm float
17577 \end_layout
17578
17579 \end_inset
17580
17581
17582 \end_layout
17583
17584 \begin_layout LyX-Code
17585 for I in 1..N loop
17586 \newline
17587  Sum:= Sum + A(I); /*senseless comment*/
17588 \newline
17589 end loop
17590 \begin_inset VSpace -4mm
17591 \end_inset
17592
17593
17594 \end_layout
17595
17596 \end_inset
17597
17598
17599 \end_layout
17600
17601 \begin_layout Standard
17602 This float type is inserted with the menu 
17603 \family sans
17604 Insert\SpecialChar \menuseparator
17605 Floats\SpecialChar \menuseparator
17606 Algorithm
17607 \family default
17608 .
17609  It is used for program codes and descriptions of algorithms.
17610  A possible environment for algorithms is the 
17611 \family sans
17612 LyX-Code
17613 \family default
17614 , described in LyX's 
17615 \emph on
17616 Userguide
17617 \emph default
17618 .
17619  Algorithm\InsetSpace ~
17620
17621 \begin_inset LatexCommand ref
17622 reference "alg:Example-Algorithm-float"
17623
17624 \end_inset
17625
17626  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17627 mm vertical space was added
17628  at the end of the float to have the bottom rule exactly below the last
17629  text line.
17630 \end_layout
17631
17632 \begin_layout Standard
17633 The float label is not automatically translated into the document language.
17634  If your document is not in English, you have to do this manually by adding
17635  the following line to the document preamble
17636 \series bold
17637 :
17638 \end_layout
17639
17640 \begin_layout Standard
17641
17642 \series bold
17643
17644 \backslash
17645 floatname{algorithm}{your\InsetSpace ~
17646 name}
17647 \end_layout
17648
17649 \begin_layout Standard
17650
17651 \family sans
17652 your\InsetSpace ~
17653 name
17654 \family default
17655  is the word 
17656 \begin_inset Quotes eld
17657 \end_inset
17658
17659
17660 \emph on
17661 algorithm
17662 \emph default
17663
17664 \begin_inset Quotes erd
17665 \end_inset
17666
17667  in your language.
17668 \end_layout
17669
17670 \begin_layout Description
17671
17672 \series bold
17673 Note:
17674 \series default
17675  When the LaTeX-package 
17676 \series bold
17677 hyperref
17678 \series default
17679
17680 \begin_inset LatexCommand index
17681 name "LaTeX-packages ! hyperref"
17682
17683 \end_inset
17684
17685  is used to link cross-references to floats in the PDF-output, it must be
17686  loaded in the document preamble before the definition of floats to be able
17687  to reference floats.
17688  As LyX sets the float definition for algorithm floats automatically before
17689  the user editable part of the document preamble, you need to insert the
17690  following preamble lines 
17691 \emph on
17692 after
17693 \emph default
17694  the loading command of 
17695 \series bold
17696 hyperref
17697 \series default
17698 :
17699 \series bold
17700
17701 \begin_inset VSpace defskip
17702 \end_inset
17703
17704
17705 \newline
17706
17707 \backslash
17708 newfloat{Xalgorithm}{tbp}{loa}
17709 \newline
17710
17711 \backslash
17712 floatname{Xalgorithm}{your\InsetSpace ~
17713 name}
17714 \newline
17715
17716 \backslash
17717 newcommand{
17718 \backslash
17719 theHalgorithm}{
17720 \backslash
17721 theHXalgorithm}
17722 \newline
17723
17724 \backslash
17725 renewenvironment{algorithm}[1][tbp]
17726 \newline
17727
17728 \begin_inset ERT
17729 status collapsed
17730
17731 \begin_layout Standard
17732
17733
17734 \backslash
17735 hphantom{ }
17736 \end_layout
17737
17738 \end_inset
17739
17740 {
17741 \backslash
17742 begin{Xalgorithm}[#1]}{
17743 \backslash
17744 end{Xalgorithm}}
17745 \begin_inset VSpace defskip
17746 \end_inset
17747
17748
17749 \series default
17750
17751 \newline
17752 Where 
17753 \family sans
17754 your\InsetSpace ~
17755 name
17756 \family default
17757  is the word 
17758 \begin_inset Quotes eld
17759 \end_inset
17760
17761
17762 \emph on
17763 algorithm
17764 \emph default
17765
17766 \begin_inset Quotes erd
17767 \end_inset
17768
17769  in your language.
17770 \end_layout
17771
17772 \begin_layout Standard
17773 Algorithm floats are not by default numbered in the scheme 
17774 \begin_inset Quotes eld
17775 \end_inset
17776
17777 chapter.algorithm
17778 \begin_inset Quotes erd
17779 \end_inset
17780
17781  like it is the case for table and figure floats in many document-classes.
17782  To number algorithm floats in the same scheme, add this command to your
17783  document preamble:
17784 \end_layout
17785
17786 \begin_layout Standard
17787
17788 \series bold
17789
17790 \backslash
17791 numberwithin{algorithm}{chapter}
17792 \end_layout
17793
17794 \begin_layout Standard
17795 If you use the LaTeX-package 
17796 \series bold
17797 hyperref
17798 \series default
17799 , add this line instead 
17800 \emph on
17801 after
17802 \emph default
17803  the definition of 
17804 \family sans
17805 Xalgorithm
17806 \family default
17807  (the commands from above) to the preamble:
17808 \end_layout
17809
17810 \begin_layout Standard
17811
17812 \series bold
17813
17814 \backslash
17815 numberwithin{Xalgorithm}{chapter}
17816 \end_layout
17817
17818 \begin_layout Standard
17819 To be able to use the command 
17820 \series bold
17821
17822 \backslash
17823 numberwithin
17824 \series default
17825 , set in the tab 
17826 \family sans
17827 Math\InsetSpace ~
17828 Options
17829 \family default
17830  in the document settings the option 
17831 \family sans
17832 Use\InsetSpace ~
17833 AMS\InsetSpace ~
17834 math\InsetSpace ~
17835 package
17836 \family default
17837 .
17838 \end_layout
17839
17840 \begin_layout Subsection
17841 Text Wrap Floats
17842 \begin_inset LatexCommand index
17843 name "Floats ! Text Wrap Floats"
17844
17845 \end_inset
17846
17847
17848 \begin_inset LatexCommand label
17849 name "sub:floatflt-wrap-float"
17850
17851 \end_inset
17852
17853
17854 \end_layout
17855
17856 \begin_layout Standard
17857 This float type is used if you want to 
17858 \begin_inset Quotes eld
17859 \end_inset
17860
17861 wrap
17862 \begin_inset Quotes erd
17863 \end_inset
17864
17865  text around a figure so that it only occupies some fraction of the column
17866  width.
17867  It can be inserted using the menu 
17868 \begin_inset Wrap figure
17869 placement l
17870 width "40col%"
17871 status open
17872
17873 \begin_layout Standard
17874 \begin_inset Graphics
17875         filename clipart/mobius.eps
17876         display color
17877         width 40col%
17878         rotateOrigin center
17879
17880 \end_inset
17881
17882
17883 \end_layout
17884
17885 \begin_layout Standard
17886 \begin_inset Caption
17887
17888 \begin_layout Standard
17889 \begin_inset LatexCommand label
17890 name "fig:This-is-a"
17891
17892 \end_inset
17893
17894 This is a wrapped figure, and this is the brilliant caption that describes
17895  it.
17896 \begin_inset VSpace medskip
17897 \end_inset
17898
17899
17900 \end_layout
17901
17902 \end_inset
17903
17904
17905 \end_layout
17906
17907 \end_inset
17908
17909  
17910 \family sans
17911 Insert\SpecialChar \menuseparator
17912 Floats\SpecialChar \menuseparator
17913 Text\InsetSpace ~
17914 Wrap\InsetSpace ~
17915 Float
17916 \family default
17917  if the LaTeX-package 
17918 \series bold
17919 floatflt
17920 \series default
17921
17922 \begin_inset LatexCommand index
17923 name "LaTeX-packages ! floatflt"
17924
17925 \end_inset
17926
17927  is installed.
17928 \begin_inset Foot
17929 status collapsed
17930
17931 \begin_layout Standard
17932 Installing a LaTeX-package is explained it in the 
17933 \emph on
17934 LaTeX\InsetSpace ~
17935 Configuration
17936 \emph default
17937  manual.
17938 \end_layout
17939
17940 \end_inset
17941
17942  The width and placement of the float is adjusted by right-clicking on the
17943  float box.
17944  Figure\InsetSpace ~
17945
17946 \begin_inset LatexCommand ref
17947 reference "fig:This-is-a"
17948
17949 \end_inset
17950
17951  is an example text wrap float with a width of 40
17952 \begin_inset Formula $\,$
17953 \end_inset
17954
17955 col%.
17956 \begin_inset Foot
17957 status collapsed
17958
17959 \begin_layout Standard
17960 Available units are explained in 
17961 \begin_inset LatexCommand ref
17962 reference "cha:Units-available-in"
17963
17964 \end_inset
17965
17966 .
17967 \end_layout
17968
17969 \end_inset
17970
17971  Some space was added under the caption to separate it better from the surroundi
17972 ng text.
17973 \end_layout
17974
17975 \begin_layout Standard
17976 The LaTeX-package 
17977 \series bold
17978 floatflt
17979 \series default
17980  also supports table wrap floats, but they are not yet supported by LyX.
17981  If you need this, read the documentation of 
17982 \series bold
17983 floatflt
17984 \series default
17985  
17986 \begin_inset LatexCommand cite
17987 key "floatflt"
17988
17989 \end_inset
17990
17991 .
17992 \end_layout
17993
17994 \begin_layout Standard
17995 \begin_inset Note Greyedout
17996 status open
17997
17998 \begin_layout Standard
17999
18000 \series bold
18001 Note:
18002 \series default
18003  Text\InsetSpace ~
18004 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18005 g.\InsetSpace ~
18006 having a figure too close to the bottom
18007  of the page can mess things up in the way that the float doesn't appear
18008  in the output or that it is placed over some other text.
18009 \begin_inset Foot
18010 status open
18011
18012 \begin_layout Standard
18013 The better solution is to use the LaTeX-package 
18014 \series bold
18015 wrapf\SpecialChar \textcompwordmark{}
18016 ig
18017 \series default
18018
18019 \begin_inset LatexCommand index
18020 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18021
18022 \end_inset
18023
18024  instead of 
18025 \series bold
18026 floatf\SpecialChar \textcompwordmark{}
18027 lt
18028 \series default
18029 , but it is currently not supported by LyX.
18030 \end_layout
18031
18032 \end_inset
18033
18034
18035 \end_layout
18036
18037 \end_inset
18038
18039
18040 \end_layout
18041
18042 \begin_layout Standard
18043 In general:
18044 \end_layout
18045
18046 \begin_layout Itemize
18047 Wrap floats should not be placed in paragraphs that run over a page break.
18048  That means that wrap floats should better be inserted to the exact place
18049  when the document is nearly finished and you are able to estimate where
18050  page breaks will appear.
18051 \end_layout
18052
18053 \begin_layout Itemize
18054 Wrap floats should either be placed in an own paragraph before the paragraph
18055  where they should wrap into or within a paragraph.
18056 \end_layout
18057
18058 \begin_layout Itemize
18059 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18060  there is a text paragraph between them as separator.
18061 \end_layout
18062
18063 \begin_layout Itemize
18064 Wrap floats are not allowed in section headings or tables.
18065 \end_layout
18066
18067 \begin_layout Section
18068 Float Numbering
18069 \begin_inset LatexCommand label
18070 name "sec:Float-Numbering"
18071
18072 \end_inset
18073
18074
18075 \begin_inset LatexCommand index
18076 name "Floats ! Numbering"
18077
18078 \end_inset
18079
18080
18081 \end_layout
18082
18083 \begin_layout Standard
18084 Floats are usually numbered either independent from the sections the floats
18085  are in, or in the scheme 
18086 \begin_inset Quotes eld
18087 \end_inset
18088
18089 chapter.number
18090 \begin_inset Quotes erd
18091 \end_inset
18092
18093  or 
18094 \begin_inset Quotes eld
18095 \end_inset
18096
18097 section.number
18098 \begin_inset Quotes erd
18099 \end_inset
18100
18101 .
18102  This depends on the used document class.
18103 \end_layout
18104
18105 \begin_layout Standard
18106 To change the section independent numbering, you can use this command in
18107  the document preamble:
18108 \end_layout
18109
18110 \begin_layout Standard
18111
18112 \series bold
18113
18114 \backslash
18115 renewcommand{
18116 \backslash
18117 thetable}{
18118 \backslash
18119 roman{table}}
18120 \end_layout
18121
18122 \begin_layout Standard
18123
18124 \series bold
18125
18126 \backslash
18127 thetable
18128 \series default
18129  is the command that prints the table number, for figure floats, the command
18130  would be 
18131 \series bold
18132
18133 \backslash
18134 thefigure
18135 \series default
18136 .
18137  The command 
18138 \series bold
18139
18140 \backslash
18141 roman
18142 \series default
18143  prints in the command above the table number as small roman number.
18144 \end_layout
18145
18146 \begin_layout Standard
18147 To change the numbering scheme for example to 
18148 \begin_inset Quotes eld
18149 \end_inset
18150
18151 subsection.number
18152 \begin_inset Quotes erd
18153 \end_inset
18154
18155 , use this command in the preamble:
18156 \end_layout
18157
18158 \begin_layout Standard
18159
18160 \series bold
18161
18162 \backslash
18163 numberwithin{table}{subsection}
18164 \end_layout
18165
18166 \begin_layout Standard
18167 To be able to use the command 
18168 \series bold
18169
18170 \backslash
18171 numberwithin
18172 \series default
18173 , set in the tab 
18174 \family sans
18175 Math\InsetSpace ~
18176 Options
18177 \family default
18178  in the document settings the option 
18179 \family sans
18180 Use\InsetSpace ~
18181 AMS\InsetSpace ~
18182 math\InsetSpace ~
18183 package
18184 \family default
18185 .
18186 \end_layout
18187
18188 \begin_layout Standard
18189 Please also have a look at section\InsetSpace ~
18190
18191 \begin_inset LatexCommand ref
18192 reference "sub:Footnote-Numbering"
18193
18194 \end_inset
18195
18196  for the details and important notes about the numbering commands.
18197 \end_layout
18198
18199 \begin_layout Section
18200 Referencing Floats
18201 \begin_inset LatexCommand label
18202 name "sec:Referencing-Floats"
18203
18204 \end_inset
18205
18206
18207 \begin_inset LatexCommand index
18208 name "Floats ! References"
18209
18210 \end_inset
18211
18212
18213 \begin_inset LatexCommand index
18214 name "References"
18215
18216 \end_inset
18217
18218
18219 \end_layout
18220
18221 \begin_layout Standard
18222 To reference a float, insert a label into its caption using the menu 
18223 \family sans
18224 Insert\SpecialChar \menuseparator
18225 Label
18226 \family default
18227  or the toolbar button 
18228 \begin_inset Graphics
18229         filename ../images/label-insert.xpm
18230         scale 85
18231
18232 \end_inset
18233
18234 .
18235  A grey label box like this one: 
18236 \begin_inset Graphics
18237         filename clipart/labelQt4.png
18238         scale 85
18239
18240 \end_inset
18241
18242  will be inserted and the label window pops up asking for the label text.
18243  LyX offers as text the first words of the caption with a prefix.
18244  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18245 g.\InsetSpace ~
18246 for figure floats the prefix will
18247  be "
18248 \family sans
18249 fig:
18250 \family default
18251 ".
18252 \end_layout
18253
18254 \begin_layout Standard
18255 The label is used as anchor and name for the reference.
18256  You can refer to the label using the menu 
18257 \family sans
18258 Insert\SpecialChar \menuseparator
18259 Cross-reference
18260 \family default
18261  or the toolbar button 
18262 \begin_inset Graphics
18263         filename ../images/dialog-show-new-inset_ref.xpm
18264         scale 85
18265
18266 \end_inset
18267
18268 .
18269  A grey cross-reference box like this one: 
18270 \begin_inset Graphics
18271         filename clipart/referenceQt4.png
18272         scale 85
18273
18274 \end_inset
18275
18276  will be inserted and the cross-reference window appear showing all labels
18277  of the document.
18278  If you have multiple LyX-documents opened, choose the one you are working
18279  on from the drop-list at the top of the dialog.
18280  You can now sort the labels alphabetically and then choose one.
18281  At the position of the cross-reference box the float number will appear
18282  in the output.
18283 \end_layout
18284
18285 \begin_layout Standard
18286 It is recommended to use a protected space between the cross-reference name
18287  and its number to avoid line breaks between them.
18288  If a cross-reference refers to a non-existing label, you will see two question
18289  marks in the output instead of the reference.
18290 \end_layout
18291
18292 \begin_layout Standard
18293 You can change labels at any time by clicking on the label box.
18294  References to the changed label will automatically change its link to the
18295  new label text, so that you don't need to take care about this.
18296 \end_layout
18297
18298 \begin_layout Standard
18299 The button 
18300 \family sans
18301 Go\InsetSpace ~
18302 to\InsetSpace ~
18303 Label
18304 \family default
18305  in the cross-reference window sets the cursor before the referred label.
18306  The button text changes then to Go\InsetSpace ~
18307 Back and you can use it to set the cursor
18308  back to the cross-reference.
18309  Right-clicking on a cross-reference box also sets the cursor before the
18310  referenced label but without a possibility to go back.
18311 \end_layout
18312
18313 \begin_layout Subsection
18314 Cross-Reference Formats
18315 \begin_inset LatexCommand label
18316 name "sub:Cross-Reference-Formats"
18317
18318 \end_inset
18319
18320
18321 \begin_inset LatexCommand index
18322 name "References ! Formats"
18323
18324 \end_inset
18325
18326
18327 \end_layout
18328
18329 \begin_layout Standard
18330 There are six varieties of cross-references:
18331 \end_layout
18332
18333 \begin_layout Description
18334 <reference>: prints the float number, this is the default: 
18335 \begin_inset LatexCommand ref
18336 reference "fig:Two-distorted-images"
18337
18338 \end_inset
18339
18340
18341 \end_layout
18342
18343 \begin_layout Description
18344 (<reference>): prints the float number within two parentheses, this is the
18345  style normally used to reference formulas, especially when the reference
18346  name 
18347 \begin_inset Quotes eld
18348 \end_inset
18349
18350 Equation
18351 \begin_inset Quotes erd
18352 \end_inset
18353
18354  is omitted: 
18355 \begin_inset LatexCommand eqref
18356 reference "eq:Wgn"
18357
18358 \end_inset
18359
18360
18361 \end_layout
18362
18363 \begin_layout Description
18364 <page>: prints the page number: Page\InsetSpace ~
18365
18366 \begin_inset LatexCommand pageref
18367 reference "fig:Two-distorted-images"
18368
18369 \end_inset
18370
18371
18372 \end_layout
18373
18374 \begin_layout Description
18375 on\InsetSpace ~
18376 page\InsetSpace ~
18377 <page>: prints the text "on page" and the page number: 
18378 \begin_inset LatexCommand vpageref
18379 reference "fig:Two-distorted-images"
18380
18381 \end_inset
18382
18383
18384 \end_layout
18385
18386 \begin_layout Description
18387 <reference>\InsetSpace ~
18388 on\InsetSpace ~
18389 page\InsetSpace ~
18390 <page>: prints the float number, the text "on page", and
18391  the page number: 
18392 \begin_inset LatexCommand vref
18393 reference "fig:Two-distorted-images"
18394
18395 \end_inset
18396
18397
18398 \end_layout
18399
18400 \begin_layout Description
18401 Formatted\InsetSpace ~
18402 reference: prints a self defined cross-reference format.
18403  
18404 \begin_inset Note Greyedout
18405 status open
18406
18407 \begin_layout Standard
18408
18409 \series bold
18410 Note:
18411 \series default
18412  This feature is only available when you have the LaTeX-package 
18413 \series bold
18414 prettyref
18415 \series default
18416  installed.
18417 \end_layout
18418
18419 \end_inset
18420
18421
18422 \end_layout
18423
18424 \begin_layout Standard
18425 Note that the style <page> won't print the page number if the label is on
18426  the previous, the same, or the next page.
18427  You will e.\InsetSpace \thinspace{}
18428 g.\InsetSpace ~
18429 see the text 
18430 \begin_inset Quotes eld
18431 \end_inset
18432
18433
18434 \family sans
18435 on this page
18436 \family default
18437
18438 \begin_inset Quotes erd
18439 \end_inset
18440
18441  instead.
18442 \end_layout
18443
18444 \begin_layout Standard
18445 The number and current page of the referred document part in the output,
18446  is automatically calculated by LaTeX.
18447  The varieties are adjusted in the field 
18448 \family sans
18449 Format
18450 \family default
18451  of the cross-reference window, that appear when you click on the cross-referenc
18452 e box.
18453 \end_layout
18454
18455 \begin_layout Subsection
18456 Referencing Subfigures
18457 \begin_inset LatexCommand label
18458 name "sub:Referencing-Subfigures"
18459
18460 \end_inset
18461
18462
18463 \begin_inset LatexCommand index
18464 name "References ! to Subfigures"
18465
18466 \end_inset
18467
18468
18469 \end_layout
18470
18471 \begin_layout Standard
18472 Currently referencing subfigures is not supported by LyX, so you have to
18473  use LaTeX-commands.
18474  The label is the created with the command
18475 \end_layout
18476
18477 \begin_layout Standard
18478
18479 \series bold
18480
18481 \backslash
18482 label{fig:YourLabelName}
18483 \end_layout
18484
18485 \begin_layout Standard
18486 that is directly inserted into the subfigure caption field.
18487  To reference the label add this command in ERT
18488 \end_layout
18489
18490 \begin_layout Standard
18491
18492 \series bold
18493
18494 \backslash
18495 ref{fig:YourLabelName}
18496 \end_layout
18497
18498 \begin_layout Standard
18499 to the position in your document where the reference should be placed.
18500  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18501
18502 \begin_inset ERT
18503 status collapsed
18504
18505 \begin_layout Standard
18506
18507
18508 \backslash
18509 ref{fig:Platypus}
18510 \end_layout
18511
18512 \end_inset
18513
18514 .
18515 \end_layout
18516
18517 \begin_layout Subsection
18518 Automatic Reference Naming
18519 \begin_inset LatexCommand index
18520 name "References ! Automatic Reference Naming"
18521
18522 \end_inset
18523
18524
18525 \end_layout
18526
18527 \begin_layout Standard
18528 The LaTeX-package 
18529 \series bold
18530 hyperref
18531 \series default
18532  provides a very useful feature that cross-references automatically include
18533  the name of the referenced floats (or text parts like sections).
18534  You save to write e.\InsetSpace \thinspace{}
18535 g.\InsetSpace ~
18536 the name 
18537 \begin_inset Quotes eld
18538 \end_inset
18539
18540 Figure
18541 \begin_inset Quotes erd
18542 \end_inset
18543
18544  before every reference box.
18545  To get this automatic reference naming, you have to load the LaTeX-package
18546  
18547 \series bold
18548 hyperref
18549 \series default
18550
18551 \begin_inset LatexCommand index
18552 name "LaTeX-packages ! hyperref"
18553
18554 \end_inset
18555
18556  in the document preamble with
18557 \end_layout
18558
18559 \begin_layout Standard
18560
18561 \series bold
18562
18563 \backslash
18564 usepackage[pdfborder={0 0 0}]{hyperref}
18565 \newline
18566
18567 \backslash
18568 AtBeginDocument{
18569 \backslash
18570 renewcommand{
18571 \backslash
18572 ref}[1]{
18573 \backslash
18574 mbox{
18575 \backslash
18576 autoref{#1}}}}
18577 \end_layout
18578
18579 \begin_layout Standard
18580
18581 \series bold
18582 hyperref
18583 \series default
18584  is used to link cross-references in the DVI- and PDF-output, this means
18585  that the reader of your document will be able to click on a table of content
18586  (TOC) entry or on a reference and he will be shown the referenced document
18587  part.
18588  
18589 \series bold
18590 hyperref
18591 \series default
18592  also creates PDF-bookmarks for every section of your document to make it
18593  easier for readers to navigate through the document.
18594  This is also used in this document but when you have a look in the document
18595  preamble you will find various options in the load command of 
18596 \series bold
18597 hyperref
18598 \series default
18599 .
18600  To learn more about the 
18601 \series bold
18602 hyperref
18603 \series default
18604  package, we refer to its documentation 
18605 \begin_inset LatexCommand cite
18606 key "hyperref"
18607
18608 \end_inset
18609
18610 .
18611 \end_layout
18612
18613 \begin_layout Standard
18614 \begin_inset Note Greyedout
18615 status open
18616
18617 \begin_layout Standard
18618
18619 \series bold
18620 Note:
18621 \series default
18622  Automatic reference naming cannot be used when you use cross-references
18623  in the 
18624 \family sans
18625 Formatted\InsetSpace ~
18626 reference
18627 \family default
18628  style, described in section\InsetSpace ~
18629
18630 \begin_inset LatexCommand ref
18631 reference "sub:Cross-Reference-Formats"
18632
18633 \end_inset
18634
18635 .
18636 \end_layout
18637
18638 \end_inset
18639
18640
18641 \end_layout
18642
18643 \begin_layout Subsection
18644 Reference Position
18645 \begin_inset LatexCommand label
18646 name "sub:Reference-Position"
18647
18648 \end_inset
18649
18650
18651 \begin_inset LatexCommand index
18652 name "References ! Reference Position"
18653
18654 \end_inset
18655
18656
18657 \end_layout
18658
18659 \begin_layout Standard
18660 If you use 
18661 \series bold
18662 hyperref
18663 \series default
18664
18665 \begin_inset LatexCommand index
18666 name "LaTeX-packages ! hyperref"
18667
18668 \end_inset
18669
18670  to link cross-references in the output, you will see that clicking on an
18671  image float reference jumps to the image label.
18672  The caption will be the first text part on the screen, so that you cannot
18673  see the image without scrolling.
18674  This is because the reference link anchor is placed at the position of
18675  the label.
18676  With the use of the package 
18677 \series bold
18678 hypcap
18679 \series default
18680
18681 \begin_inset LatexCommand index
18682 name "LaTeX-packages ! hypcap"
18683
18684 \end_inset
18685
18686 , which is part of the LaTeX-package 
18687 \series bold
18688 oberdiek
18689 \series default
18690
18691 \begin_inset LatexCommand index
18692 name "LaTeX-packages ! oberdiek"
18693
18694 \end_inset
18695
18696 , the link anchor is placed at the beginning of a float.
18697  To use this feature for figure floats, load 
18698 \series bold
18699 hypcap
18700 \series default
18701  in the document preamble with the line
18702 \end_layout
18703
18704 \begin_layout Standard
18705
18706 \series bold
18707
18708 \backslash
18709 usepackage[f\SpecialChar \textcompwordmark{}
18710 igure]{hypcap}
18711 \end_layout
18712
18713 \begin_layout Standard
18714 You can also use 
18715 \series bold
18716 hypcap
18717 \series default
18718  for all floats but this isn't recommended for stability reasons.
18719  For more informations, have a look at 
18720 \series bold
18721 hypcap
18722 \series default
18723 's manual 
18724 \begin_inset LatexCommand cite
18725 key "hypcap"
18726
18727 \end_inset
18728
18729 .
18730 \end_layout
18731
18732 \begin_layout Standard
18733 \begin_inset Note Greyedout
18734 status open
18735
18736 \begin_layout Standard
18737
18738 \series bold
18739 Note:
18740 \series default
18741  
18742 \series bold
18743 hypcap
18744 \series default
18745  must be loaded after 
18746 \series bold
18747 hyperref
18748 \series default
18749  in the document preamble.
18750 \end_layout
18751
18752 \end_inset
18753
18754
18755 \end_layout
18756
18757 \begin_layout Standard
18758 \begin_inset Note Greyedout
18759 status open
18760
18761 \begin_layout Standard
18762
18763 \series bold
18764 Note:
18765 \series default
18766  
18767 \series bold
18768 hypcap
18769 \series default
18770  has no effect for references to subfigures.
18771 \end_layout
18772
18773 \end_inset
18774
18775
18776 \end_layout
18777
18778 \begin_layout Section
18779 Float Placement
18780 \begin_inset LatexCommand label
18781 name "sec:Float-Placement"
18782
18783 \end_inset
18784
18785
18786 \begin_inset LatexCommand index
18787 name "Floats ! Placement"
18788
18789 \end_inset
18790
18791
18792 \end_layout
18793
18794 \begin_layout Standard
18795 Right-clicking on a float-box opens a dialog where you can alter the placement
18796  options that LaTeX uses for positioning the float.
18797 \newline
18798 The option 
18799 \family sans
18800 Span\InsetSpace ~
18801 columns
18802 \family default
18803  is only useful for two-column documents: If you select it, the float will
18804  span across both columns on the page instead of being confined to just
18805  one.
18806 \newline
18807 The option 
18808 \family sans
18809 Rotate\InsetSpace ~
18810 sideways
18811 \family default
18812  is used to rotate floats, see section 
18813 \begin_inset LatexCommand ref
18814 reference "sec:Rotated-Floats"
18815
18816 \end_inset
18817
18818 .
18819 \end_layout
18820
18821 \begin_layout Standard
18822 You can use one ore more of the following options in the float dialog to
18823  set the placement for a particular float when you uncheck the option 
18824 \family sans
18825 Use\InsetSpace ~
18826 default\InsetSpace ~
18827 placement
18828 \family default
18829 :
18830 \end_layout
18831
18832 \begin_layout Description
18833 Here\InsetSpace ~
18834 if\InsetSpace ~
18835 possible: try to place the float on the position where it is inserted
18836 \end_layout
18837
18838 \begin_layout Description
18839 Top\InsetSpace ~
18840 of\InsetSpace ~
18841 page: try to place the float on the top of the current page
18842 \end_layout
18843
18844 \begin_layout Description
18845 Bottom\InsetSpace ~
18846 of\InsetSpace ~
18847 page: try to place the float on the bottom of the current page
18848 \end_layout
18849
18850 \begin_layout Description
18851 Page\InsetSpace ~
18852 of\InsetSpace ~
18853 floats: try to place the float on an own page 
18854 \end_layout
18855
18856 \begin_layout Standard
18857 The order of the above option is 
18858 \emph on
18859 always
18860 \emph default
18861  used by LaTeX.
18862  That means, if you use the default placement, LaTeX will first try out
18863  
18864 \family sans
18865 Here\InsetSpace ~
18866 if\InsetSpace ~
18867 possible
18868 \family default
18869 , then 
18870 \family sans
18871 Top\InsetSpace ~
18872 of\InsetSpace ~
18873 page
18874 \family default
18875 , and then the others.
18876  If you don't use the default, LaTeX will try only the checked options but
18877  in the same order.
18878  If none of the 4 placements are possible the procedure is internally repeated
18879  but it is tried to put the float on the following page.
18880 \end_layout
18881
18882 \begin_layout Standard
18883 By default, each option has its own rules:
18884 \end_layout
18885
18886 \begin_layout Labeling
18887 \labelwidthstring 00.00.0000
18888
18889 \family sans
18890 Top\InsetSpace ~
18891 of\InsetSpace ~
18892 page
18893 \family default
18894  only floats occupying less than 70\InsetSpace \thinspace{}
18895 % of the page can be placed at the top
18896  of a page (
18897 \series bold
18898
18899 \backslash
18900 topfraction
18901 \series default
18902 )
18903 \end_layout
18904
18905 \begin_layout Labeling
18906 \labelwidthstring 00.00.0000
18907
18908 \family sans
18909 Bottom\InsetSpace ~
18910 of\InsetSpace ~
18911 page
18912 \family default
18913 : only floats occupying less than 30\InsetSpace \thinspace{}
18914 % of the page can be placed at the bottom
18915  of a page.
18916  (
18917 \series bold
18918
18919 \backslash
18920 bottomfraction
18921 \series default
18922 )
18923 \end_layout
18924
18925 \begin_layout Labeling
18926 \labelwidthstring 00.00.0000
18927
18928 \family sans
18929 Page\InsetSpace ~
18930 of\InsetSpace ~
18931 floats
18932 \family default
18933 : only if more than 50\InsetSpace \thinspace{}
18934 % of the page are occupied by floats, several floats
18935  can be set together on a page.
18936  (
18937 \series bold
18938
18939 \backslash
18940 floatpagefraction
18941 \series default
18942 )
18943 \end_layout
18944
18945 \begin_layout Standard
18946 If you don't like these rules, you can ignore them by using the additional
18947  option 
18948 \family sans
18949 Ignore\InsetSpace ~
18950 LaTeX\InsetSpace ~
18951 rules
18952 \family default
18953 .
18954 \newline
18955 You can also redefine the rules with LaTeX-commands that are given in parenthese
18956 s behind the rules description above.
18957  To increase for example the often too small default of the bottom-rule
18958  to 50\InsetSpace \thinspace{}
18959 % of the page, add this line to your document preamble:
18960 \end_layout
18961
18962 \begin_layout Standard
18963
18964 \series bold
18965
18966 \backslash
18967 renewcommand{
18968 \backslash
18969 bottomfraction}{0.5}
18970 \end_layout
18971
18972 \begin_layout Standard
18973 Sometimes you might need, under all circumstances, a float to be placed
18974  exactly at the position where it is inserted.
18975  For this case you can use the option 
18976 \family sans
18977 Here\InsetSpace ~
18978 definitely
18979 \family default
18980 .
18981  Use this option very rarely and only if the document is nearly ready to
18982  be printed.
18983  Because the float is then no longer able to 
18984 \begin_inset Quotes eld
18985 \end_inset
18986
18987 float
18988 \begin_inset Quotes erd
18989 \end_inset
18990
18991  when you change your document and this will often destroy the page layout.
18992 \end_layout
18993
18994 \begin_layout Standard
18995 There are no placement options for text wrap floats, because they are always
18996  surrounded by the text of a certain paragraph.
18997 \begin_inset VSpace bigskip
18998 \end_inset
18999
19000
19001 \end_layout
19002
19003 \begin_layout Standard
19004 Sometimes you have the problem that a float is placed at the top of a page
19005  while its corresponding section starts at the middle of the page, so that
19006  the reader could think the float is part of the previous section.
19007  To avoid this the LaTeX-command 
19008 \series bold
19009
19010 \backslash
19011 suppressf\SpecialChar \textcompwordmark{}
19012 loats
19013 \series default
19014  can be used.
19015  It suppresses a given float placement for the page where it is inserted
19016  and can therefore be used to avoid that floats could be set before a section
19017  starts.
19018  To get this, add these commands to your document preamble:
19019 \end_layout
19020
19021 \begin_layout Standard
19022
19023 \series bold
19024
19025 \backslash
19026 let
19027 \backslash
19028 mySection
19029 \backslash
19030 section
19031 \newline
19032
19033 \backslash
19034 renewcommand{
19035 \backslash
19036 section}{
19037 \backslash
19038 suppressf\SpecialChar \textcompwordmark{}
19039 loats[t]
19040 \backslash
19041 mySection}
19042 \end_layout
19043
19044 \begin_layout Standard
19045 You can define the same for all section headings, like chapters and subsections.
19046  This definition is not recommended to be used for small text parts like
19047  subsubsections because LaTeX may then have problems to find a suitable
19048  placement.
19049 \end_layout
19050
19051 \begin_layout Standard
19052 \begin_inset VSpace bigskip
19053 \end_inset
19054
19055 In some cases it is required to have all figures/tables at the end of the
19056  document.
19057  For this purpose the LaTeX-package 
19058 \series bold
19059 endf\SpecialChar \textcompwordmark{}
19060 loat
19061 \series default
19062
19063 \begin_inset LatexCommand index
19064 name "LaTeX-packages ! endfloat"
19065
19066 \end_inset
19067
19068  was developed.
19069  It puts all figure and table floats at the end of the document into own
19070  sections.
19071  At the original float position a text hint like 
19072 \begin_inset Quotes eld
19073 \end_inset
19074
19075
19076 \family sans
19077 [Figure\InsetSpace ~
19078 3.2 about here.]
19079 \family default
19080
19081 \begin_inset Quotes erd
19082 \end_inset
19083
19084  is inserted.
19085  The endfloat-package is loaded in the preamble with the line
19086 \end_layout
19087
19088 \begin_layout Standard
19089
19090 \series bold
19091
19092 \backslash
19093 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19094 loat}
19095 \end_layout
19096
19097 \begin_layout Standard
19098 There are various package options to format the created figure/table sections.
19099  For more information we refer to the 
19100 \series bold
19101 endf\SpecialChar \textcompwordmark{}
19102 loat
19103 \series default
19104  documentation 
19105 \begin_inset LatexCommand cite
19106 key "endfloat"
19107
19108 \end_inset
19109
19110 .
19111 \newline
19112
19113 \begin_inset Note Greyedout
19114 status open
19115
19116 \begin_layout Standard
19117
19118 \series bold
19119 Note: endf\SpecialChar \textcompwordmark{}
19120 loat
19121 \series default
19122  doesn't provide an automatic translation for the text hint, you have to
19123  do this manually, see section\InsetSpace ~
19124 4 in 
19125 \begin_inset LatexCommand cite
19126 key "endfloat"
19127
19128 \end_inset
19129
19130 .
19131 \end_layout
19132
19133 \end_inset
19134
19135
19136 \newline
19137
19138 \begin_inset Note Greyedout
19139 status open
19140
19141 \begin_layout Standard
19142
19143 \series bold
19144 Note:
19145 \series default
19146  There is currently a bug in 
19147 \series bold
19148 endf\SpecialChar \textcompwordmark{}
19149 loat
19150 \series default
19151  when the caption contains a German 
19152 \begin_inset Quotes eld
19153 \end_inset
19154
19155 ß
19156 \begin_inset Quotes erd
19157 \end_inset
19158
19159 .
19160  Use in this case the command 
19161 \begin_inset Quotes eld
19162 \end_inset
19163
19164
19165 \series bold
19166
19167 \backslash
19168 ss
19169 \series default
19170
19171 \begin_inset Quotes erd
19172 \end_inset
19173
19174  in ERT instead of 
19175 \begin_inset Quotes eld
19176 \end_inset
19177
19178 ß
19179 \begin_inset Quotes erd
19180 \end_inset
19181
19182 .
19183 \end_layout
19184
19185 \end_inset
19186
19187
19188 \end_layout
19189
19190 \begin_layout Standard
19191 \begin_inset VSpace bigskip
19192 \end_inset
19193
19194 For more details about float placements, have a look at LaTeX books, 
19195 \begin_inset LatexCommand cite
19196 key "latexcompanion,latexguide,latexbook"
19197
19198 \end_inset
19199
19200 .
19201 \end_layout
19202
19203 \begin_layout Section
19204 Rotated Floats
19205 \begin_inset LatexCommand label
19206 name "sec:Rotated-Floats"
19207
19208 \end_inset
19209
19210
19211 \begin_inset LatexCommand index
19212 name "Floats ! Rotating"
19213
19214 \end_inset
19215
19216
19217 \end_layout
19218
19219 \begin_layout Standard
19220 Especially for wide tables you might have floats rotated.
19221  To rotate a whole float including the caption, right-click on the float-box
19222  and use the option 
19223 \family sans
19224 Rotate\InsetSpace ~
19225 sideways
19226 \family default
19227 .
19228 \end_layout
19229
19230 \begin_layout Standard
19231 Rotated floats are always placed on its own page (or column, when you have
19232  a two-column document).
19233  They are normally rotated so that you can read them from the outside margin
19234  -- to the left on even pages, to the right on odd pages.
19235 \end_layout
19236
19237 \begin_layout Standard
19238 Referencing rotated floats is the same like for normal floats, the caption
19239  format is also the same: Table\InsetSpace ~
19240
19241 \begin_inset LatexCommand ref
19242 reference "tab:Rotated-table"
19243
19244 \end_inset
19245
19246  is an example of a rotated table float.
19247 \end_layout
19248
19249 \begin_layout Standard
19250 \begin_inset Note Greyedout
19251 status open
19252
19253 \begin_layout Standard
19254
19255 \series bold
19256 Note:
19257 \series default
19258  Not all DVI-viewers are able to display rotated floats.
19259 \end_layout
19260
19261 \end_inset
19262
19263
19264 \end_layout
19265
19266 \begin_layout Standard
19267 \begin_inset Float table
19268 wide false
19269 sideways true
19270 status open
19271
19272 \begin_layout Standard
19273 \begin_inset Caption
19274
19275 \begin_layout Standard
19276 \begin_inset LatexCommand label
19277 name "tab:Rotated-table"
19278
19279 \end_inset
19280
19281  Rotated table
19282 \end_layout
19283
19284 \end_inset
19285
19286
19287 \end_layout
19288
19289 \begin_layout Standard
19290 \align center
19291 \begin_inset Tabular
19292 <lyxtabular version="3" rows="1" columns="5">
19293 <features>
19294 <column alignment="center" valignment="top" leftline="true" width="0">
19295 <column alignment="center" valignment="top" leftline="true" width="0">
19296 <column alignment="center" valignment="top" leftline="true" width="0">
19297 <column alignment="center" valignment="top" leftline="true" width="0">
19298 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19299 <row topline="true" bottomline="true">
19300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19301 \begin_inset Text
19302
19303 \begin_layout Standard
19304 test
19305 \end_layout
19306
19307 \end_inset
19308 </cell>
19309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19310 \begin_inset Text
19311
19312 \begin_layout Standard
19313 b
19314 \end_layout
19315
19316 \end_inset
19317 </cell>
19318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19319 \begin_inset Text
19320
19321 \begin_layout Standard
19322 c
19323 \end_layout
19324
19325 \end_inset
19326 </cell>
19327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19328 \begin_inset Text
19329
19330 \begin_layout Standard
19331 d
19332 \end_layout
19333
19334 \end_inset
19335 </cell>
19336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19337 \begin_inset Text
19338
19339 \begin_layout Standard
19340 e
19341 \end_layout
19342
19343 \end_inset
19344 </cell>
19345 </row>
19346 </lyxtabular>
19347
19348 \end_inset
19349
19350
19351 \end_layout
19352
19353 \end_inset
19354
19355
19356 \end_layout
19357
19358 \begin_layout Section
19359 Caption Formatting
19360 \begin_inset LatexCommand index
19361 name "Caption ! Formatting"
19362
19363 \end_inset
19364
19365
19366 \begin_inset LatexCommand index
19367 name "Floats ! Caption Formatting"
19368
19369 \end_inset
19370
19371
19372 \begin_inset LatexCommand index
19373 name "LaTeX-packages ! caption"
19374
19375 \end_inset
19376
19377
19378 \begin_inset LatexCommand label
19379 name "sec:Caption-Formatting"
19380
19381 \end_inset
19382
19383
19384 \end_layout
19385
19386 \begin_layout Standard
19387 The 
19388 \family sans
19389 Caption
19390 \family default
19391  environment is the default paragraph environment for 
19392 \family sans
19393 Floats
19394 \family default
19395 .
19396  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19397 g.\InsetSpace ~
19398
19399 \begin_inset Quotes eld
19400 \end_inset
19401
19402
19403 \family sans
19404 Figure #:
19405 \family default
19406
19407 \begin_inset Quotes erd
19408 \end_inset
19409
19410  followed by the caption text.
19411  
19412 \begin_inset Quotes eld
19413 \end_inset
19414
19415 #
19416 \begin_inset Quotes erd
19417 \end_inset
19418
19419  is the actual reference number.
19420  By default the label and the number are in the same font as the caption
19421  text and a colon follows the number to divide the label from the text.
19422  This caption format is not suitable for all document formats.
19423  
19424 \end_layout
19425
19426 \begin_layout Standard
19427 To change the default caption format, load the LaTeX-package 
19428 \series bold
19429 caption
19430 \series default
19431
19432 \begin_inset LatexCommand index
19433 name "LaTeX-packages ! caption"
19434
19435 \end_inset
19436
19437  in the document preamble with this line:
19438 \end_layout
19439
19440 \begin_layout Standard
19441
19442 \series bold
19443
19444 \backslash
19445 usepackage[format definition]{caption}
19446 \end_layout
19447
19448 \begin_layout Standard
19449 To have for example the label and the number in sans-serif bold font and
19450  the table captions always above the table like in this document, use the
19451  following command:
19452 \end_layout
19453
19454 \begin_layout Standard
19455
19456 \series bold
19457
19458 \backslash
19459 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19460 \end_layout
19461
19462 \begin_layout Standard
19463 You can also define different caption formats for the different float types.
19464  In this case load the 
19465 \series bold
19466 caption
19467 \series default
19468  package without format specific options and define the different formats
19469  with the help of the command
19470 \end_layout
19471
19472 \begin_layout Standard
19473
19474 \series bold
19475
19476 \backslash
19477 captionsetup[float type]{format definition}
19478 \end_layout
19479
19480 \begin_layout Standard
19481 in the document preamble.
19482  For example the caption formats of Figure\InsetSpace ~
19483
19484 \begin_inset LatexCommand ref
19485 reference "fig:This-is-an-fig"
19486
19487 \end_inset
19488
19489  and Table\InsetSpace ~
19490
19491 \begin_inset LatexCommand ref
19492 reference "tab:This-is-an-tab"
19493
19494 \end_inset
19495
19496  can be created using these commands in the document preamble:
19497 \end_layout
19498
19499 \begin_layout Standard
19500
19501 \series bold
19502
19503 \backslash
19504 usepackage[tableposition=top]{caption}
19505 \series default
19506
19507 \newline
19508
19509 \series bold
19510
19511 \backslash
19512 captionsetup[f\SpecialChar \textcompwordmark{}
19513 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19514 \newline
19515
19516 \begin_inset ERT
19517 status collapsed
19518
19519 \begin_layout Standard
19520
19521
19522 \backslash
19523 hphantom{
19524 \backslash
19525
19526 \backslash
19527 captionsetup[figure]
19528 \backslash
19529 {}
19530 \end_layout
19531
19532 \end_inset
19533
19534  labelsep=period}
19535 \newline
19536
19537 \backslash
19538 captionsetup[table]{labelfont={bf,sf}}
19539 \end_layout
19540
19541 \begin_layout Standard
19542 \begin_inset Note Greyedout
19543 status open
19544
19545 \begin_layout Standard
19546
19547 \series bold
19548 Note:
19549 \series default
19550  The option 
19551 \series bold
19552 tableposition=top
19553 \series default
19554  has no effect when a 
19555 \series bold
19556 koma-script
19557 \series default
19558
19559 \begin_inset LatexCommand index
19560 name "LaTeX-packages ! koma-script"
19561
19562 \end_inset
19563
19564  document class is used.
19565  In this case the document class option 
19566 \series bold
19567 tablecaptionabove
19568 \series default
19569  must be used.
19570 \end_layout
19571
19572 \end_inset
19573
19574
19575 \end_layout
19576
19577 \begin_layout Standard
19578 For more information about the package 
19579 \series bold
19580 caption
19581 \series default
19582  we refer to its documentation 
19583 \begin_inset LatexCommand cite
19584 key "caption,caption-de"
19585
19586 \end_inset
19587
19588 .
19589 \end_layout
19590
19591 \begin_layout Standard
19592 To change the label name from e.g.
19593  
19594 \begin_inset Quotes eld
19595 \end_inset
19596
19597 Figure
19598 \begin_inset Quotes erd
19599 \end_inset
19600
19601  to 
19602 \begin_inset Quotes eld
19603 \end_inset
19604
19605 Image
19606 \begin_inset Quotes erd
19607 \end_inset
19608
19609  use this preamble command:
19610 \end_layout
19611
19612 \begin_layout Standard
19613
19614 \series bold
19615
19616 \backslash
19617 renewcommand{
19618 \backslash
19619 fnum@figure}{Image~
19620 \backslash
19621 thefigure}
19622 \end_layout
19623
19624 \begin_layout Standard
19625 where 
19626 \series bold
19627
19628 \backslash
19629 thefigure
19630 \series default
19631  inserts the figure number and
19632 \series bold
19633  
19634 \begin_inset Quotes eld
19635 \end_inset
19636
19637 ~
19638 \series default
19639
19640 \begin_inset Quotes erd
19641 \end_inset
19642
19643  creates a protected space.
19644 \end_layout
19645
19646 \begin_layout Standard
19647 \begin_inset VSpace bigskip
19648 \end_inset
19649
19650 If you are using a 
19651 \series bold
19652 koma-script
19653 \series default
19654
19655 \begin_inset LatexCommand index
19656 name "LaTeX-packages ! koma-script"
19657
19658 \end_inset
19659
19660  document class (
19661 \family sans
19662 article (koma-script)
19663 \family default
19664
19665 \family sans
19666 book (koma-script)
19667 \family default
19668
19669 \family sans
19670 letter (koma-script)
19671 \family default
19672 , or 
19673 \family sans
19674 report (koma-script)
19675 \family default
19676 \InsetSpace \thinspace{}
19677 ), you can alternatively to the 
19678 \series bold
19679 caption
19680 \series default
19681  package use 
19682 \series bold
19683 koma-script
19684 \series default
19685 's built-in command 
19686 \series bold
19687
19688 \backslash
19689 setkomafont
19690 \series default
19691 .
19692  For example, to have the caption label in bold, add this command to your
19693  document preamble:
19694 \end_layout
19695
19696 \begin_layout Standard
19697
19698 \series bold
19699
19700 \backslash
19701 setkomafont{captionlabel}{
19702 \backslash
19703 bfseries}
19704 \end_layout
19705
19706 \begin_layout Standard
19707 For more information about 
19708 \series bold
19709
19710 \backslash
19711 setkomafont
19712 \series default
19713  we refer to the 
19714 \series bold
19715 koma-script
19716 \series default
19717  documentation 
19718 \begin_inset LatexCommand cite
19719 key "koma-script,koma-script-de"
19720
19721 \end_inset
19722
19723 .
19724 \end_layout
19725
19726 \begin_layout Standard
19727 \begin_inset ERT
19728 status collapsed
19729
19730 \begin_layout Standard
19731
19732
19733 \backslash
19734 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19735 }
19736 \end_layout
19737
19738 \end_inset
19739
19740
19741 \begin_inset Note Note
19742 status open
19743
19744 \begin_layout Standard
19745 The caption format is changed only for this example.
19746 \end_layout
19747
19748 \end_inset
19749
19750
19751 \end_layout
19752
19753 \begin_layout Standard
19754 \begin_inset Float figure
19755 placement !p
19756 wide false
19757 sideways false
19758 status open
19759
19760 \begin_layout Standard
19761 \align center
19762 \begin_inset Graphics
19763         filename clipart/mobius.eps
19764         lyxscale 50
19765         scale 50
19766
19767 \end_inset
19768
19769
19770 \end_layout
19771
19772 \begin_layout Standard
19773 \begin_inset Caption
19774
19775 \begin_layout Standard
19776 \begin_inset LatexCommand label
19777 name "fig:This-is-an-fig"
19778
19779 \end_inset
19780
19781 This is an example figure caption that is longer than one line to show the
19782  different caption format.
19783  Here a self-defined caption format is used.
19784 \end_layout
19785
19786 \end_inset
19787
19788
19789 \end_layout
19790
19791 \end_inset
19792
19793
19794 \end_layout
19795
19796 \begin_layout Standard
19797 \begin_inset ERT
19798 status collapsed
19799
19800 \begin_layout Standard
19801
19802
19803 \backslash
19804 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19805 on}
19806 \end_layout
19807
19808 \end_inset
19809
19810
19811 \end_layout
19812
19813 \begin_layout Standard
19814 \begin_inset Float table
19815 placement !p
19816 wide false
19817 sideways false
19818 status open
19819
19820 \begin_layout Standard
19821 \begin_inset Caption
19822
19823 \begin_layout Standard
19824 \begin_inset LatexCommand label
19825 name "tab:This-is-an-tab"
19826
19827 \end_inset
19828
19829 This is an example table caption that is longer than one line to show the
19830  different caption format.
19831  Here the standard caption format for tables in this document is used.
19832 \end_layout
19833
19834 \end_inset
19835
19836
19837 \end_layout
19838
19839 \begin_layout Standard
19840 \align center
19841 \begin_inset Tabular
19842 <lyxtabular version="3" rows="1" columns="5">
19843 <features>
19844 <column alignment="center" valignment="top" leftline="true" width="0">
19845 <column alignment="center" valignment="top" leftline="true" width="0">
19846 <column alignment="center" valignment="top" leftline="true" width="0">
19847 <column alignment="center" valignment="top" leftline="true" width="0">
19848 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19849 <row topline="true" bottomline="true">
19850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19851 \begin_inset Text
19852
19853 \begin_layout Standard
19854 a
19855 \end_layout
19856
19857 \end_inset
19858 </cell>
19859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19860 \begin_inset Text
19861
19862 \begin_layout Standard
19863 b
19864 \end_layout
19865
19866 \end_inset
19867 </cell>
19868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19869 \begin_inset Text
19870
19871 \begin_layout Standard
19872 c
19873 \end_layout
19874
19875 \end_inset
19876 </cell>
19877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19878 \begin_inset Text
19879
19880 \begin_layout Standard
19881 d
19882 \end_layout
19883
19884 \end_inset
19885 </cell>
19886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19887 \begin_inset Text
19888
19889 \begin_layout Standard
19890 e
19891 \end_layout
19892
19893 \end_inset
19894 </cell>
19895 </row>
19896 </lyxtabular>
19897
19898 \end_inset
19899
19900
19901 \end_layout
19902
19903 \end_inset
19904
19905
19906 \end_layout
19907
19908 \begin_layout Section
19909 Caption Placement
19910 \begin_inset LatexCommand index
19911 name "Caption ! Placement"
19912
19913 \end_inset
19914
19915
19916 \begin_inset LatexCommand index
19917 name "Floats ! Caption Placement"
19918
19919 \end_inset
19920
19921
19922 \begin_inset LatexCommand label
19923 name "sec:Caption-Placement"
19924
19925 \end_inset
19926
19927
19928 \end_layout
19929
19930 \begin_layout Standard
19931 The common caption placement rule is:
19932 \end_layout
19933
19934 \begin_layout Description
19935 Figure: Caption is set below the figure
19936 \end_layout
19937
19938 \begin_layout Description
19939 Table: Caption is set above the table
19940 \end_layout
19941
19942 \begin_layout Standard
19943 Having the caption above the table is unfortunately not supported in LaTeX's
19944  standard classes.
19945  That means if you are using the document classes 
19946 \family sans
19947 article
19948 \family default
19949
19950 \family sans
19951 book
19952 \family default
19953
19954 \family sans
19955 letter
19956 \family default
19957 , or 
19958 \family sans
19959 report
19960 \family default
19961  there will be no space between the caption and the table.
19962  To insert the needed space, add the following option to the load command
19963  of the LaTeX-package 
19964 \series bold
19965 caption
19966 \series default
19967  in your document preamble
19968 \begin_inset Foot
19969 status collapsed
19970
19971 \begin_layout Standard
19972 See section\InsetSpace ~
19973
19974 \begin_inset LatexCommand ref
19975 reference "sec:Caption-Formatting"
19976
19977 \end_inset
19978
19979  for more information of the package 
19980 \series bold
19981 caption
19982 \series default
19983 .
19984 \end_layout
19985
19986 \end_inset
19987
19988 :
19989 \end_layout
19990
19991 \begin_layout Standard
19992
19993 \series bold
19994 tableposition=top
19995 \end_layout
19996
19997 \begin_layout Standard
19998 If you are using a 
19999 \series bold
20000 koma-script
20001 \series default
20002
20003 \begin_inset LatexCommand index
20004 name "LaTeX-packages ! koma-script"
20005
20006 \end_inset
20007
20008  document class (
20009 \family sans
20010 article (koma-script)
20011 \family default
20012
20013 \family sans
20014 book (koma-script)
20015 \family default
20016
20017 \family sans
20018 letter (koma-script)
20019 \family default
20020 , or 
20021 \family sans
20022 report (koma-script)
20023 \family default
20024 \InsetSpace \thinspace{}
20025 ), you can alternatively to the 
20026 \series bold
20027 caption
20028 \series default
20029  package set the document class option 
20030 \series bold
20031 tablecaptionabove
20032 \series default
20033 , or you can use the environment 
20034 \family sans
20035 caption\InsetSpace ~
20036 above
20037 \family default
20038  instead of the 
20039 \family sans
20040 caption
20041 \family default
20042  environment.
20043 \end_layout
20044
20045 \begin_layout Standard
20046 \begin_inset VSpace bigskip
20047 \end_inset
20048
20049 It is also possible to set the caption beside a figure or table.
20050  To get this the LaTeX-package 
20051 \series bold
20052 sidecap
20053 \series default
20054
20055 \begin_inset LatexCommand index
20056 name "LaTeX-packages ! sidecap"
20057
20058 \end_inset
20059
20060  has to be loaded in the document preamble with the line
20061 \end_layout
20062
20063 \begin_layout Standard
20064
20065 \series bold
20066
20067 \backslash
20068 usepackage[option]{sidecap}
20069 \end_layout
20070
20071 \begin_layout Standard
20072 If you set no option, the caption is placed on the side of the outer page
20073  margin -- to the right on odd pages, to the left on even pages.
20074  You can change the placement to inner margin with the option 
20075 \series bold
20076 innercaption
20077 \series default
20078 .
20079  To force the placement always to the right or left, use the option 
20080 \series bold
20081 rightcaption
20082 \series default
20083  or 
20084 \series bold
20085 leftcaption
20086 \series default
20087 , respectively.
20088 \end_layout
20089
20090 \begin_layout Standard
20091 To place in LyX the caption of a float on the side, it is necessary to add
20092  these commands to the document preamble:
20093 \end_layout
20094
20095 \begin_layout Standard
20096
20097 \lyxline
20098
20099 \end_layout
20100
20101 \begin_layout Standard
20102
20103 \series bold
20104
20105 \backslash
20106 newcommand{
20107 \backslash
20108 TabBesBeg}{%
20109 \newline
20110
20111 \begin_inset ERT
20112 status collapsed
20113
20114 \begin_layout Standard
20115
20116
20117 \backslash
20118 hphantom{ }
20119 \end_layout
20120
20121 \end_inset
20122
20123
20124 \backslash
20125 let
20126 \backslash
20127 MyTable
20128 \backslash
20129 table
20130 \newline
20131
20132 \begin_inset ERT
20133 status collapsed
20134
20135 \begin_layout Standard
20136
20137
20138 \backslash
20139 hphantom{ }
20140 \end_layout
20141
20142 \end_inset
20143
20144
20145 \backslash
20146 let
20147 \backslash
20148 MyEndtable
20149 \backslash
20150 endtable
20151 \newline
20152
20153 \begin_inset ERT
20154 status collapsed
20155
20156 \begin_layout Standard
20157
20158
20159 \backslash
20160 hphantom{ }
20161 \end_layout
20162
20163 \end_inset
20164
20165
20166 \backslash
20167 renewenvironment{table}{
20168 \backslash
20169 begin{SCtable}}{
20170 \backslash
20171 end{SCtable}}}
20172 \end_layout
20173
20174 \begin_layout Standard
20175
20176 \series bold
20177
20178 \backslash
20179 newcommand{
20180 \backslash
20181 TabBesEnd}{%
20182 \newline
20183
20184 \begin_inset ERT
20185 status collapsed
20186
20187 \begin_layout Standard
20188
20189
20190 \backslash
20191 hphantom{ }
20192 \end_layout
20193
20194 \end_inset
20195
20196
20197 \backslash
20198 let
20199 \backslash
20200 table
20201 \backslash
20202 MyTable
20203 \newline
20204
20205 \begin_inset ERT
20206 status collapsed
20207
20208 \begin_layout Standard
20209
20210
20211 \backslash
20212 hphantom{ }
20213 \end_layout
20214
20215 \end_inset
20216
20217
20218 \backslash
20219 let
20220 \backslash
20221 endtable
20222 \backslash
20223 MyEndtable
20224 \end_layout
20225
20226 \begin_layout Standard
20227
20228 \series bold
20229
20230 \backslash
20231 newcommand{
20232 \backslash
20233 FigBesBeg}{%
20234 \newline
20235
20236 \begin_inset ERT
20237 status collapsed
20238
20239 \begin_layout Standard
20240
20241
20242 \backslash
20243 hphantom{ }
20244 \end_layout
20245
20246 \end_inset
20247
20248
20249 \backslash
20250 let
20251 \backslash
20252 MyFigure
20253 \backslash
20254 f\SpecialChar \textcompwordmark{}
20255 igure
20256 \newline
20257
20258 \begin_inset ERT
20259 status collapsed
20260
20261 \begin_layout Standard
20262
20263
20264 \backslash
20265 hphantom{ }
20266 \end_layout
20267
20268 \end_inset
20269
20270
20271 \backslash
20272 let
20273 \backslash
20274 MyEndf\SpecialChar \textcompwordmark{}
20275 igure
20276 \backslash
20277 endf\SpecialChar \textcompwordmark{}
20278 igure
20279 \newline
20280
20281 \begin_inset ERT
20282 status collapsed
20283
20284 \begin_layout Standard
20285
20286
20287 \backslash
20288 hphantom{ }
20289 \end_layout
20290
20291 \end_inset
20292
20293
20294 \backslash
20295 renewenvironment{f\SpecialChar \textcompwordmark{}
20296 igure}{
20297 \backslash
20298 begin{SCf\SpecialChar \textcompwordmark{}
20299 igure}}{
20300 \backslash
20301 end{SCf\SpecialChar \textcompwordmark{}
20302 igure}}}
20303 \end_layout
20304
20305 \begin_layout Standard
20306
20307 \series bold
20308
20309 \backslash
20310 newcommand{
20311 \backslash
20312 FigBesEnd}{%
20313 \newline
20314
20315 \begin_inset ERT
20316 status collapsed
20317
20318 \begin_layout Standard
20319
20320
20321 \backslash
20322 hphantom{ }
20323 \end_layout
20324
20325 \end_inset
20326
20327
20328 \backslash
20329 let
20330 \backslash
20331 f\SpecialChar \textcompwordmark{}
20332 igure
20333 \backslash
20334 MyFigure
20335 \newline
20336
20337 \begin_inset ERT
20338 status collapsed
20339
20340 \begin_layout Standard
20341
20342
20343 \backslash
20344 hphantom{ }
20345 \end_layout
20346
20347 \end_inset
20348
20349
20350 \backslash
20351 let
20352 \backslash
20353 endf\SpecialChar \textcompwordmark{}
20354 igure
20355 \backslash
20356 MyEndf\SpecialChar \textcompwordmark{}
20357 igure}
20358 \end_layout
20359
20360 \begin_layout Standard
20361
20362 \lyxline
20363
20364 \end_layout
20365
20366 \begin_layout Standard
20367 The commands allow you to redefine the floats so that the caption is set
20368  on the side.
20369  For figure floats use the command
20370 \end_layout
20371
20372 \begin_layout Standard
20373
20374 \series bold
20375
20376 \backslash
20377 FigBesBeg
20378 \end_layout
20379
20380 \begin_layout Standard
20381 in ERT before the float.
20382  Behind the float insert the command
20383 \end_layout
20384
20385 \begin_layout Standard
20386
20387 \series bold
20388
20389 \backslash
20390 FigBesEnd
20391 \end_layout
20392
20393 \begin_layout Standard
20394 in ERT to get back to the original float definition.
20395 \end_layout
20396
20397 \begin_layout Standard
20398 For table floats use the corresponding commands
20399 \end_layout
20400
20401 \begin_layout Standard
20402
20403 \series bold
20404
20405 \backslash
20406 TabBesBeg
20407 \series default
20408  and 
20409 \series bold
20410
20411 \backslash
20412 TabBesEnd
20413 \end_layout
20414
20415 \begin_layout Standard
20416 Figure\InsetSpace ~
20417
20418 \begin_inset LatexCommand ref
20419 reference "fig:cap-beside-fig"
20420
20421 \end_inset
20422
20423  and Table\InsetSpace ~
20424
20425 \begin_inset LatexCommand ref
20426 reference "tab:cap-beside-tab"
20427
20428 \end_inset
20429
20430  are examples where the caption is set beside.
20431 \end_layout
20432
20433 \begin_layout Standard
20434 You can see in the examples that the caption text appears at the top of
20435  the floats for table floats and at the bottom for figure floats.
20436  To change this, you can use the command
20437 \end_layout
20438
20439 \begin_layout Standard
20440
20441 \series bold
20442
20443 \backslash
20444 sidecaptionvpos{float type}{placement}
20445 \end_layout
20446
20447 \begin_layout Standard
20448 in the document preamble or in ERT before the float.
20449  The float type is either 
20450 \family sans
20451 figure
20452 \family default
20453  or 
20454 \family sans
20455 table
20456 \family default
20457 , the placement can be 
20458 \begin_inset Quotes eld
20459 \end_inset
20460
20461
20462 \family sans
20463 t
20464 \family default
20465
20466 \begin_inset Quotes erd
20467 \end_inset
20468
20469  for top, 
20470 \begin_inset Quotes eld
20471 \end_inset
20472
20473
20474 \family sans
20475 c
20476 \family default
20477
20478 \begin_inset Quotes erd
20479 \end_inset
20480
20481  for center, or 
20482 \begin_inset Quotes eld
20483 \end_inset
20484
20485
20486 \family sans
20487 b
20488 \family default
20489
20490 \begin_inset Quotes erd
20491 \end_inset
20492
20493  for bottom.
20494  To have for example the caption of figure floats vertically centered, use
20495  the command
20496 \end_layout
20497
20498 \begin_layout Standard
20499
20500 \series bold
20501
20502 \backslash
20503 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20504 igure}{c}
20505 \end_layout
20506
20507 \begin_layout Standard
20508 This was used for Figure\InsetSpace ~
20509
20510 \begin_inset LatexCommand ref
20511 reference "fig:cap-beside-fig-2"
20512
20513 \end_inset
20514
20515 .
20516 \end_layout
20517
20518 \begin_layout Standard
20519 \begin_inset VSpace defskip
20520 \end_inset
20521
20522 For more information about the package 
20523 \series bold
20524 sidecap
20525 \series default
20526  we refer to its documentation 
20527 \begin_inset LatexCommand cite
20528 key "sidecap"
20529
20530 \end_inset
20531
20532 .
20533 \end_layout
20534
20535 \begin_layout Standard
20536 \begin_inset Note Greyedout
20537 status open
20538
20539 \begin_layout Standard
20540
20541 \series bold
20542 Note:
20543 \series default
20544  The LaTeX-package 
20545 \series bold
20546 hypcap
20547 \series default
20548
20549 \begin_inset LatexCommand index
20550 name "LaTeX-packages ! hypcap"
20551
20552 \end_inset
20553
20554 , described in section\InsetSpace ~
20555
20556 \begin_inset LatexCommand ref
20557 reference "sub:Reference-Position"
20558
20559 \end_inset
20560
20561 , has no effect on floats with the caption set beside.
20562 \end_layout
20563
20564 \end_inset
20565
20566
20567 \end_layout
20568
20569 \begin_layout Standard
20570 \begin_inset ERT
20571 status collapsed
20572
20573 \begin_layout Standard
20574
20575
20576 \backslash
20577 FigBesBeg 
20578 \end_layout
20579
20580 \end_inset
20581
20582
20583 \end_layout
20584
20585 \begin_layout Standard
20586 \begin_inset Float figure
20587 wide false
20588 sideways false
20589 status open
20590
20591 \begin_layout Standard
20592 \begin_inset Graphics
20593         filename clipart/escher-lsd.eps
20594         scale 75
20595
20596 \end_inset
20597
20598
20599 \end_layout
20600
20601 \begin_layout Standard
20602 \begin_inset Caption
20603
20604 \begin_layout Standard
20605 \begin_inset LatexCommand label
20606 name "fig:cap-beside-fig"
20607
20608 \end_inset
20609
20610 This is a caption beside a figure.
20611 \end_layout
20612
20613 \end_inset
20614
20615
20616 \end_layout
20617
20618 \end_inset
20619
20620
20621 \end_layout
20622
20623 \begin_layout Standard
20624 \begin_inset ERT
20625 status collapsed
20626
20627 \begin_layout Standard
20628
20629
20630 \backslash
20631 TabBesBeg 
20632 \end_layout
20633
20634 \end_inset
20635
20636
20637 \end_layout
20638
20639 \begin_layout Standard
20640 \begin_inset Float table
20641 wide false
20642 sideways false
20643 status open
20644
20645 \begin_layout Standard
20646 \begin_inset Caption
20647
20648 \begin_layout Standard
20649 \begin_inset LatexCommand label
20650 name "tab:cap-beside-tab"
20651
20652 \end_inset
20653
20654 This is a caption beside a table.
20655 \end_layout
20656
20657 \end_inset
20658
20659
20660 \end_layout
20661
20662 \begin_layout Standard
20663 \begin_inset Tabular
20664 <lyxtabular version="3" rows="4" columns="5">
20665 <features>
20666 <column alignment="center" valignment="top" leftline="true" width="0">
20667 <column alignment="center" valignment="top" leftline="true" width="0">
20668 <column alignment="center" valignment="top" leftline="true" width="0">
20669 <column alignment="center" valignment="top" leftline="true" width="0">
20670 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20671 <row topline="true">
20672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20673 \begin_inset Text
20674
20675 \begin_layout Standard
20676 a
20677 \end_layout
20678
20679 \end_inset
20680 </cell>
20681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20682 \begin_inset Text
20683
20684 \begin_layout Standard
20685
20686 \end_layout
20687
20688 \end_inset
20689 </cell>
20690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20691 \begin_inset Text
20692
20693 \begin_layout Standard
20694 b
20695 \end_layout
20696
20697 \end_inset
20698 </cell>
20699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20700 \begin_inset Text
20701
20702 \begin_layout Standard
20703
20704 \end_layout
20705
20706 \end_inset
20707 </cell>
20708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20709 \begin_inset Text
20710
20711 \begin_layout Standard
20712 c
20713 \end_layout
20714
20715 \end_inset
20716 </cell>
20717 </row>
20718 <row topline="true">
20719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20720 \begin_inset Text
20721
20722 \begin_layout Standard
20723
20724 \end_layout
20725
20726 \end_inset
20727 </cell>
20728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20729 \begin_inset Text
20730
20731 \begin_layout Standard
20732 d
20733 \end_layout
20734
20735 \end_inset
20736 </cell>
20737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20738 \begin_inset Text
20739
20740 \begin_layout Standard
20741
20742 \end_layout
20743
20744 \end_inset
20745 </cell>
20746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20747 \begin_inset Text
20748
20749 \begin_layout Standard
20750 e
20751 \end_layout
20752
20753 \end_inset
20754 </cell>
20755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20756 \begin_inset Text
20757
20758 \begin_layout Standard
20759
20760 \end_layout
20761
20762 \end_inset
20763 </cell>
20764 </row>
20765 <row topline="true">
20766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20767 \begin_inset Text
20768
20769 \begin_layout Standard
20770 f
20771 \end_layout
20772
20773 \end_inset
20774 </cell>
20775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20776 \begin_inset Text
20777
20778 \begin_layout Standard
20779
20780 \end_layout
20781
20782 \end_inset
20783 </cell>
20784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20785 \begin_inset Text
20786
20787 \begin_layout Standard
20788 g
20789 \end_layout
20790
20791 \end_inset
20792 </cell>
20793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20794 \begin_inset Text
20795
20796 \begin_layout Standard
20797
20798 \end_layout
20799
20800 \end_inset
20801 </cell>
20802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20803 \begin_inset Text
20804
20805 \begin_layout Standard
20806 h
20807 \end_layout
20808
20809 \end_inset
20810 </cell>
20811 </row>
20812 <row topline="true" bottomline="true">
20813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20814 \begin_inset Text
20815
20816 \begin_layout Standard
20817
20818 \end_layout
20819
20820 \end_inset
20821 </cell>
20822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20823 \begin_inset Text
20824
20825 \begin_layout Standard
20826 i
20827 \end_layout
20828
20829 \end_inset
20830 </cell>
20831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20832 \begin_inset Text
20833
20834 \begin_layout Standard
20835
20836 \end_layout
20837
20838 \end_inset
20839 </cell>
20840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20841 \begin_inset Text
20842
20843 \begin_layout Standard
20844 j
20845 \end_layout
20846
20847 \end_inset
20848 </cell>
20849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20850 \begin_inset Text
20851
20852 \begin_layout Standard
20853
20854 \end_layout
20855
20856 \end_inset
20857 </cell>
20858 </row>
20859 </lyxtabular>
20860
20861 \end_inset
20862
20863
20864 \end_layout
20865
20866 \end_inset
20867
20868
20869 \end_layout
20870
20871 \begin_layout Standard
20872 \begin_inset ERT
20873 status collapsed
20874
20875 \begin_layout Standard
20876
20877
20878 \backslash
20879 TabBesEnd
20880 \end_layout
20881
20882 \end_inset
20883
20884
20885 \end_layout
20886
20887 \begin_layout Standard
20888 \begin_inset ERT
20889 status collapsed
20890
20891 \begin_layout Standard
20892
20893
20894 \backslash
20895 sidecaptionvpos{figure}{c}
20896 \end_layout
20897
20898 \end_inset
20899
20900
20901 \begin_inset Float figure
20902 wide false
20903 sideways false
20904 status open
20905
20906 \begin_layout Standard
20907 \begin_inset Graphics
20908         filename clipart/escher-lsd.eps
20909         scale 75
20910
20911 \end_inset
20912
20913
20914 \end_layout
20915
20916 \begin_layout Standard
20917 \begin_inset Caption
20918
20919 \begin_layout Standard
20920 \begin_inset LatexCommand label
20921 name "fig:cap-beside-fig-2"
20922
20923 \end_inset
20924
20925 This is a vertically centered caption beside a figure.
20926 \end_layout
20927
20928 \end_inset
20929
20930
20931 \end_layout
20932
20933 \end_inset
20934
20935
20936 \end_layout
20937
20938 \begin_layout Standard
20939 \begin_inset ERT
20940 status collapsed
20941
20942 \begin_layout Standard
20943
20944
20945 \backslash
20946 FigBesEnd
20947 \end_layout
20948
20949 \end_inset
20950
20951
20952 \end_layout
20953
20954 \begin_layout Section
20955 Listings of Floats
20956 \begin_inset LatexCommand label
20957 name "sec:Listings-of-Floats"
20958
20959 \end_inset
20960
20961
20962 \begin_inset LatexCommand index
20963 name "Floats ! Listings"
20964
20965 \end_inset
20966
20967
20968 \end_layout
20969
20970 \begin_layout Standard
20971 Similar to the the table of contents where the sections of the document
20972  are listed, there are listings for all float types, like the figures of
20973  the documents.
20974  You can insert them via the 
20975 \family sans
20976 Insert\SpecialChar \menuseparator
20977 List\InsetSpace ~
20978 /\InsetSpace ~
20979 TOC
20980 \family default
20981  sub menus.
20982 \end_layout
20983
20984 \begin_layout Standard
20985 The list entries are the float captions or its short title, the float number,
20986  and the page number where they appear in the document.
20987 \end_layout
20988
20989 \begin_layout Standard
20990 You can find the list of figures and tables at the end of this document.
20991 \end_layout
20992
20993 \begin_layout Chapter
20994 Notes
20995 \end_layout
20996
20997 \begin_layout Section
20998 \begin_inset ERT
20999 status collapsed
21000
21001 \begin_layout Standard
21002
21003
21004 \backslash
21005 texorpdfstring{
21006 \end_layout
21007
21008 \end_inset
21009
21010 LyX
21011 \begin_inset ERT
21012 status collapsed
21013
21014 \begin_layout Standard
21015
21016 }{LyX}
21017 \end_layout
21018
21019 \end_inset
21020
21021  Notes
21022 \begin_inset LatexCommand label
21023 name "sec:LyX-Notes"
21024
21025 \end_inset
21026
21027
21028 \begin_inset LatexCommand index
21029 name "Notes ! LyX Notes"
21030
21031 \end_inset
21032
21033
21034 \begin_inset Note Note
21035 status collapsed
21036
21037 \begin_layout Standard
21038 The command 
21039 \backslash
21040 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21041  are displayed wrongly in PDF-bookmarks.
21042  For more information about this, have a look at 
21043 \begin_inset LatexCommand cite
21044 key "hyperref"
21045
21046 \end_inset
21047
21048 .
21049 \end_layout
21050
21051 \end_inset
21052
21053
21054 \end_layout
21055
21056 \begin_layout Standard
21057 Notes are inserted with the toolbar button 
21058 \begin_inset Graphics
21059         filename ../images/note-insert.xpm
21060         scale 85
21061
21062 \end_inset
21063
21064  or the menu 
21065 \family sans
21066 Insert\SpecialChar \menuseparator
21067 Note
21068 \family default
21069 .
21070  There are five types of notes:
21071 \end_layout
21072
21073 \begin_layout Description
21074 LyX\InsetSpace ~
21075 Note This note type is for internal notes that won't appear in the output.
21076  Its note-box looks like this:
21077 \newline
21078
21079 \newline
21080
21081 \begin_inset Graphics
21082         filename clipart/LyXNoteImageQt4.png
21083         display none
21084         scale 85
21085
21086 \end_inset
21087
21088  
21089 \begin_inset Note Note
21090 status open
21091
21092 \begin_layout Standard
21093 This is text in a note box that doesn't appear in the output.
21094 \end_layout
21095
21096 \end_inset
21097
21098
21099 \end_layout
21100
21101 \begin_layout Description
21102 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21103 ent, when you export the document to LaTeX via the menu 
21104 \family sans
21105 File\SpecialChar \menuseparator
21106 Export\SpecialChar \menuseparator
21107 LaTeX (pdflatex) / LaTeX (plain)
21108 \family default
21109 .
21110  Its note-box looks like this:
21111 \newline
21112
21113 \newline
21114
21115 \begin_inset Graphics
21116         filename clipart/CommentNoteImageQt4.png
21117         display none
21118         scale 85
21119
21120 \end_inset
21121
21122  
21123 \begin_inset Note Comment
21124 status open
21125
21126 \begin_layout Standard
21127 This is text in a note box that only appears as comment in LaTeX-files.
21128 \end_layout
21129
21130 \end_inset
21131
21132
21133 \end_layout
21134
21135 \begin_layout Description
21136 Greyed\InsetSpace ~
21137 Out This note will appear in the output as grey text.
21138  Its note-box looks like this:
21139 \newline
21140
21141 \newline
21142
21143 \begin_inset Graphics
21144         filename clipart/GreyedOutNoteImageQt4.png
21145         display none
21146         scale 85
21147
21148 \end_inset
21149
21150
21151 \newline
21152
21153 \begin_inset ERT
21154 status collapsed
21155
21156 \begin_layout Standard
21157
21158
21159 \backslash
21160 renewenvironment{lyxgreyedout}
21161 \end_layout
21162
21163 \begin_layout Standard
21164
21165 {
21166 \backslash
21167 textcolor[gray]{0.8}
21168 \backslash
21169 bgroup}{
21170 \backslash
21171 egroup}
21172 \end_layout
21173
21174 \end_inset
21175
21176
21177 \begin_inset Note Greyedout
21178 status open
21179
21180 \begin_layout Standard
21181 This is text
21182 \begin_inset Foot
21183 status open
21184
21185 \begin_layout Standard
21186 This is an example footnote within a greyed out note.
21187 \end_layout
21188
21189 \end_inset
21190
21191  of a comment that appears in the output as grey text.
21192 \end_layout
21193
21194 \end_inset
21195
21196
21197 \begin_inset ERT
21198 status collapsed
21199
21200 \begin_layout Standard
21201
21202
21203 \backslash
21204 renewenvironment{lyxgreyedout}
21205 \end_layout
21206
21207 \begin_layout Standard
21208
21209 {
21210 \backslash
21211 textcolor{blue}
21212 \backslash
21213 bgroup}{
21214 \backslash
21215 egroup}
21216 \end_layout
21217
21218 \end_inset
21219
21220
21221 \begin_inset Note Note
21222 status collapsed
21223
21224 \begin_layout Standard
21225 The greyed out note is here redefined to show it with the original LyX definitio
21226 n because greyed out notes are redefined in the preamble of this document,
21227  as described below, to have blue text.
21228 \end_layout
21229
21230 \end_inset
21231
21232
21233 \newline
21234
21235 \newline
21236 As you can see in the example, the first line of greyed out notes is a bit
21237  indented and greyed out notes can have footnotes.
21238 \end_layout
21239
21240 \begin_layout Description
21241 Framed This note will appear in the output as framed text.
21242  Its note-box looks like this:
21243 \newline
21244
21245 \newline
21246
21247 \begin_inset Graphics
21248         filename clipart/FramedNoteImageQt4.png
21249         display none
21250         scale 85
21251
21252 \end_inset
21253
21254  
21255 \begin_inset Note Framed
21256 status open
21257
21258 \begin_layout Standard
21259 This is text in a note box that appears framed in the output.
21260 \end_layout
21261
21262 \end_inset
21263
21264  In contrary to framed boxes
21265 \begin_inset Foot
21266 status collapsed
21267
21268 \begin_layout Standard
21269 Framed boxes are described in section\InsetSpace ~
21270
21271 \begin_inset LatexCommand ref
21272 reference "sec:Framed-Boxes"
21273
21274 \end_inset
21275
21276 .
21277 \end_layout
21278
21279 \end_inset
21280
21281  the frame uses always the whole text width and the note is set into its
21282  own paragraph.
21283 \end_layout
21284
21285 \begin_layout Description
21286 Shaded This note will appear in the output with red background color.
21287  Its note box looks like this:
21288 \newline
21289
21290 \newline
21291
21292 \begin_inset Graphics
21293         filename clipart/ShadedNoteImageQt4.png
21294         display none
21295         scale 85
21296
21297 \end_inset
21298
21299
21300 \begin_inset Note Shaded
21301 status open
21302
21303 \begin_layout Standard
21304 This text in a note box appears in the output with red background.
21305 \end_layout
21306
21307 \end_inset
21308
21309 In contrary to colored boxes
21310 \begin_inset Foot
21311 status collapsed
21312
21313 \begin_layout Standard
21314 Colored boxes are described in section\InsetSpace ~
21315
21316 \begin_inset LatexCommand ref
21317 reference "sec:Colored-Boxes"
21318
21319 \end_inset
21320
21321 .
21322 \end_layout
21323
21324 \end_inset
21325
21326  the note uses always the whole text width and the note is set into its
21327  own paragraph.
21328 \end_layout
21329
21330 \begin_layout Standard
21331 \begin_inset VSpace bigskip
21332 \end_inset
21333
21334 When you use the toolbar button to insert notes, a 
21335 \family sans
21336 LyX\InsetSpace ~
21337 Note
21338 \family default
21339  is inserted.
21340  You can switch between the five note types by right-clicking on the note-box.
21341  
21342 \family roman
21343 \series medium
21344 \bar no
21345 If you want to turn existing text into a note, mark it and click on the
21346  note
21347 \family default
21348 \series default
21349 \bar default
21350  toolbar 
21351 \family roman
21352 \series medium
21353 \bar no
21354 button
21355 \family default
21356 \series default
21357 \bar default
21358 .
21359 \end_layout
21360
21361 \begin_layout Standard
21362 \begin_inset VSpace bigskip
21363 \end_inset
21364
21365 You can change the text color of the greyed out notes in the preamble with
21366  the following command:
21367 \end_layout
21368
21369 \begin_layout Standard
21370
21371 \series bold
21372
21373 \backslash
21374 renewenvironment{lyxgreyedout}
21375 \newline
21376
21377 \begin_inset ERT
21378 status collapsed
21379
21380 \begin_layout Standard
21381
21382
21383 \backslash
21384 hphantom{ }
21385 \end_layout
21386
21387 \end_inset
21388
21389 {
21390 \backslash
21391 textcolor{color}
21392 \backslash
21393 bgroup}{
21394 \backslash
21395 egroup}
21396 \end_layout
21397
21398 \begin_layout Standard
21399 The available colors and the method to define own colors is explained in
21400  section\InsetSpace ~
21401
21402 \begin_inset LatexCommand ref
21403 reference "sec:Colored-Tables"
21404
21405 \end_inset
21406
21407 .
21408 \end_layout
21409
21410 \begin_layout Standard
21411 Notes that appear in blue in this document are set using greyed out notes
21412  with blue text.
21413 \end_layout
21414
21415 \begin_layout Standard
21416 \begin_inset VSpace bigskip
21417 \end_inset
21418
21419
21420 \end_layout
21421
21422 \begin_layout Standard
21423 The text style of 
21424 \family sans
21425 Framed
21426 \family default
21427  and 
21428 \family sans
21429 Shaded
21430 \family default
21431  notes can be set in the 
21432 \family sans
21433 Text Style
21434 \family default
21435  dialog.
21436 \end_layout
21437
21438 \begin_layout Standard
21439 The default frame width for 
21440 \family sans
21441 Framed
21442 \family default
21443  notes is 0.4\InsetSpace \thinspace{}
21444 pt; it can be changed by changing the size 
21445 \series bold
21446
21447 \backslash
21448 FrameRule
21449 \series default
21450 .
21451  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21452 pt; it can
21453  be changed by changing the size 
21454 \series bold
21455
21456 \backslash
21457 FrameSep
21458 \series default
21459 .
21460  For example the frame appearance of the following 
21461 \family sans
21462 Framed
21463 \family default
21464  note is set with the ERT commands
21465 \end_layout
21466
21467 \begin_layout Standard
21468
21469 \series bold
21470
21471 \backslash
21472 FrameRule 5pt 
21473 \backslash
21474 FrameSep 0.5cm
21475 \end_layout
21476
21477 \begin_layout Standard
21478 \begin_inset ERT
21479 status collapsed
21480
21481 \begin_layout Standard
21482
21483
21484 \backslash
21485 FrameRule 5pt 
21486 \backslash
21487 FrameSep 0.5cm
21488 \end_layout
21489
21490 \end_inset
21491
21492
21493 \begin_inset Note Framed
21494 status open
21495
21496 \begin_layout Standard
21497 This is text in a 
21498 \family sans
21499 Framed
21500 \family default
21501  note.
21502 \end_layout
21503
21504 \end_inset
21505
21506
21507 \begin_inset ERT
21508 status collapsed
21509
21510 \begin_layout Standard
21511
21512
21513 \backslash
21514 FrameRule 0.4pt 
21515 \backslash
21516 FrameSep 9pt
21517 \end_layout
21518
21519 \end_inset
21520
21521
21522 \end_layout
21523
21524 \begin_layout Standard
21525 \begin_inset VSpace bigskip
21526 \end_inset
21527
21528
21529 \end_layout
21530
21531 \begin_layout Standard
21532 For 
21533 \family sans
21534 Shaded
21535 \family default
21536  notes the default space between the note content and the note border is
21537  3\InsetSpace \thinspace{}
21538 pt; it can be changed by changing the size 
21539 \series bold
21540
21541 \backslash
21542 fboxsep
21543 \series default
21544 .
21545 \newline
21546 The default background color red can be changed with the command 
21547 \series bold
21548
21549 \backslash
21550 def\SpecialChar \textcompwordmark{}
21551 inecolor{shadebox}
21552 \series default
21553 .
21554  The scheme of the 
21555 \series bold
21556
21557 \backslash
21558 def\SpecialChar \textcompwordmark{}
21559 inecolor
21560 \series default
21561  command is explained in section\InsetSpace ~
21562
21563 \begin_inset LatexCommand ref
21564 reference "sec:Colored-Tables"
21565
21566 \end_inset
21567
21568
21569 \begin_inset Foot
21570 status collapsed
21571
21572 \begin_layout Standard
21573 Note that 
21574 \series bold
21575
21576 \backslash
21577 def
21578 \series default
21579 \SpecialChar \textcompwordmark{}
21580
21581 \series bold
21582 inecolor
21583 \series default
21584  requires the LaTeX-package 
21585 \series bold
21586 color
21587 \series default
21588  in the preamble, see section\InsetSpace ~
21589
21590 \begin_inset LatexCommand ref
21591 reference "sec:Colored-Boxes"
21592
21593 \end_inset
21594
21595 .
21596 \end_layout
21597
21598 \end_inset
21599
21600 .
21601 \end_layout
21602
21603 \begin_layout Standard
21604 For example the appearance of the following 
21605 \family sans
21606 Shaded
21607 \family default
21608  note is set with the ERT commands
21609 \end_layout
21610
21611 \begin_layout Standard
21612
21613 \series bold
21614
21615 \backslash
21616 fboxsep 0.5cm
21617 \series default
21618
21619 \newline
21620
21621 \series bold
21622
21623 \backslash
21624 def\SpecialChar \textcompwordmark{}
21625 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21626 \end_layout
21627
21628 \begin_layout Standard
21629 \begin_inset ERT
21630 status collapsed
21631
21632 \begin_layout Standard
21633
21634
21635 \backslash
21636 fboxsep 0.5cm
21637 \end_layout
21638
21639 \end_inset
21640
21641
21642 \begin_inset ERT
21643 status collapsed
21644
21645 \begin_layout Standard
21646
21647
21648 \backslash
21649 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21650 \end_layout
21651
21652 \end_inset
21653
21654
21655 \begin_inset Note Shaded
21656 status open
21657
21658 \begin_layout Standard
21659
21660 \color yellow
21661 This is yellow text in a
21662 \color none
21663  
21664 \family sans
21665 \color yellow
21666 Shaded
21667 \family default
21668 \color none
21669  
21670 \color yellow
21671 note with darkgreen background.
21672 \end_layout
21673
21674 \end_inset
21675
21676
21677 \begin_inset ERT
21678 status collapsed
21679
21680 \begin_layout Standard
21681
21682
21683 \backslash
21684 fboxsep 3pt
21685 \end_layout
21686
21687 \end_inset
21688
21689
21690 \begin_inset ERT
21691 status collapsed
21692
21693 \begin_layout Standard
21694
21695
21696 \backslash
21697 definecolor{shadecolor}{rgb}{1,0,0}
21698 \end_layout
21699
21700 \end_inset
21701
21702
21703 \end_layout
21704
21705 \begin_layout Section
21706 Footnotes
21707 \begin_inset LatexCommand label
21708 name "sec:Footnotes"
21709
21710 \end_inset
21711
21712
21713 \begin_inset LatexCommand index
21714 name "Notes ! Footnotes"
21715
21716 \end_inset
21717
21718
21719 \begin_inset LatexCommand index
21720 name "Footnotes"
21721
21722 \end_inset
21723
21724
21725 \end_layout
21726
21727 \begin_layout Standard
21728 Footnotes can be inserted using the toolbar button 
21729 \begin_inset Graphics
21730         filename ../images/footnote-insert.xpm
21731         scale 85
21732
21733 \end_inset
21734
21735  or the menu 
21736 \family sans
21737 Insert\SpecialChar \menuseparator
21738 Footnote
21739 \family default
21740 .
21741  
21742 \family roman
21743 \series medium
21744 \bar no
21745 You'll see
21746 \family default
21747 \series default
21748 \bar default
21749  then the following footnote-box: 
21750 \begin_inset Graphics
21751         filename clipart/footnoteQt4.png
21752         scale 80
21753
21754 \end_inset
21755
21756  
21757 \family roman
21758 \series medium
21759 \bar no
21760 where you can enter the footnote text.
21761  If you want to turn existing text into a footnote, mark it and click on
21762  the footnote
21763 \family default
21764 \series default
21765 \bar default
21766  toolbar 
21767 \family roman
21768 \series medium
21769 \bar no
21770 button
21771 \family default
21772 \series default
21773 \bar default
21774 .
21775 \end_layout
21776
21777 \begin_layout Standard
21778 Here is an example footnote:
21779 \family roman
21780 \series medium
21781 \bar no
21782
21783 \begin_inset Foot
21784 status open
21785
21786 \begin_layout Standard
21787 \begin_inset LatexCommand label
21788 name "foot:This-is-an"
21789
21790 \end_inset
21791
21792 This is an example footnote.
21793 \end_layout
21794
21795 \end_inset
21796
21797
21798 \family default
21799 \series default
21800 \bar default
21801
21802 \begin_inset ERT
21803 status collapsed
21804
21805 \begin_layout Standard
21806
21807
21808 \backslash
21809 newcounter{MyRepeatFoot}
21810 \end_layout
21811
21812 \begin_layout Standard
21813
21814
21815 \backslash
21816 setcounter{MyRepeatFoot}{
21817 \backslash
21818 thefootnote}
21819 \end_layout
21820
21821 \end_inset
21822
21823
21824 \end_layout
21825
21826 \begin_layout Standard
21827 The footnote will appear in the output as a superscript number at the text
21828  position where the footnote box is placed.
21829  The footnote text is placed at the bottom of the current page.
21830  The footnote number is calculated by LaTeX, the numbers are consecutive.
21831  It depends on your document-class, if the footnote number is reset for
21832  every chapter.
21833 \end_layout
21834
21835 \begin_layout Standard
21836 Footnotes can be referenced like floats: Insert a label into the footnote
21837  and cross-reference this label in the text as described in section\InsetSpace ~
21838
21839 \begin_inset LatexCommand ref
21840 reference "sec:Referencing-Floats"
21841
21842 \end_inset
21843
21844 .
21845 \newline
21846 This is a cross-reference of Footnote\InsetSpace ~
21847
21848 \begin_inset LatexCommand ref
21849 reference "foot:This-is-an"
21850
21851 \end_inset
21852
21853 .
21854 \end_layout
21855
21856 \begin_layout Standard
21857 \begin_inset VSpace defskip
21858 \end_inset
21859
21860 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21861
21862 \begin_inset LatexCommand ref
21863 reference "sec:Minipages"
21864
21865 \end_inset
21866
21867 .
21868  Footnotes within longtables are described in section\InsetSpace ~
21869
21870 \begin_inset LatexCommand ref
21871 reference "sub:Footnotes-in-Longtables"
21872
21873 \end_inset
21874
21875 .
21876 \end_layout
21877
21878 \begin_layout Standard
21879 \begin_inset VSpace defskip
21880 \end_inset
21881
21882 To create only a mark for a footnote, use the command 
21883 \series bold
21884
21885 \backslash
21886 footnotemark[number]
21887 \series default
21888  in ERT.
21889  This is used when you have the same annotation several times in a text
21890  but doesn't want to print the footnote text every time.
21891 \newline
21892 As you don't know
21893  the number of the repeating footnote while you are writing the text, you
21894  have to store its number.
21895  For the following footnote mark example, these commands were inserted in
21896  ERT behind Footnote\InsetSpace ~
21897
21898 \begin_inset LatexCommand ref
21899 reference "foot:This-is-an"
21900
21901 \end_inset
21902
21903  to store the footnote number:
21904 \end_layout
21905
21906 \begin_layout Standard
21907
21908 \series bold
21909
21910 \backslash
21911 newcounter{MyRepeatFoot}
21912 \newline
21913
21914 \backslash
21915 setcounter{MyRepeatFoot}{
21916 \backslash
21917 thefootnote}
21918 \end_layout
21919
21920 \begin_layout Standard
21921 The footnote mark was then created with this command:
21922 \end_layout
21923
21924 \begin_layout Standard
21925
21926 \series bold
21927
21928 \backslash
21929 footnotemark[
21930 \backslash
21931 theMyRepeatFoot]
21932 \end_layout
21933
21934 \begin_layout Standard
21935 Here is an example footnote mark:
21936 \family roman
21937 \series medium
21938 \bar no
21939
21940 \begin_inset ERT
21941 status collapsed
21942
21943 \begin_layout Standard
21944
21945
21946 \backslash
21947 footnotemark[
21948 \backslash
21949 theMyRepeatFoot]
21950 \end_layout
21951
21952 \end_inset
21953
21954
21955 \end_layout
21956
21957 \begin_layout Subsection
21958 Footnote Numbering
21959 \begin_inset LatexCommand label
21960 name "sub:Footnote-Numbering"
21961
21962 \end_inset
21963
21964
21965 \begin_inset LatexCommand index
21966 name "Footnotes ! Numbering"
21967
21968 \end_inset
21969
21970
21971 \end_layout
21972
21973 \begin_layout Standard
21974 To reset the footnote number back to 1 after each section
21975 \family roman
21976 , add this command to your document preamble:
21977 \end_layout
21978
21979 \begin_layout Standard
21980
21981 \series bold
21982
21983 \backslash
21984 @addtoreset{footnote}{section}
21985 \end_layout
21986
21987 \begin_layout Standard
21988 \begin_inset VSpace bigskip
21989 \end_inset
21990
21991 The following preamble command changes the footnote numbering style to small
21992  roman numerals:
21993 \end_layout
21994
21995 \begin_layout Standard
21996
21997 \series bold
21998
21999 \backslash
22000 renewcommand{
22001 \backslash
22002 thefootnote}{
22003 \backslash
22004 roman{footnote}}
22005 \end_layout
22006
22007 \begin_layout Standard
22008 \begin_inset ERT
22009 status collapsed
22010
22011 \begin_layout Standard
22012
22013
22014 \backslash
22015 renewcommand{
22016 \backslash
22017 thefootnote}{
22018 \backslash
22019 roman{footnote}}
22020 \end_layout
22021
22022 \end_inset
22023
22024  This is a footnote with roman numbering:
22025 \begin_inset Foot
22026 status open
22027
22028 \begin_layout Standard
22029 This is an example footnote with roman numbering.
22030 \end_layout
22031
22032 \end_inset
22033
22034
22035 \begin_inset ERT
22036 status collapsed
22037
22038 \begin_layout Standard
22039
22040
22041 \backslash
22042 renewcommand{
22043 \backslash
22044 thefootnote}{
22045 \backslash
22046 arabic{footnote}}
22047 \end_layout
22048
22049 \end_inset
22050
22051
22052 \end_layout
22053
22054 \begin_layout Standard
22055 To change the numbering style to capital roman numerals replace in the command
22056  above 
22057 \series bold
22058
22059 \backslash
22060 roman
22061 \series default
22062  by 
22063 \series bold
22064
22065 \backslash
22066 Roman
22067 \series default
22068 .
22069  To 
22070 \begin_inset Quotes eld
22071 \end_inset
22072
22073 number
22074 \begin_inset Quotes erd
22075 \end_inset
22076
22077  footnotes with capital or small Latin letters use 
22078 \series bold
22079
22080 \backslash
22081 Alph
22082 \series default
22083  or 
22084 \series bold
22085
22086 \backslash
22087 alph
22088 \series default
22089 , respectively.
22090  To 
22091 \begin_inset Quotes eld
22092 \end_inset
22093
22094 number
22095 \begin_inset Quotes erd
22096 \end_inset
22097
22098  footnotes with symbols use 
22099 \series bold
22100
22101 \backslash
22102 fnsymbol
22103 \series default
22104 .
22105 \end_layout
22106
22107 \begin_layout Standard
22108 \begin_inset Note Greyedout
22109 status open
22110
22111 \begin_layout Standard
22112
22113 \series bold
22114 Note:
22115 \series default
22116  You can only number 26 footnotes with Latin letters, because this numbering
22117  is limited to single letters.
22118 \end_layout
22119
22120 \end_inset
22121
22122
22123 \newline
22124
22125 \begin_inset Note Greyedout
22126 status open
22127
22128 \begin_layout Standard
22129
22130 \series bold
22131 Note:
22132 \series default
22133  You can only number 9 footnotes with symbols.
22134 \end_layout
22135
22136 \end_inset
22137
22138
22139 \end_layout
22140
22141 \begin_layout Standard
22142 To return to the default numbering style when you changed to another one,
22143  use 
22144 \series bold
22145
22146 \backslash
22147 arabic
22148 \series default
22149  instead of 
22150 \series bold
22151
22152 \backslash
22153 roman
22154 \series default
22155  in the command above.
22156 \end_layout
22157
22158 \begin_layout Standard
22159 \begin_inset VSpace bigskip
22160 \end_inset
22161
22162
22163 \end_layout
22164
22165 \begin_layout Standard
22166 If you want to have footnotes numbered in the scheme 
22167 \begin_inset Quotes eld
22168 \end_inset
22169
22170 chapter.footnote
22171 \begin_inset Quotes erd
22172 \end_inset
22173
22174 , add the following command to your document preamble:
22175 \end_layout
22176
22177 \begin_layout Standard
22178
22179 \series bold
22180
22181 \backslash
22182 numberwithin{footnote}{chapter}
22183 \end_layout
22184
22185 \begin_layout Standard
22186 To be able to use the command 
22187 \series bold
22188
22189 \backslash
22190 numberwithin
22191 \series default
22192 , set in the tab 
22193 \family sans
22194 Math\InsetSpace ~
22195 Options
22196 \family default
22197  in the document settings the option 
22198 \family sans
22199 Use\InsetSpace ~
22200 AMS\InsetSpace ~
22201 math\InsetSpace ~
22202 package
22203 \family default
22204 .
22205 \end_layout
22206
22207 \begin_layout Standard
22208 \begin_inset ERT
22209 status collapsed
22210
22211 \begin_layout Standard
22212
22213
22214 \backslash
22215 numberwithin{footnote}{chapter}
22216 \end_layout
22217
22218 \end_inset
22219
22220 This is another example footnote:
22221 \series bold
22222
22223 \begin_inset Foot
22224 status open
22225
22226 \begin_layout Standard
22227 This is a footnote numbered in the scheme 
22228 \begin_inset Quotes eld
22229 \end_inset
22230
22231 chapter.footnote
22232 \begin_inset Quotes erd
22233 \end_inset
22234
22235 .
22236 \end_layout
22237
22238 \end_inset
22239
22240
22241 \series default
22242
22243 \begin_inset ERT
22244 status collapsed
22245
22246 \begin_layout Standard
22247
22248
22249 \backslash
22250 numberwithin{footnote}{part}
22251 \end_layout
22252
22253 \end_inset
22254
22255
22256 \end_layout
22257
22258 \begin_layout Standard
22259 \begin_inset Note Greyedout
22260 status open
22261
22262 \begin_layout Standard
22263
22264 \series bold
22265 Note:
22266 \series default
22267  
22268 \series bold
22269
22270 \backslash
22271 numberwithin
22272 \series default
22273  always prints out the footnote number as arabic number; previous redefinitions
22274  to get non-arabic numbers are overwritten.
22275 \end_layout
22276
22277 \end_inset
22278
22279
22280 \end_layout
22281
22282 \begin_layout Standard
22283 So to get for example the scheme 
22284 \begin_inset Quotes eld
22285 \end_inset
22286
22287 chapter.
22288 \backslash
22289 Roman{footnote}
22290 \begin_inset Quotes erd
22291 \end_inset
22292
22293 , use this command instead of 
22294 \series bold
22295
22296 \backslash
22297 numberwithin
22298 \series default
22299 :
22300 \end_layout
22301
22302 \begin_layout Standard
22303
22304 \series bold
22305
22306 \backslash
22307 renewcommand{
22308 \backslash
22309 thefootnote}{
22310 \backslash
22311 thechapter.
22312 \backslash
22313 Roman{footnote}}
22314 \end_layout
22315
22316 \begin_layout Subsection
22317 Footnote Placement
22318 \begin_inset LatexCommand index
22319 name "Footnotes ! Placement"
22320
22321 \end_inset
22322
22323
22324 \end_layout
22325
22326 \begin_layout Standard
22327 If you have several footnotes in one page, they appear without vertical
22328  space between them at the bottom of the page.
22329  To make them better readable you can e.\InsetSpace \thinspace{}
22330 g.\InsetSpace ~
22331 add 1.5\InsetSpace \thinspace{}
22332 mm space with the following
22333  preamble command:
22334 \end_layout
22335
22336 \begin_layout Standard
22337
22338 \series bold
22339
22340 \backslash
22341 let
22342 \backslash
22343 myFoot
22344 \backslash
22345 footnote
22346 \newline
22347
22348 \backslash
22349 renewcommand{
22350 \backslash
22351 footnote}[1]{
22352 \backslash
22353 myFoot{#1
22354 \backslash
22355 vspace{1.5mm}}}
22356 \end_layout
22357
22358 \begin_layout Standard
22359 \begin_inset VSpace bigskip
22360 \end_inset
22361
22362 In a two-column document the footnotes appear at the bottom of every column,
22363  see Figure\InsetSpace ~
22364
22365 \begin_inset LatexCommand ref
22366 reference "fig:Standard-footnote-placement"
22367
22368 \end_inset
22369
22370 .
22371  If the footnotes should only appear at the bottom of the right column,
22372  as in Figure\InsetSpace ~
22373
22374 \begin_inset LatexCommand ref
22375 reference "fig:Footnote-placement-in"
22376
22377 \end_inset
22378
22379 , use the LaTeX-package 
22380 \series bold
22381 ftnright
22382 \series default
22383
22384 \begin_inset LatexCommand index
22385 name "LaTeX-packages ! ftnright"
22386
22387 \end_inset
22388
22389  with this command in the document preamble:
22390 \end_layout
22391
22392 \begin_layout Standard
22393
22394 \series bold
22395
22396 \backslash
22397 usepackage{ftnright}
22398 \end_layout
22399
22400 \begin_layout Standard
22401 \begin_inset Float figure
22402 placement !h
22403 wide false
22404 sideways false
22405 status open
22406
22407 \begin_layout Standard
22408 \begin_inset ERT
22409 status collapsed
22410
22411 \begin_layout Standard
22412
22413
22414 \backslash
22415 framebox{
22416 \end_layout
22417
22418 \end_inset
22419
22420
22421 \begin_inset Graphics
22422         filename clipart/without_fntright.pdf
22423         width 100col%
22424
22425 \end_inset
22426
22427
22428 \begin_inset ERT
22429 status collapsed
22430
22431 \begin_layout Standard
22432
22433 }
22434 \end_layout
22435
22436 \end_inset
22437
22438
22439 \end_layout
22440
22441 \begin_layout Standard
22442 \begin_inset Caption
22443
22444 \begin_layout Standard
22445 \begin_inset LatexCommand label
22446 name "fig:Standard-footnote-placement"
22447
22448 \end_inset
22449
22450 Standard footnote placement in two-column documents.
22451 \end_layout
22452
22453 \end_inset
22454
22455
22456 \end_layout
22457
22458 \end_inset
22459
22460
22461 \end_layout
22462
22463 \begin_layout Standard
22464 \begin_inset Float figure
22465 placement !h
22466 wide false
22467 sideways false
22468 status open
22469
22470 \begin_layout Standard
22471 \begin_inset ERT
22472 status collapsed
22473
22474 \begin_layout Standard
22475
22476
22477 \backslash
22478 framebox{
22479 \end_layout
22480
22481 \end_inset
22482
22483
22484 \begin_inset Graphics
22485         filename clipart/with_fntright.pdf
22486         width 100col%
22487
22488 \end_inset
22489
22490
22491 \begin_inset ERT
22492 status collapsed
22493
22494 \begin_layout Standard
22495
22496 }
22497 \end_layout
22498
22499 \end_inset
22500
22501
22502 \end_layout
22503
22504 \begin_layout Standard
22505 \begin_inset Caption
22506
22507 \begin_layout Standard
22508 \begin_inset LatexCommand label
22509 name "fig:Footnote-placement-in"
22510
22511 \end_inset
22512
22513 Footnote placement in two-column documents when the LaTeX-package 
22514 \series bold
22515 ftnright
22516 \series default
22517  is used.
22518 \end_layout
22519
22520 \end_inset
22521
22522
22523 \end_layout
22524
22525 \end_inset
22526
22527
22528 \end_layout
22529
22530 \begin_layout Standard
22531 \begin_inset VSpace bigskip
22532 \end_inset
22533
22534 In some scientific literature it is usual to collect the footnotes and print
22535  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22536
22537 \begin_inset LatexCommand ref
22538 reference "fig:Endnotes----footnotes"
22539
22540 \end_inset
22541
22542 .
22543  They are then so called 
22544 \begin_inset Quotes eld
22545 \end_inset
22546
22547 endnotes
22548 \begin_inset Quotes erd
22549 \end_inset
22550
22551 .
22552  To use endnotes instead of footnotes in your document, load the LaTeX-package
22553  
22554 \series bold
22555 endnotes
22556 \series default
22557
22558 \begin_inset LatexCommand index
22559 name "LaTeX-packages ! endnotes"
22560
22561 \end_inset
22562
22563  with the document preamble lines
22564 \end_layout
22565
22566 \begin_layout Standard
22567
22568 \series bold
22569
22570 \backslash
22571 usepackage{endnotes}
22572 \newline
22573
22574 \backslash
22575 let
22576 \backslash
22577 footnote
22578 \backslash
22579 endnote
22580 \end_layout
22581
22582 \begin_layout Standard
22583 To insert the collected footnotes, insert the command
22584 \end_layout
22585
22586 \begin_layout Standard
22587
22588 \series bold
22589
22590 \backslash
22591 theendnotes
22592 \end_layout
22593
22594 \begin_layout Standard
22595 in ERT at the the end of a section or chapter.
22596 \end_layout
22597
22598 \begin_layout Standard
22599 \begin_inset Float figure
22600 wide false
22601 sideways false
22602 status open
22603
22604 \begin_layout Standard
22605 \align center
22606 \begin_inset ERT
22607 status collapsed
22608
22609 \begin_layout Standard
22610
22611
22612 \backslash
22613 framebox{
22614 \end_layout
22615
22616 \end_inset
22617
22618
22619 \begin_inset Graphics
22620         filename clipart/endnotes.pdf
22621
22622 \end_inset
22623
22624
22625 \begin_inset ERT
22626 status collapsed
22627
22628 \begin_layout Standard
22629
22630 }
22631 \end_layout
22632
22633 \end_inset
22634
22635
22636 \end_layout
22637
22638 \begin_layout Standard
22639 \begin_inset Caption
22640
22641 \begin_layout Standard
22642 \begin_inset LatexCommand label
22643 name "fig:Endnotes----footnotes"
22644
22645 \end_inset
22646
22647 Endnotes -- footnotes are printed in a separate paragraph at the end of
22648  sections or chapters.
22649 \end_layout
22650
22651 \end_inset
22652
22653
22654 \end_layout
22655
22656 \end_inset
22657
22658
22659 \end_layout
22660
22661 \begin_layout Standard
22662 \begin_inset VSpace defskip
22663 \end_inset
22664
22665 The paragraph heading for the endnotes isn't automatically translated into
22666  the document language, this must be done manually.
22667  The following preamble command translate the default English name 
22668 \begin_inset Quotes eld
22669 \end_inset
22670
22671 Notes
22672 \begin_inset Quotes erd
22673 \end_inset
22674
22675  to the German translation 
22676 \begin_inset Quotes eld
22677 \end_inset
22678
22679 Anmerkungen
22680 \begin_inset Quotes erd
22681 \end_inset
22682
22683 :
22684 \end_layout
22685
22686 \begin_layout Standard
22687
22688 \series bold
22689
22690 \backslash
22691 renewcommand{
22692 \backslash
22693 notesname}{Anmerkungen}
22694 \end_layout
22695
22696 \begin_layout Standard
22697 \begin_inset VSpace defskip
22698 \end_inset
22699
22700 The numbering of endnotes can be changed like the footnote numbering as
22701  described in section\InsetSpace ~
22702
22703 \begin_inset LatexCommand ref
22704 reference "sub:Footnote-Numbering"
22705
22706 \end_inset
22707
22708 ; just replace the command 
22709 \series bold
22710
22711 \backslash
22712 thefootnote
22713 \series default
22714  by 
22715 \series bold
22716
22717 \backslash
22718 theendnote
22719 \series default
22720 .
22721  To reset the endnote number use the command 
22722 \series bold
22723
22724 \backslash
22725 @addtoreset
22726 \series default
22727  as described in section\InsetSpace ~
22728
22729 \begin_inset LatexCommand ref
22730 reference "sub:Footnote-Numbering"
22731
22732 \end_inset
22733
22734  and replace the command parameter 
22735 \series bold
22736 footnote
22737 \series default
22738  by 
22739 \series bold
22740 endnote
22741 \series default
22742 .
22743 \end_layout
22744
22745 \begin_layout Standard
22746 To create only a mark for an endnote, use the command 
22747 \series bold
22748
22749 \backslash
22750 endnotemark[number]
22751 \series default
22752  similar to the command 
22753 \series bold
22754
22755 \backslash
22756 footnotemark
22757 \series default
22758 , described in section\InsetSpace ~
22759
22760 \begin_inset LatexCommand ref
22761 reference "sec:Footnotes"
22762
22763 \end_inset
22764
22765 .
22766 \end_layout
22767
22768 \begin_layout Standard
22769 \begin_inset VSpace bigskip
22770 \end_inset
22771
22772 Footnotes can also be placed in the page margin and the footnote text alignment
22773  can be changed, see the LaTeX-package 
22774 \series bold
22775 footmisc
22776 \series default
22777
22778 \begin_inset LatexCommand index
22779 name "LaTeX-packages ! footmisc"
22780
22781 \end_inset
22782
22783
22784 \begin_inset LatexCommand cite
22785 key "footmisc"
22786
22787 \end_inset
22788
22789  for more information about this.
22790 \end_layout
22791
22792 \begin_layout Standard
22793 For various further footnote formatting issues have a look at LaTeX-books,
22794  
22795 \begin_inset LatexCommand cite
22796 key "latexcompanion,latexguide,latexbook"
22797
22798 \end_inset
22799
22800 .
22801 \end_layout
22802
22803 \begin_layout Section
22804 Margin Notes
22805 \begin_inset LatexCommand index
22806 name "Notes ! Margin Notes"
22807
22808 \end_inset
22809
22810
22811 \end_layout
22812
22813 \begin_layout Standard
22814 Margin notes look and behave in LyX like footnotes.
22815  They are inserted via the menu 
22816 \family sans
22817 Insert\SpecialChar \menuseparator
22818 Marginal\InsetSpace ~
22819 Note
22820 \family default
22821  or the toolbar button 
22822 \begin_inset Graphics
22823         filename ../images/marginalnote-insert.xpm
22824         scale 85
22825
22826 \end_inset
22827
22828 .
22829  A grey 
22830 \family roman
22831 \series medium
22832 box with the
22833 \family default
22834 \series default
22835  red 
22836 \family roman
22837 \series medium
22838 label 
22839 \begin_inset Quotes eld
22840 \end_inset
22841
22842 margin
22843 \begin_inset Quotes erd
22844 \end_inset
22845
22846  appears where you can enter the text of the margin note.
22847 \end_layout
22848
22849 \begin_layout Standard
22850 At the side is an example margin note.
22851 \family roman
22852 \series medium
22853
22854 \begin_inset Marginal
22855 status open
22856
22857 \begin_layout Standard
22858 This is a margin note.
22859 \end_layout
22860
22861 \end_inset
22862
22863
22864 \end_layout
22865
22866 \begin_layout Standard
22867 Margin notes appear at the right side in single-sided documents.
22868  In double-sided documents they appear in the outer margin -- left on even
22869  pages, right on odd pages.
22870  The text of margin notes is aligned opposite to the outer margin -- right-align
22871 ed when the note appears in the left margin.
22872  The first line of the margin note is placed at the position of the text
22873  line where it is inserted in the document.
22874 \end_layout
22875
22876 \begin_layout Standard
22877 \begin_inset VSpace bigskip
22878 \end_inset
22879
22880 To place the margin note in the inner margin, add the command
22881 \end_layout
22882
22883 \begin_layout Standard
22884
22885 \series bold
22886
22887 \backslash
22888 reversemarginpar
22889 \end_layout
22890
22891 \begin_layout Standard
22892 in ERT before a margin note.
22893  The new placement is valid for all following margin notes.
22894 \begin_inset ERT
22895 status collapsed
22896
22897 \begin_layout Standard
22898
22899
22900 \backslash
22901 reversemarginpar 
22902 \end_layout
22903
22904 \end_inset
22905
22906
22907 \begin_inset Marginal
22908 status open
22909
22910 \begin_layout Standard
22911 This is a margin note in the inner margin.
22912 \end_layout
22913
22914 \end_inset
22915
22916
22917 \series bold
22918
22919 \newline
22920
22921 \series default
22922
22923 \begin_inset Note Greyedout
22924 status open
22925
22926 \begin_layout Standard
22927
22928 \series bold
22929 Note:
22930 \series default
22931  There is often not enough space in the inner margin so that the notes are
22932  not correctly displayed in the output.
22933 \end_layout
22934
22935 \end_inset
22936
22937
22938 \end_layout
22939
22940 \begin_layout Standard
22941 \begin_inset ERT
22942 status collapsed
22943
22944 \begin_layout Standard
22945
22946
22947 \backslash
22948 normalmarginpar 
22949 \end_layout
22950
22951 \end_inset
22952
22953 To return to the default placement insert the command
22954 \end_layout
22955
22956 \begin_layout Standard
22957
22958 \series bold
22959
22960 \backslash
22961 normalmarginpar
22962 \end_layout
22963
22964 \begin_layout Standard
22965 in ERT.
22966  
22967 \begin_inset Note Greyedout
22968 status open
22969
22970 \begin_layout Standard
22971
22972 \series bold
22973 Note:
22974 \series default
22975  The command is ignored when it is within a paragraph where also the command
22976  
22977 \series bold
22978
22979 \backslash
22980 reversemarginpar
22981 \series default
22982  is inserted.
22983 \end_layout
22984
22985 \end_inset
22986
22987
22988 \end_layout
22989
22990 \begin_layout Standard
22991 \begin_inset VSpace bigskip
22992 \end_inset
22993
22994
22995 \family roman
22996 \series medium
22997
22998 \begin_inset Marginal
22999 status open
23000
23001 \begin_layout Standard
23002 AVeryLongMarginParWord that isn't hyphenated.
23003 \end_layout
23004
23005 \end_inset
23006
23007
23008 \family default
23009 \series default
23010 Similar to the case described in section\InsetSpace ~
23011
23012 \begin_inset LatexCommand ref
23013 reference "sub:Multiple-Lines-in"
23014
23015 \end_inset
23016
23017 , long words cannot be hyphenated when they are the first word in a margin
23018  note.
23019  To avoid this, insert the command
23020 \end_layout
23021
23022 \begin_layout Standard
23023
23024 \series bold
23025
23026 \backslash
23027 hspace{0pt}
23028 \end_layout
23029
23030 \begin_layout Standard
23031 in ERT before the word
23032 \family roman
23033 \series medium
23034 .
23035 \begin_inset Marginal
23036 status open
23037
23038 \begin_layout Standard
23039 \begin_inset ERT
23040 status collapsed
23041
23042 \begin_layout Standard
23043
23044
23045 \backslash
23046 hspace{0pt}
23047 \end_layout
23048
23049 \end_inset
23050
23051 AVeryLongMarginParWord that is hyphenated.
23052 \end_layout
23053
23054 \end_inset
23055
23056
23057 \end_layout
23058
23059 \begin_layout Standard
23060 \begin_inset VSpace bigskip
23061 \end_inset
23062
23063
23064 \end_layout
23065
23066 \begin_layout Standard
23067 \begin_inset Note Greyedout
23068 status open
23069
23070 \begin_layout Standard
23071
23072 \series bold
23073 Note:
23074 \series default
23075  Margin notes can normally not be used inside tables, floats, and footnotes.
23076 \end_layout
23077
23078 \end_inset
23079
23080
23081 \end_layout
23082
23083 \begin_layout Standard
23084 \begin_inset VSpace bigskip
23085 \end_inset
23086
23087
23088 \end_layout
23089
23090 \begin_layout Standard
23091 \begin_inset ERT
23092 status collapsed
23093
23094 \begin_layout Standard
23095
23096
23097 \backslash
23098 ifmarginnote
23099 \end_layout
23100
23101 \end_inset
23102
23103
23104 \begin_inset Note Note
23105 status open
23106
23107 \begin_layout Standard
23108 The following section will only be displayed when you have the LaTeX-package
23109  
23110 \series bold
23111 marginnote
23112 \series default
23113  is installed.
23114 \end_layout
23115
23116 \end_inset
23117
23118
23119 \end_layout
23120
23121 \begin_layout Standard
23122 This restriction can be evaded by using the LaTeX-package 
23123 \series bold
23124 marginnote
23125 \series default
23126
23127 \begin_inset LatexCommand index
23128 name "LaTeX-packages ! marginnote"
23129
23130 \end_inset
23131
23132 .
23133  By adding these two lines to your document preamble, the command used by
23134  LyX for margin notes is redefined to use the command provided by the 
23135 \series bold
23136 marginnote
23137 \series default
23138 -package:
23139 \end_layout
23140
23141 \begin_layout Standard
23142
23143 \series bold
23144
23145 \backslash
23146 usepackage{marginnote}
23147 \newline
23148
23149 \backslash
23150 let
23151 \backslash
23152 marginpar
23153 \backslash
23154 marginnote
23155 \end_layout
23156
23157 \begin_layout Standard
23158 This is also used in this document because 
23159 \series bold
23160 marginnote
23161 \series default
23162  has another useful feature: You can set a vertical offset for the note.
23163  This is often needed when too many margin notes are too close together
23164  or for a better page layout.
23165  The offset is set in LyX as ERT directly behind the margin note in the
23166  scheme
23167 \end_layout
23168
23169 \begin_layout Standard
23170
23171 \series bold
23172 [offset]
23173 \end_layout
23174
23175 \begin_layout Standard
23176 where the offset is a length with one of the units listed in Table\InsetSpace ~
23177
23178 \begin_inset LatexCommand ref
23179 reference "tab:Units"
23180
23181 \end_inset
23182
23183 .
23184  A negative value shifts the note up, a positive value shifts it down.
23185  
23186 \family roman
23187 \series medium
23188 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23189 cm with
23190  the ERT-command 
23191 \begin_inset Quotes eld
23192 \end_inset
23193
23194
23195 \family default
23196 \series bold
23197 [-1.5cm]
23198 \family roman
23199 \series medium
23200
23201 \begin_inset Quotes erd
23202 \end_inset
23203
23204
23205 \begin_inset Marginal
23206 status open
23207
23208 \begin_layout Standard
23209 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23210 cm from its original position.
23211 \end_layout
23212
23213 \end_inset
23214
23215
23216 \family default
23217 \series default
23218
23219 \begin_inset ERT
23220 status collapsed
23221
23222 \begin_layout Standard
23223
23224 [-1.5cm]
23225 \end_layout
23226
23227 \end_inset
23228
23229
23230 \end_layout
23231
23232 \begin_layout Standard
23233 \begin_inset VSpace defskip
23234 \end_inset
23235
23236 With 
23237 \series bold
23238 marginnote
23239 \series default
23240  you can also change the alignment of the text in the margin note.
23241  For example the commands
23242 \end_layout
23243
23244 \begin_layout Standard
23245
23246 \series bold
23247
23248 \backslash
23249 renewcommand*{
23250 \backslash
23251 raggedleftmarginnote}{
23252 \backslash
23253 centering}
23254 \newline
23255
23256 \backslash
23257 renewcommand*{
23258 \backslash
23259 raggedrightmarginnote}{
23260 \backslash
23261 centering}
23262 \end_layout
23263
23264 \begin_layout Standard
23265 set the alignment to centered.
23266  
23267 \series bold
23268
23269 \backslash
23270 raggedleftmarginnote
23271 \series default
23272  denotes margin notes that appear at the left side.
23273 \family roman
23274 \series medium
23275
23276 \begin_inset ERT
23277 status collapsed
23278
23279 \begin_layout Standard
23280
23281
23282 \backslash
23283 renewcommand*{
23284 \backslash
23285 raggedleftmarginnote}{
23286 \backslash
23287 centering}
23288 \end_layout
23289
23290 \begin_layout Standard
23291
23292
23293 \backslash
23294 renewcommand*{
23295 \backslash
23296 raggedrightmarginnote}{
23297 \backslash
23298 centering}
23299 \end_layout
23300
23301 \end_inset
23302
23303
23304 \begin_inset Marginal
23305 status open
23306
23307 \begin_layout Standard
23308 The text of this margin note is centered.
23309 \end_layout
23310
23311 \end_inset
23312
23313
23314 \family default
23315 \series default
23316  The default is
23317 \end_layout
23318
23319 \begin_layout Standard
23320
23321 \series bold
23322
23323 \backslash
23324 renewcommand*{
23325 \backslash
23326 raggedleftmarginnote}{
23327 \backslash
23328 raggedleft}
23329 \newline
23330
23331 \backslash
23332 renewcommand*{
23333 \backslash
23334 raggedrightmarginnote}{
23335 \backslash
23336 raggedright}
23337 \family roman
23338 \series medium
23339
23340 \begin_inset ERT
23341 status collapsed
23342
23343 \begin_layout Standard
23344
23345
23346 \backslash
23347 renewcommand*{
23348 \backslash
23349 raggedleftmarginnote}{
23350 \backslash
23351 raggedleft}
23352 \end_layout
23353
23354 \begin_layout Standard
23355
23356
23357 \backslash
23358 renewcommand*{
23359 \backslash
23360 raggedrightmarginnote}{
23361 \backslash
23362 raggedright}
23363 \end_layout
23364
23365 \end_inset
23366
23367
23368 \end_layout
23369
23370 \begin_layout Standard
23371 \begin_inset VSpace defskip
23372 \end_inset
23373
23374 For the other features of 
23375 \series bold
23376 marginnote
23377 \series default
23378  we refer to its documentation 
23379 \begin_inset LatexCommand cite
23380 key "marginnote"
23381
23382 \end_inset
23383
23384 .
23385 \end_layout
23386
23387 \begin_layout Standard
23388 \begin_inset VSpace bigskip
23389 \end_inset
23390
23391 You can change the layout of margin notes by redefining its definition.
23392  To create for example a header for all margin notes with the underlined,
23393  sans-serif, and bold header text 
23394 \begin_inset Quotes eld
23395 \end_inset
23396
23397
23398 \family sans
23399 \series bold
23400 \bar under
23401 Attention!
23402 \family default
23403 \series default
23404 \bar default
23405
23406 \begin_inset Quotes erd
23407 \end_inset
23408
23409 , add this to your document preamble:
23410 \end_layout
23411
23412 \begin_layout Standard
23413
23414 \series bold
23415
23416 \backslash
23417 let
23418 \backslash
23419 myMarginpar
23420 \backslash
23421 marginpar
23422 \newline
23423
23424 \backslash
23425 renewcommand{
23426 \backslash
23427 marginpar}[1]{
23428 \backslash
23429 myMarginpar{%
23430 \newline
23431
23432 \begin_inset ERT
23433 status collapsed
23434
23435 \begin_layout Standard
23436
23437
23438 \backslash
23439 hphantom{ }
23440 \end_layout
23441
23442 \end_inset
23443
23444
23445 \backslash
23446 hspace{0pt}
23447 \backslash
23448 textsf{
23449 \backslash
23450 textbf{
23451 \backslash
23452 underbar{Attention!}}}%
23453 \newline
23454
23455 \begin_inset ERT
23456 status collapsed
23457
23458 \begin_layout Standard
23459
23460
23461 \backslash
23462 hphantom{ }
23463 \end_layout
23464
23465 \end_inset
23466
23467
23468 \backslash
23469 vspace{1.5mm}
23470 \backslash
23471
23472 \backslash
23473 #1}}
23474 \end_layout
23475
23476 \begin_layout Standard
23477
23478 \family roman
23479 \series medium
23480 \begin_inset ERT
23481 status collapsed
23482
23483 \begin_layout Standard
23484
23485
23486 \backslash
23487 let
23488 \backslash
23489 myMarginpar
23490 \backslash
23491 marginpar
23492 \end_layout
23493
23494 \begin_layout Standard
23495
23496
23497 \backslash
23498 renewcommand{
23499 \backslash
23500 marginpar}[1]{
23501 \backslash
23502 myMarginpar{%
23503 \end_layout
23504
23505 \begin_layout Standard
23506
23507    
23508 \backslash
23509 textsf{
23510 \backslash
23511 textbf{
23512 \backslash
23513 underbar{Attention!}}}%
23514 \end_layout
23515
23516 \begin_layout Standard
23517
23518    
23519 \backslash
23520 vspace{1.5mm}
23521 \backslash
23522
23523 \backslash
23524 #1}}
23525 \end_layout
23526
23527 \end_inset
23528
23529
23530 \begin_inset Marginal
23531 status open
23532
23533 \begin_layout Standard
23534 This is a margin note with a defined heading.
23535 \end_layout
23536
23537 \end_inset
23538
23539
23540 \family default
23541 \series default
23542
23543 \begin_inset ERT
23544 status collapsed
23545
23546 \begin_layout Standard
23547
23548 [-1.5cm]
23549 \end_layout
23550
23551 \end_inset
23552
23553
23554 \family roman
23555 \series medium
23556
23557 \begin_inset ERT
23558 status collapsed
23559
23560 \begin_layout Standard
23561
23562
23563 \backslash
23564 renewcommand{
23565 \backslash
23566 marginpar}[1]{
23567 \backslash
23568 myMarginpar{#1}}
23569 \end_layout
23570
23571 \end_inset
23572
23573
23574 \family default
23575 \series default
23576
23577 \begin_inset Note Note
23578 status collapsed
23579
23580 \begin_layout Standard
23581 The margin note format is changed only for this example.
23582 \end_layout
23583
23584 \end_inset
23585
23586
23587 \end_layout
23588
23589 \begin_layout Standard
23590 \begin_inset ERT
23591 status collapsed
23592
23593 \begin_layout Standard
23594
23595
23596 \backslash
23597 else
23598 \end_layout
23599
23600 \end_inset
23601
23602
23603 \begin_inset Note Note
23604 status open
23605
23606 \begin_layout Standard
23607 The following will be displayed when the LaTeX-package 
23608 \series bold
23609 marginnote
23610 \series default
23611  is not installed:
23612 \end_layout
23613
23614 \end_inset
23615
23616
23617 \end_layout
23618
23619 \begin_layout Standard
23620 You need to install the LaTeX-package 
23621 \series bold
23622 marginnote
23623 \series default
23624  to see the following part of this section in the output.
23625 \end_layout
23626
23627 \begin_layout Standard
23628 \begin_inset ERT
23629 status collapsed
23630
23631 \begin_layout Standard
23632
23633
23634 \backslash
23635 fi
23636 \end_layout
23637
23638 \end_inset
23639
23640
23641 \end_layout
23642
23643 \begin_layout Chapter
23644 Boxes
23645 \end_layout
23646
23647 \begin_layout Section
23648 Introduction
23649 \begin_inset LatexCommand index
23650 name "Boxes ! Introduction"
23651
23652 \end_inset
23653
23654
23655 \end_layout
23656
23657 \begin_layout Standard
23658 Boxes are used to format a block of text.
23659  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23660
23661 \begin_inset LatexCommand ref
23662 reference "sec:Minipages"
23663
23664 \end_inset
23665
23666 , to frame texts, see section\InsetSpace ~
23667
23668 \begin_inset LatexCommand ref
23669 reference "sec:Framed-Boxes"
23670
23671 \end_inset
23672
23673 , to prevent words to be hyphenated, see section\InsetSpace ~
23674
23675 \begin_inset LatexCommand ref
23676 reference "sec:Prevent-Hyphenation"
23677
23678 \end_inset
23679
23680 , to align text, see section\InsetSpace ~
23681
23682 \begin_inset LatexCommand ref
23683 reference "sub:Vertical-Alignment"
23684
23685 \end_inset
23686
23687 , or to set the background color of texts, see section\InsetSpace ~
23688
23689 \begin_inset LatexCommand ref
23690 reference "sec:Colored-Boxes"
23691
23692 \end_inset
23693
23694 .
23695 \end_layout
23696
23697 \begin_layout Standard
23698 Boxes can be inserted with the menu 
23699 \family sans
23700 Insert\SpecialChar \menuseparator
23701 Box
23702 \family default
23703 .
23704  A grey box with the label 
23705 \family sans
23706 Box (Minipage)
23707 \family default
23708
23709 \begin_inset Graphics
23710         filename clipart/BoxInsetDefaultQt4.png
23711         scale 85
23712
23713 \end_inset
23714
23715 , will be inserted.
23716  The box type can be specified by right-clicking on the box.
23717  The appearing box dialog offers the 
23718 \family sans
23719 Inner\InsetSpace ~
23720 Box
23721 \family default
23722  types 
23723 \family sans
23724 Parbox
23725 \family default
23726  and 
23727 \family sans
23728 Minipage
23729 \family default
23730 .
23731  The type 
23732 \family sans
23733 Minipage
23734 \family default
23735  is the default for new boxes and is explained in section\InsetSpace ~
23736
23737 \begin_inset LatexCommand ref
23738 reference "sec:Minipages"
23739
23740 \end_inset
23741
23742 ; the type 
23743 \family sans
23744 Parbox
23745 \family default
23746  is described in section\InsetSpace ~
23747
23748 \begin_inset LatexCommand ref
23749 reference "sec:Parboxes"
23750
23751 \end_inset
23752
23753 .
23754 \end_layout
23755
23756 \begin_layout Standard
23757 Boxes aren't numbered and can therefore not be referenced like floats or
23758  footnotes.
23759 \end_layout
23760
23761 \begin_layout Standard
23762 \begin_inset Note Greyedout
23763 status open
23764
23765 \begin_layout Standard
23766
23767 \series bold
23768 Note:
23769 \series default
23770  Due to a bug in LyX you have to insert a protected space behind a box when
23771  you want to separate in a line the box from the following text with a space.
23772 \end_layout
23773
23774 \end_inset
23775
23776
23777 \end_layout
23778
23779 \begin_layout Standard
23780 \begin_inset Note Greyedout
23781 status open
23782
23783 \begin_layout Standard
23784
23785 \series bold
23786 Note:
23787 \series default
23788  Boxes must not be the item in an 
23789 \family sans
23790 Itemize
23791 \family default
23792  or 
23793 \family sans
23794 Description
23795 \family default
23796  environment.
23797 \end_layout
23798
23799 \end_inset
23800
23801
23802 \end_layout
23803
23804 \begin_layout Standard
23805 \begin_inset Note Greyedout
23806 status open
23807
23808 \begin_layout Standard
23809
23810 \series bold
23811 Note:
23812 \series default
23813  For an unknown reason you can only set the 
23814 \family sans
23815 Inner\InsetSpace ~
23816 Box
23817 \family default
23818  type to 
23819 \family sans
23820 None
23821 \family default
23822  when you use a framed box.
23823  Boxes without an 
23824 \family sans
23825 Inner\InsetSpace ~
23826 Box
23827 \family default
23828  type and without frames are explained in section\InsetSpace ~
23829
23830 \begin_inset LatexCommand ref
23831 reference "sec:Prevent-Hyphenation"
23832
23833 \end_inset
23834
23835 .
23836 \end_layout
23837
23838 \end_inset
23839
23840
23841 \end_layout
23842
23843 \begin_layout Section
23844 Box Dialog
23845 \begin_inset LatexCommand label
23846 name "sec:Box-Dialog"
23847
23848 \end_inset
23849
23850
23851 \begin_inset LatexCommand index
23852 name "Boxes ! Box Dialog"
23853
23854 \end_inset
23855
23856
23857 \begin_inset LatexCommand index
23858 name "Boxes ! Alignment"
23859
23860 \end_inset
23861
23862
23863 \end_layout
23864
23865 \begin_layout Standard
23866 In the box dialog you can adjust the box geometry in the fields 
23867 \family sans
23868 Width
23869 \family default
23870  and 
23871 \family sans
23872 Height
23873 \family default
23874 .
23875  The available units for the geometry are explained in Table\InsetSpace ~
23876
23877 \begin_inset LatexCommand ref
23878 reference "tab:Units"
23879
23880 \end_inset
23881
23882 .
23883  The field 
23884 \family sans
23885 Heigth
23886 \family default
23887  offers the following additional sizes:
23888 \end_layout
23889
23890 \begin_layout Description
23891 Depth This is the plain text 
23892 \begin_inset Quotes eld
23893 \end_inset
23894
23895 height
23896 \begin_inset Quotes erd
23897 \end_inset
23898
23899 .
23900  It ignores the total depth when there are multiple text lines in the box:
23901 \newline
23902
23903 \newline
23904
23905 \newline
23906
23907 \begin_inset Box Boxed
23908 position "c"
23909 hor_pos "c"
23910 has_inner_box 1
23911 inner_pos "c"
23912 use_parbox 0
23913 width "12col%"
23914 special "none"
23915 height "1in"
23916 height_special "depth"
23917 status collapsed
23918
23919 \begin_layout Standard
23920 \align center
23921 Box height set to 1\InsetSpace \thinspace{}
23922 Depth
23923 \end_layout
23924
23925 \end_inset
23926
23927
23928 \newline
23929
23930 \newline
23931
23932 \end_layout
23933
23934 \begin_layout Description
23935 Height This is the heigth of the text that is inside the box.
23936  A value of e.\InsetSpace \thinspace{}
23937 g.\InsetSpace ~
23938 2 for this size will set the box heigth to 2 times the text
23939  height: 
23940 \begin_inset Box Boxed
23941 position "c"
23942 hor_pos "c"
23943 has_inner_box 1
23944 inner_pos "c"
23945 use_parbox 0
23946 width "20col%"
23947 special "none"
23948 height "2in"
23949 height_special "height"
23950 status collapsed
23951
23952 \begin_layout Standard
23953 \align center
23954 Box height set to 2\InsetSpace \thinspace{}
23955 Height
23956 \end_layout
23957
23958 \end_inset
23959
23960
23961 \end_layout
23962
23963 \begin_layout Description
23964 Total\InsetSpace ~
23965 Height This is the Height\InsetSpace \thinspace{}
23966 +\InsetSpace \thinspace{}
23967 Depth: 
23968 \begin_inset Box Boxed
23969 position "c"
23970 hor_pos "c"
23971 has_inner_box 1
23972 inner_pos "c"
23973 use_parbox 0
23974 width "20col%"
23975 special "none"
23976 height "1in"
23977 height_special "totalheight"
23978 status collapsed
23979
23980 \begin_layout Standard
23981 \align center
23982 Box height set to 1\InsetSpace \thinspace{}
23983 Total\InsetSpace ~
23984 Height
23985 \end_layout
23986
23987 \end_inset
23988
23989
23990 \end_layout
23991
23992 \begin_layout Description
23993 Width This set the width of the box as heigth: 
23994 \begin_inset Box Boxed
23995 position "c"
23996 hor_pos "c"
23997 has_inner_box 1
23998 inner_pos "c"
23999 use_parbox 0
24000 width "12col%"
24001 special "none"
24002 height "1in"
24003 height_special "width"
24004 status collapsed
24005
24006 \begin_layout Standard
24007 \align center
24008 Box height set to 1\InsetSpace \thinspace{}
24009 Width
24010 \end_layout
24011
24012 \end_inset
24013
24014
24015 \end_layout
24016
24017 \begin_layout Standard
24018 \begin_inset VSpace bigskip
24019 \end_inset
24020
24021 When you have chosen an 
24022 \family sans
24023 Inner\InsetSpace ~
24024 Box
24025 \family default
24026 , the vertical box alignment can be:
24027 \end_layout
24028
24029 \begin_layout Description
24030 Top This is an example text line.
24031  
24032 \begin_inset Box Boxed
24033 position "t"
24034 hor_pos "c"
24035 has_inner_box 1
24036 inner_pos "c"
24037 use_parbox 0
24038 width "12col%"
24039 special "none"
24040 height "1in"
24041 height_special "totalheight"
24042 status collapsed
24043
24044 \begin_layout Standard
24045 \align center
24046 This box is top-aligned.
24047 \end_layout
24048
24049 \end_inset
24050
24051 \InsetSpace ~
24052 This is an example text line.
24053 \end_layout
24054
24055 \begin_layout Description
24056 Middle This is an example text line.
24057  
24058 \begin_inset Box Boxed
24059 position "c"
24060 hor_pos "c"
24061 has_inner_box 1
24062 inner_pos "c"
24063 use_parbox 0
24064 width "12col%"
24065 special "none"
24066 height "1in"
24067 height_special "totalheight"
24068 status collapsed
24069
24070 \begin_layout Standard
24071 \align center
24072 This box is middle-aligned.
24073 \end_layout
24074
24075 \end_inset
24076
24077 \InsetSpace ~
24078 This is an example text line.
24079 \end_layout
24080
24081 \begin_layout Description
24082 Bottom This is an example text line.
24083  
24084 \begin_inset Box Boxed
24085 position "b"
24086 hor_pos "c"
24087 has_inner_box 1
24088 inner_pos "c"
24089 use_parbox 0
24090 width "12col%"
24091 special "none"
24092 height "1in"
24093 height_special "totalheight"
24094 status collapsed
24095
24096 \begin_layout Standard
24097 \align center
24098 This box is bottom-aligned.
24099 \end_layout
24100
24101 \end_inset
24102
24103 \InsetSpace ~
24104 This is an example text line.
24105 \end_layout
24106
24107 \begin_layout Standard
24108 The horizontal box alignment can be set via LyX's paragraph dialog when
24109  you set the box into its own paragraph.
24110 \end_layout
24111
24112 \begin_layout Standard
24113 \begin_inset VSpace bigskip
24114 \end_inset
24115
24116 When you have chosen an 
24117 \family sans
24118 Inner\InsetSpace ~
24119 Box
24120 \family default
24121 , the box content can be vertical aligned to:
24122 \end_layout
24123
24124 \begin_layout Description
24125 top This is an example text line.
24126  
24127 \begin_inset Box Boxed
24128 position "c"
24129 hor_pos "c"
24130 has_inner_box 1
24131 inner_pos "t"
24132 use_parbox 0
24133 width "12col%"
24134 special "none"
24135 height "1.5in"
24136 height_special "totalheight"
24137 status collapsed
24138
24139 \begin_layout Standard
24140 \align center
24141 This box text is top-aligned.
24142 \end_layout
24143
24144 \end_inset
24145
24146 \InsetSpace ~
24147 This is an example text line.
24148 \end_layout
24149
24150 \begin_layout Description
24151 middle This is an example text line.
24152  
24153 \begin_inset Box Boxed
24154 position "c"
24155 hor_pos "c"
24156 has_inner_box 1
24157 inner_pos "c"
24158 use_parbox 0
24159 width "12col%"
24160 special "none"
24161 height "1.5in"
24162 height_special "totalheight"
24163 status collapsed
24164
24165 \begin_layout Standard
24166 \align center
24167 This box text is middle-aligned.
24168 \end_layout
24169
24170 \end_inset
24171
24172 \InsetSpace ~
24173 This is an example text line.
24174 \end_layout
24175
24176 \begin_layout Description
24177 bottom This is an example text line.
24178  
24179 \begin_inset Box Boxed
24180 position "c"
24181 hor_pos "c"
24182 has_inner_box 1
24183 inner_pos "b"
24184 use_parbox 0
24185 width "12col%"
24186 special "none"
24187 height "1.5in"
24188 height_special "totalheight"
24189 status collapsed
24190
24191 \begin_layout Standard
24192 \align center
24193 This box text is bottom-aligned.
24194 \end_layout
24195
24196 \end_inset
24197
24198 \InsetSpace ~
24199 This is an example text line.
24200 \end_layout
24201
24202 \begin_layout Description
24203 stretch This is an example text line.
24204  
24205 \begin_inset Box Boxed
24206 position "c"
24207 hor_pos "c"
24208 has_inner_box 1
24209 inner_pos "s"
24210 use_parbox 0
24211 width "12col%"
24212 special "none"
24213 height "1.5in"
24214 height_special "totalheight"
24215 status collapsed
24216
24217 \begin_layout Standard
24218 \align center
24219 This box
24220 \end_layout
24221
24222 \begin_layout Standard
24223 \align center
24224 text is
24225 \end_layout
24226
24227 \begin_layout Standard
24228 \align center
24229 stretched.
24230 \end_layout
24231
24232 \end_inset
24233
24234 \InsetSpace ~
24235 This is an example text line.
24236 \end_layout
24237
24238 \begin_layout Standard
24239 To stretch the box content, it must consist of more than one paragraph.
24240  In the example above every text line is in an own paragraph.
24241 \end_layout
24242
24243 \begin_layout Standard
24244 \begin_inset VSpace bigskip
24245 \end_inset
24246
24247 To align the box content horizontally you can use LyX's paragraph dialog
24248  when you have chosen an 
24249 \family sans
24250 Inner\InsetSpace ~
24251 Box
24252 \family default
24253 .
24254 \end_layout
24255
24256 \begin_layout Standard
24257 \align center
24258 \begin_inset Box Boxed
24259 position "c"
24260 hor_pos "c"
24261 has_inner_box 1
24262 inner_pos "s"
24263 use_parbox 0
24264 width "15col%"
24265 special "none"
24266 height "1.25in"
24267 height_special "totalheight"
24268 status collapsed
24269
24270 \begin_layout Standard
24271 \align left
24272 This box
24273 \end_layout
24274
24275 \begin_layout Standard
24276 \align center
24277 text is
24278 \end_layout
24279
24280 \begin_layout Standard
24281 \align right
24282 stretched.
24283 \end_layout
24284
24285 \end_inset
24286
24287
24288 \end_layout
24289
24290 \begin_layout Standard
24291 If you haven't set an 
24292 \family sans
24293 Inner\InsetSpace ~
24294 Box
24295 \family default
24296 , you can align the box content horizontally in the box dialog.
24297 \end_layout
24298
24299 \begin_layout Standard
24300 \align center
24301 \begin_inset Box Boxed
24302 position "c"
24303 hor_pos "s"
24304 has_inner_box 0
24305 inner_pos "s"
24306 use_parbox 0
24307 width "90col%"
24308 special "none"
24309 height "1.25in"
24310 height_special "totalheight"
24311 status collapsed
24312
24313 \begin_layout Standard
24314 \align left
24315 This box text is horizontally stretched.
24316 \end_layout
24317
24318 \end_inset
24319
24320
24321 \end_layout
24322
24323 \begin_layout Section
24324 Framed Boxes
24325 \begin_inset LatexCommand label
24326 name "sec:Framed-Boxes"
24327
24328 \end_inset
24329
24330
24331 \begin_inset LatexCommand index
24332 name "Boxes ! Frames"
24333
24334 \end_inset
24335
24336
24337 \end_layout
24338
24339 \begin_layout Standard
24340 The frame style of the box can be specified in the box-dialog in the drop-down
24341  list 
24342 \family sans
24343 Type
24344 \family default
24345 .
24346  The following frame types are possible:
24347 \end_layout
24348
24349 \begin_layout Description
24350 Rectangular\InsetSpace ~
24351 box This draws a rectangle frame around the box.
24352  The frame line thickness has the size of 
24353 \series bold
24354
24355 \backslash
24356 fboxrule
24357 \series default
24358 .
24359  
24360 \begin_inset Box Boxed
24361 position "c"
24362 hor_pos "c"
24363 has_inner_box 1
24364 inner_pos "c"
24365 use_parbox 0
24366 width "20col%"
24367 special "none"
24368 height "1in"
24369 height_special "totalheight"
24370 status collapsed
24371
24372 \begin_layout Standard
24373 \align center
24374 Rectangular box
24375 \end_layout
24376
24377 \end_inset
24378
24379
24380 \end_layout
24381
24382 \begin_layout Description
24383 Oval\InsetSpace ~
24384 box,\InsetSpace ~
24385 thin This draws an oval frame around the box.
24386  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24387 pt.
24388  
24389 \begin_inset Box ovalbox
24390 position "c"
24391 hor_pos "c"
24392 has_inner_box 1
24393 inner_pos "c"
24394 use_parbox 0
24395 width "20col%"
24396 special "none"
24397 height "1in"
24398 height_special "totalheight"
24399 status collapsed
24400
24401 \begin_layout Standard
24402 \align center
24403 Oval box, thin
24404 \end_layout
24405
24406 \end_inset
24407
24408
24409 \end_layout
24410
24411 \begin_layout Description
24412 Oval\InsetSpace ~
24413 box,\InsetSpace ~
24414 thick This draws an oval frame around the box.
24415  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24416 pt.
24417  
24418 \begin_inset Box Ovalbox
24419 position "c"
24420 hor_pos "c"
24421 has_inner_box 1
24422 inner_pos "c"
24423 use_parbox 0
24424 width "20col%"
24425 special "none"
24426 height "1in"
24427 height_special "totalheight"
24428 status collapsed
24429
24430 \begin_layout Standard
24431 \align center
24432 Oval box, thick
24433 \end_layout
24434
24435 \end_inset
24436
24437
24438 \end_layout
24439
24440 \begin_layout Description
24441 Shadow\InsetSpace ~
24442 box This draws a rectangle frame with a shadow around the box.
24443  The frame line thickness has the size of 
24444 \series bold
24445
24446 \backslash
24447 fboxrule
24448 \series default
24449 , the shadow has a width of 4\InsetSpace \thinspace{}
24450 pt.
24451  
24452 \begin_inset Box Shadowbox
24453 position "c"
24454 hor_pos "c"
24455 has_inner_box 1
24456 inner_pos "c"
24457 use_parbox 0
24458 width "20col%"
24459 special "none"
24460 height "1in"
24461 height_special "totalheight"
24462 status collapsed
24463
24464 \begin_layout Standard
24465 \align center
24466 Shadow box
24467 \end_layout
24468
24469 \end_inset
24470
24471
24472 \end_layout
24473
24474 \begin_layout Description
24475 Double\InsetSpace ~
24476 box This draws a double-line rectangle frame around the box.
24477  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24478
24479 \series bold
24480
24481 \backslash
24482 fboxrule
24483 \series default
24484 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24485
24486 \series bold
24487
24488 \backslash
24489 fboxrule
24490 \series default
24491 .
24492  The distance between the lines is 1.5\InsetSpace \thinspace{}
24493
24494 \series bold
24495
24496 \backslash
24497 fboxrule
24498 \series default
24499 \InsetSpace \thinspace{}
24500 +\InsetSpace \thinspace{}
24501 0.5\InsetSpace \thinspace{}
24502 pt.
24503  
24504 \begin_inset Box Doublebox
24505 position "c"
24506 hor_pos "c"
24507 has_inner_box 1
24508 inner_pos "c"
24509 use_parbox 0
24510 width "20col%"
24511 special "none"
24512 height "1in"
24513 height_special "totalheight"
24514 status collapsed
24515
24516 \begin_layout Standard
24517 \align center
24518 Double box
24519 \end_layout
24520
24521 \end_inset
24522
24523
24524 \end_layout
24525
24526 \begin_layout Standard
24527 \begin_inset VSpace bigskip
24528 \end_inset
24529
24530 LyX's box label will change to the used frame style when you set a frame.
24531  To be able to use the different frame styles, the LaTeX-package 
24532 \series bold
24533 fancybox
24534 \series default
24535
24536 \begin_inset LatexCommand index
24537 name "LaTeX-packages ! fancybox"
24538
24539 \end_inset
24540
24541  must be installed.
24542 \end_layout
24543
24544 \begin_layout Standard
24545 \begin_inset VSpace bigskip
24546 \end_inset
24547
24548 The default value for the size 
24549 \series bold
24550
24551 \backslash
24552 fboxrule
24553 \series default
24554  is 0.4\InsetSpace \thinspace{}
24555 pt.
24556  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24557 g.\InsetSpace ~
24558 2\InsetSpace \thinspace{}
24559 pt:
24560 \end_layout
24561
24562 \begin_layout Standard
24563
24564 \series bold
24565
24566 \backslash
24567 setlength{
24568 \backslash
24569 fboxrule}{2pt}
24570 \end_layout
24571
24572 \begin_layout Standard
24573 \begin_inset ERT
24574 status collapsed
24575
24576 \begin_layout Standard
24577
24578
24579 \backslash
24580 setlength{
24581 \backslash
24582 fboxrule}{2pt}
24583 \end_layout
24584
24585 \end_inset
24586
24587
24588 \begin_inset Box Boxed
24589 position "c"
24590 hor_pos "c"
24591 has_inner_box 1
24592 inner_pos "c"
24593 use_parbox 0
24594 width "25col%"
24595 special "none"
24596 height "1in"
24597 height_special "totalheight"
24598 status collapsed
24599
24600 \begin_layout Standard
24601 \align center
24602 Rectangular box with 
24603 \series bold
24604
24605 \backslash
24606 fboxrule
24607 \series default
24608 \InsetSpace \thinspace{}
24609 =\InsetSpace \thinspace{}
24610 2\InsetSpace \thinspace{}
24611 pt
24612 \end_layout
24613
24614 \end_inset
24615
24616
24617 \begin_inset ERT
24618 status collapsed
24619
24620 \begin_layout Standard
24621
24622
24623 \backslash
24624 setlength{
24625 \backslash
24626 fboxrule}{0.4pt}
24627 \end_layout
24628
24629 \end_inset
24630
24631
24632 \end_layout
24633
24634 \begin_layout Standard
24635 \begin_inset VSpace bigskip
24636 \end_inset
24637
24638 The space between the frame and the box content is for all frame styles
24639  by default 3\InsetSpace \thinspace{}
24640 pt.
24641  You can change it by setting the length 
24642 \series bold
24643
24644 \backslash
24645 fboxsep
24646 \series default
24647  to another value.
24648  For example the command
24649 \end_layout
24650
24651 \begin_layout Standard
24652
24653 \series bold
24654
24655 \backslash
24656 setlength{
24657 \backslash
24658 fboxsep}{10pt}
24659 \end_layout
24660
24661 \begin_layout Standard
24662 sets the value to 10\InsetSpace \thinspace{}
24663 pt, like for the following box:
24664 \end_layout
24665
24666 \begin_layout Standard
24667 \begin_inset ERT
24668 status collapsed
24669
24670 \begin_layout Standard
24671
24672
24673 \backslash
24674 setlength{
24675 \backslash
24676 fboxsep}{10pt}
24677 \end_layout
24678
24679 \end_inset
24680
24681
24682 \begin_inset Box Boxed
24683 position "c"
24684 hor_pos "c"
24685 has_inner_box 1
24686 inner_pos "c"
24687 use_parbox 0
24688 width "25col%"
24689 special "none"
24690 height "1in"
24691 height_special "totalheight"
24692 status collapsed
24693
24694 \begin_layout Standard
24695 \align center
24696 Rectangular box with 
24697 \series bold
24698
24699 \backslash
24700 fboxsep
24701 \series default
24702 \InsetSpace \thinspace{}
24703 =\InsetSpace \thinspace{}
24704 10\InsetSpace \thinspace{}
24705 pt
24706 \end_layout
24707
24708 \end_inset
24709
24710
24711 \begin_inset ERT
24712 status collapsed
24713
24714 \begin_layout Standard
24715
24716
24717 \backslash
24718 setlength{
24719 \backslash
24720 fboxsep}{3pt}
24721 \end_layout
24722
24723 \end_inset
24724
24725
24726 \end_layout
24727
24728 \begin_layout Standard
24729 \begin_inset VSpace bigskip
24730 \end_inset
24731
24732 The diameter of the round corners of the oval boxes can be set with the
24733  command 
24734 \series bold
24735
24736 \backslash
24737 cornersize
24738 \series default
24739 .
24740  The command
24741 \end_layout
24742
24743 \begin_layout Standard
24744
24745 \series bold
24746
24747 \backslash
24748 cornersize*{1cm}
24749 \end_layout
24750
24751 \begin_layout Standard
24752 sets the diameter to 1\InsetSpace \thinspace{}
24753 cm.
24754  The command
24755 \end_layout
24756
24757 \begin_layout Standard
24758
24759 \series bold
24760
24761 \backslash
24762 cornersize{num}
24763 \end_layout
24764
24765 \begin_layout Standard
24766 sets the diameter to 
24767 \family sans
24768 num\InsetSpace \thinspace{}
24769 ×\InsetSpace \thinspace{}
24770 minimum(width and heigth of box)
24771 \family default
24772 .
24773  The default is 
24774 \series bold
24775
24776 \backslash
24777 cornersize{0.5}
24778 \series default
24779 .
24780 \end_layout
24781
24782 \begin_layout Standard
24783 \begin_inset ERT
24784 status collapsed
24785
24786 \begin_layout Standard
24787
24788
24789 \backslash
24790 cornersize*{1.5cm}
24791 \end_layout
24792
24793 \end_inset
24794
24795
24796 \begin_inset Box Ovalbox
24797 position "c"
24798 hor_pos "c"
24799 has_inner_box 1
24800 inner_pos "c"
24801 use_parbox 0
24802 width "25col%"
24803 special "none"
24804 height "1in"
24805 height_special "totalheight"
24806 status collapsed
24807
24808 \begin_layout Standard
24809 \align center
24810 Oval box with 
24811 \series bold
24812
24813 \backslash
24814 cornersize
24815 \series default
24816 \InsetSpace \thinspace{}
24817 =\InsetSpace \thinspace{}
24818 1.5\InsetSpace \thinspace{}
24819 cm
24820 \end_layout
24821
24822 \end_inset
24823
24824
24825 \begin_inset ERT
24826 status collapsed
24827
24828 \begin_layout Standard
24829
24830
24831 \backslash
24832 cornersize{0.5}
24833 \end_layout
24834
24835 \end_inset
24836
24837
24838 \end_layout
24839
24840 \begin_layout Standard
24841 \begin_inset VSpace bigskip
24842 \end_inset
24843
24844 The size of the shadow can be adjusted by changing the length 
24845 \series bold
24846
24847 \backslash
24848 shadowsize
24849 \series default
24850 .
24851  It it set to 2\InsetSpace \thinspace{}
24852 pt for the following box by this command:
24853 \end_layout
24854
24855 \begin_layout Standard
24856
24857 \series bold
24858
24859 \backslash
24860 setlength{
24861 \backslash
24862 shadowsize}{2pt}
24863 \end_layout
24864
24865 \begin_layout Standard
24866 \begin_inset ERT
24867 status collapsed
24868
24869 \begin_layout Standard
24870
24871
24872 \backslash
24873 setlength{
24874 \backslash
24875 shadowsize}{2pt}
24876 \end_layout
24877
24878 \end_inset
24879
24880
24881 \begin_inset Box Shadowbox
24882 position "c"
24883 hor_pos "c"
24884 has_inner_box 1
24885 inner_pos "c"
24886 use_parbox 0
24887 width "25col%"
24888 special "none"
24889 height "1in"
24890 height_special "totalheight"
24891 status collapsed
24892
24893 \begin_layout Standard
24894 \align center
24895 Shadow box with 
24896 \series bold
24897
24898 \backslash
24899 shadowsize
24900 \series default
24901 \InsetSpace \thinspace{}
24902 =\InsetSpace \thinspace{}
24903 2\InsetSpace \thinspace{}
24904 pt
24905 \end_layout
24906
24907 \end_inset
24908
24909
24910 \begin_inset ERT
24911 status collapsed
24912
24913 \begin_layout Standard
24914
24915
24916 \backslash
24917 setlength{
24918 \backslash
24919 shadowsize}{4pt}
24920 \end_layout
24921
24922 \end_inset
24923
24924
24925 \end_layout
24926
24927 \begin_layout Standard
24928 \begin_inset VSpace bigskip
24929 \end_inset
24930
24931 Changed lengths and widths are valid for all boxes following the commands
24932  that change them.
24933 \end_layout
24934
24935 \begin_layout Section
24936 Minipages
24937 \begin_inset LatexCommand label
24938 name "sec:Minipages"
24939
24940 \end_inset
24941
24942
24943 \begin_inset LatexCommand index
24944 name "Boxes ! Minipages"
24945
24946 \end_inset
24947
24948
24949 \end_layout
24950
24951 \begin_layout Standard
24952 Minipages are treated by LaTeX as pages within pages and can therefore for
24953  example have their own footnotes.
24954 \end_layout
24955
24956 \begin_layout Standard
24957 Minipages are useful when you write documents with different languages.
24958 \end_layout
24959
24960 \begin_layout Standard
24961 Below are two example minipages side by side.
24962  Their width is set to 45\InsetSpace \thinspace{}
24963 col% and they are separated by a horizontal fill,
24964  that was inserted via the menu 
24965 \family sans
24966 Insert\SpecialChar \menuseparator
24967 Special\InsetSpace ~
24968 Formatting\SpecialChar \menuseparator
24969 Horizontal\InsetSpace ~
24970 Fill
24971 \family default
24972 .
24973 \end_layout
24974
24975 \begin_layout Standard
24976 \begin_inset Box Frameless
24977 position "t"
24978 hor_pos "c"
24979 has_inner_box 1
24980 inner_pos "c"
24981 use_parbox 0
24982 width "45col%"
24983 special "none"
24984 height "1in"
24985 height_special "totalheight"
24986 status open
24987
24988 \begin_layout Standard
24989
24990 \lang german
24991 Dies ist ein deutscher Text.
24992  Dies ist ein deutscher Text.
24993  Dies ist ein deutscher Text.
24994  Dies ist ein deutscher Text.
24995  Dies ist ein deutscher Text.
24996  Dies ist ein deutscher Text.
24997  Dies ist ein deutscher Text.
24998  Dies ist ein deutscher Text.
24999  Dies ist ein deutscher Text.
25000  Dies ist ein deutscher Text.
25001  Dies ist ein deutscher Text.
25002  Dies ist ein deutscher Text.
25003  Dies ist ein deutscher Text
25004 \begin_inset Foot
25005 status collapsed
25006
25007 \begin_layout Standard
25008
25009 \lang german
25010 Dies ist eine deutsche Fußnote.
25011 \end_layout
25012
25013 \end_inset
25014
25015 .
25016  Dies ist ein deutscher Text.
25017  Dies ist ein deutscher Text.
25018 \end_layout
25019
25020 \end_inset
25021
25022
25023 \hfill
25024
25025 \begin_inset Box Frameless
25026 position "t"
25027 hor_pos "c"
25028 has_inner_box 1
25029 inner_pos "c"
25030 use_parbox 0
25031 width "45col%"
25032 special "none"
25033 height "1in"
25034 height_special "totalheight"
25035 status open
25036
25037 \begin_layout Standard
25038 This is an English Text.
25039  This is an English Text.
25040  This is an English Text.
25041  This is an English Text.
25042  This is an English Text.
25043  This is an English Text.
25044  This is an English Text.
25045  This is an English Text.
25046  This is an English Text.
25047  This is an English Text.
25048  This is an English Text.
25049  This is an English Text.
25050  This is an English Text.
25051  This is an English Text.
25052  This is an English Text.
25053  This is an English Text.
25054 \begin_inset Foot
25055 status collapsed
25056
25057 \begin_layout Standard
25058 This is an English footnote.
25059 \end_layout
25060
25061 \end_inset
25062
25063  This is an English Text.
25064  
25065 \end_layout
25066
25067 \end_inset
25068
25069
25070 \end_layout
25071
25072 \begin_layout Standard
25073 \begin_inset VSpace bigskip
25074 \end_inset
25075
25076 Another application for minipages are footnotes within tables.
25077  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25078  bottom of the current page.
25079  But when you put the table with the footnote to a minipage, the footnote
25080  will appear at its bottom, numbered with Latin letters.
25081  The footnote number is reset to 1 in every minipage but not outside the
25082  minipages.
25083 \end_layout
25084
25085 \begin_layout Standard
25086 The footnote of this table doesn't appear: 
25087 \begin_inset Tabular
25088 <lyxtabular version="3" rows="3" columns="4">
25089 <features>
25090 <column alignment="center" valignment="top" leftline="true" width="0pt">
25091 <column alignment="center" valignment="top" leftline="true" width="0pt">
25092 <column alignment="center" valignment="top" leftline="true" width="0pt">
25093 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25094 <row topline="true">
25095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25096 \begin_inset Text
25097
25098 \begin_layout Standard
25099 1
25100 \end_layout
25101
25102 \end_inset
25103 </cell>
25104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25105 \begin_inset Text
25106
25107 \begin_layout Standard
25108 2
25109 \end_layout
25110
25111 \end_inset
25112 </cell>
25113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25114 \begin_inset Text
25115
25116 \begin_layout Standard
25117 3
25118 \begin_inset Foot
25119 status collapsed
25120
25121 \begin_layout Standard
25122 This is a footnote within a table.
25123 \end_layout
25124
25125 \end_inset
25126
25127
25128 \end_layout
25129
25130 \end_inset
25131 </cell>
25132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25133 \begin_inset Text
25134
25135 \begin_layout Standard
25136 4
25137 \end_layout
25138
25139 \end_inset
25140 </cell>
25141 </row>
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 a
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 b
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 c
25166 \end_layout
25167
25168 \end_inset
25169 </cell>
25170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25171 \begin_inset Text
25172
25173 \begin_layout Standard
25174 d
25175 \end_layout
25176
25177 \end_inset
25178 </cell>
25179 </row>
25180 <row topline="true" bottomline="true">
25181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25182 \begin_inset Text
25183
25184 \begin_layout Standard
25185 e
25186 \end_layout
25187
25188 \end_inset
25189 </cell>
25190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25191 \begin_inset Text
25192
25193 \begin_layout Standard
25194 f
25195 \end_layout
25196
25197 \end_inset
25198 </cell>
25199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25200 \begin_inset Text
25201
25202 \begin_layout Standard
25203 g
25204 \end_layout
25205
25206 \end_inset
25207 </cell>
25208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25209 \begin_inset Text
25210
25211 \begin_layout Standard
25212 h
25213 \end_layout
25214
25215 \end_inset
25216 </cell>
25217 </row>
25218 </lyxtabular>
25219
25220 \end_inset
25221
25222
25223 \end_layout
25224
25225 \begin_layout Standard
25226 \align center
25227 \begin_inset Box Frameless
25228 position "t"
25229 hor_pos "c"
25230 has_inner_box 1
25231 inner_pos "c"
25232 use_parbox 0
25233 width "30col%"
25234 special "none"
25235 height "1in"
25236 height_special "totalheight"
25237 status open
25238
25239 \begin_layout Standard
25240 \align center
25241 \begin_inset Tabular
25242 <lyxtabular version="3" rows="3" columns="4">
25243 <features>
25244 <column alignment="center" valignment="top" leftline="true" width="0pt">
25245 <column alignment="center" valignment="top" leftline="true" width="0pt">
25246 <column alignment="center" valignment="top" leftline="true" width="0pt">
25247 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25248 <row topline="true">
25249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25250 \begin_inset Text
25251
25252 \begin_layout Standard
25253 1
25254 \end_layout
25255
25256 \end_inset
25257 </cell>
25258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25259 \begin_inset Text
25260
25261 \begin_layout Standard
25262 2
25263 \end_layout
25264
25265 \end_inset
25266 </cell>
25267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25268 \begin_inset Text
25269
25270 \begin_layout Standard
25271 3
25272 \begin_inset Foot
25273 status collapsed
25274
25275 \begin_layout Standard
25276 This is a footnote within a table.
25277 \end_layout
25278
25279 \end_inset
25280
25281
25282 \end_layout
25283
25284 \end_inset
25285 </cell>
25286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25287 \begin_inset Text
25288
25289 \begin_layout Standard
25290 4
25291 \end_layout
25292
25293 \end_inset
25294 </cell>
25295 </row>
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 a
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 b
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 c
25320 \end_layout
25321
25322 \end_inset
25323 </cell>
25324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25325 \begin_inset Text
25326
25327 \begin_layout Standard
25328 d
25329 \end_layout
25330
25331 \end_inset
25332 </cell>
25333 </row>
25334 <row topline="true" bottomline="true">
25335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25336 \begin_inset Text
25337
25338 \begin_layout Standard
25339 e
25340 \end_layout
25341
25342 \end_inset
25343 </cell>
25344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25345 \begin_inset Text
25346
25347 \begin_layout Standard
25348 f
25349 \end_layout
25350
25351 \end_inset
25352 </cell>
25353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25354 \begin_inset Text
25355
25356 \begin_layout Standard
25357 g
25358 \end_layout
25359
25360 \end_inset
25361 </cell>
25362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25363 \begin_inset Text
25364
25365 \begin_layout Standard
25366 h
25367 \end_layout
25368
25369 \end_inset
25370 </cell>
25371 </row>
25372 </lyxtabular>
25373
25374 \end_inset
25375
25376
25377 \end_layout
25378
25379 \end_inset
25380
25381
25382 \end_layout
25383
25384 \begin_layout Standard
25385 \begin_inset VSpace bigskip
25386 \end_inset
25387
25388 The document-wide paragraph settings are ignored within minipages.
25389  That means that there will be no space between paragraphs in minipages
25390  although you set it to e.\InsetSpace \thinspace{}
25391 g.\InsetSpace ~
25392
25393 \family sans
25394 MedSkip
25395 \family default
25396  in the document settings.
25397 \end_layout
25398
25399 \begin_layout Standard
25400 Minipages can also be used to set a background color for text parts, see
25401  section\InsetSpace ~
25402
25403 \begin_inset LatexCommand ref
25404 reference "sub:Color-for-Paragraphs"
25405
25406 \end_inset
25407
25408 .
25409 \end_layout
25410
25411 \begin_layout Standard
25412 \begin_inset Note Greyedout
25413 status open
25414
25415 \begin_layout Standard
25416
25417 \series bold
25418 Note:
25419 \series default
25420  You cannot have floats or margin notes inside minipages but minipages can
25421  be used inside tables, floats, and other boxes.
25422 \end_layout
25423
25424 \end_inset
25425
25426
25427 \end_layout
25428
25429 \begin_layout Section
25430 Parboxes
25431 \begin_inset LatexCommand label
25432 name "sec:Parboxes"
25433
25434 \end_inset
25435
25436
25437 \begin_inset LatexCommand index
25438 name "Boxes ! Parboxes"
25439
25440 \end_inset
25441
25442
25443 \end_layout
25444
25445 \begin_layout Standard
25446 Parboxes are very similar to minipages with the difference that they cannot
25447  have footnotes.
25448  The main difference to minipages is that minipages are in contrary to parboxes
25449  no real boxes but LaTeX-environments.
25450 \end_layout
25451
25452 \begin_layout Standard
25453 \align center
25454 \begin_inset Box Frameless
25455 position "t"
25456 hor_pos "c"
25457 has_inner_box 1
25458 inner_pos "t"
25459 use_parbox 1
25460 width "33col%"
25461 special "none"
25462 height "1in"
25463 height_special "totalheight"
25464 status collapsed
25465
25466 \begin_layout Standard
25467 This a text within a parbox.
25468  This a text within a parbox.
25469 \end_layout
25470
25471 \begin_layout Standard
25472 This footnote won't appear:
25473 \begin_inset Foot
25474 status collapsed
25475
25476 \begin_layout Standard
25477 This footnote is inside a parbox and will therefore not appear.
25478 \end_layout
25479
25480 \end_inset
25481
25482
25483 \end_layout
25484
25485 \end_inset
25486
25487
25488 \end_layout
25489
25490 \begin_layout Section
25491 Boxes for Words and Characters
25492 \begin_inset LatexCommand index
25493 name "Boxes ! for Characters"
25494
25495 \end_inset
25496
25497
25498 \end_layout
25499
25500 \begin_layout Subsection
25501 Prevent Hyphenation
25502 \begin_inset LatexCommand label
25503 name "sec:Prevent-Hyphenation"
25504
25505 \end_inset
25506
25507
25508 \begin_inset LatexCommand index
25509 name "Boxes ! to Prevent Hyphenation"
25510
25511 \end_inset
25512
25513
25514 \end_layout
25515
25516 \begin_layout Standard
25517 You can use a special kind of boxes to prevent words or text to be hyphenated.
25518 \newline
25519 Her
25520 e is an example text:
25521 \end_layout
25522
25523 \begin_layout Standard
25524 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25525 g.\InsetSpace ~
25526 veryver
25527 ylongwords.
25528 \end_layout
25529
25530 \begin_layout Standard
25531 To prevent the hyphenation of the word 
25532 \begin_inset Quotes eld
25533 \end_inset
25534
25535 veryverylongwords
25536 \begin_inset Quotes erd
25537 \end_inset
25538
25539 , add the command
25540 \end_layout
25541
25542 \begin_layout Standard
25543
25544 \series bold
25545
25546 \backslash
25547 mbox{
25548 \end_layout
25549
25550 \begin_layout Standard
25551 in ERT before the word.
25552  Behind the word insert a closing brace 
25553 \begin_inset Quotes eld
25554 \end_inset
25555
25556
25557 \series bold
25558 }
25559 \series default
25560
25561 \begin_inset Quotes erd
25562 \end_inset
25563
25564  in ERT.
25565 \begin_inset ERT
25566 status collapsed
25567
25568 \begin_layout Standard
25569
25570
25571 \backslash
25572 pagebreak 
25573 \end_layout
25574
25575 \end_inset
25576
25577
25578 \end_layout
25579
25580 \begin_layout Standard
25581 This is the result:
25582 \end_layout
25583
25584 \begin_layout Standard
25585 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25586 g.\InsetSpace ~
25587
25588 \begin_inset ERT
25589 status collapsed
25590
25591 \begin_layout Standard
25592
25593
25594 \backslash
25595 mbox{
25596 \end_layout
25597
25598 \end_inset
25599
25600 veryverylongwords.
25601 \begin_inset ERT
25602 status collapsed
25603
25604 \begin_layout Standard
25605
25606 }
25607 \end_layout
25608
25609 \end_inset
25610
25611
25612 \end_layout
25613
25614 \begin_layout Standard
25615 Of course the word now protrudes over the side margin.
25616  To avoid this, add via the menu 
25617 \family sans
25618 Insert\SpecialChar \menuseparator
25619 Special\InsetSpace ~
25620 Formatting\SpecialChar \menuseparator
25621 Line\InsetSpace ~
25622 Break
25623 \family default
25624  (shortcut 
25625 \series bold
25626 Ctrl-Return
25627 \series default
25628 ) a line break before the word:
25629 \end_layout
25630
25631 \begin_layout Standard
25632 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25633 g.\InsetSpace ~
25634
25635 \newline
25636
25637 \begin_inset ERT
25638 status collapsed
25639
25640 \begin_layout Standard
25641
25642
25643 \backslash
25644 mbox{
25645 \end_layout
25646
25647 \end_inset
25648
25649 veryverylongwords.
25650 \begin_inset ERT
25651 status collapsed
25652
25653 \begin_layout Standard
25654
25655 }
25656 \end_layout
25657
25658 \end_inset
25659
25660
25661 \end_layout
25662
25663 \begin_layout Subsection
25664 Vertical Alignment
25665 \begin_inset LatexCommand label
25666 name "sub:Vertical-Alignment"
25667
25668 \end_inset
25669
25670
25671 \begin_inset LatexCommand index
25672 name "Boxes ! for Vertical Alignment"
25673
25674 \end_inset
25675
25676
25677 \begin_inset LatexCommand index
25678 name "Boxes ! Raiseboxes"
25679
25680 \end_inset
25681
25682
25683 \end_layout
25684
25685 \begin_layout Standard
25686 With the help of the command 
25687 \series bold
25688
25689 \backslash
25690 raisebox
25691 \series default
25692  you can align words, characters or other boxes vertically to the surrounding
25693  text.
25694  
25695 \series bold
25696
25697 \backslash
25698 raisebox
25699 \series default
25700  is used with the following scheme:
25701 \end_layout
25702
25703 \begin_layout Standard
25704
25705 \series bold
25706
25707 \backslash
25708 raisebox{lift}[height][depth]{box content}
25709 \end_layout
25710
25711 \begin_layout Standard
25712 The lift can be a positive value to raise the box or a negative value to
25713  lower the box.
25714 \end_layout
25715
25716 \begin_layout Standard
25717 To align for example the word 
25718 \begin_inset Quotes eld
25719 \end_inset
25720
25721 preventing
25722 \begin_inset Quotes erd
25723 \end_inset
25724
25725  so that the bottom of the 
25726 \begin_inset Quotes eld
25727 \end_inset
25728
25729 deepest
25730 \begin_inset Quotes erd
25731 \end_inset
25732
25733  character 
25734 \begin_inset Quotes eld
25735 \end_inset
25736
25737 p
25738 \begin_inset Quotes erd
25739 \end_inset
25740
25741  is at the baseline, insert the command
25742 \end_layout
25743
25744 \begin_layout Standard
25745
25746 \series bold
25747
25748 \backslash
25749 raisebox{
25750 \backslash
25751 depth}{
25752 \end_layout
25753
25754 \begin_layout Standard
25755 in ERT before the word.
25756  Behind the word insert a closing brace 
25757 \begin_inset Quotes eld
25758 \end_inset
25759
25760
25761 \series bold
25762 }
25763 \series default
25764
25765 \begin_inset Quotes erd
25766 \end_inset
25767
25768  in ERT.
25769 \newline
25770 This is the result:
25771 \end_layout
25772
25773 \begin_layout Standard
25774 This is a text line with the word 
25775 \begin_inset ERT
25776 status collapsed
25777
25778 \begin_layout Standard
25779
25780
25781 \backslash
25782 raisebox{
25783 \backslash
25784 depth}{
25785 \end_layout
25786
25787 \end_inset
25788
25789
25790 \begin_inset Quotes eld
25791 \end_inset
25792
25793 preventing
25794 \begin_inset Quotes erd
25795 \end_inset
25796
25797
25798 \begin_inset ERT
25799 status collapsed
25800
25801 \begin_layout Standard
25802
25803 }
25804 \end_layout
25805
25806 \end_inset
25807
25808  as raised word.
25809 \end_layout
25810
25811 \begin_layout Standard
25812 \begin_inset VSpace bigskip
25813 \end_inset
25814
25815 When you raise or lower characters in a line, the line distance will be
25816  spread:
25817 \end_layout
25818
25819 \begin_layout Standard
25820 This is a text line with the word 
25821 \begin_inset ERT
25822 status collapsed
25823
25824 \begin_layout Standard
25825
25826
25827 \backslash
25828 raisebox{-
25829 \backslash
25830 depth}{
25831 \end_layout
25832
25833 \end_inset
25834
25835
25836 \begin_inset Quotes eld
25837 \end_inset
25838
25839 preventing
25840 \begin_inset Quotes erd
25841 \end_inset
25842
25843
25844 \begin_inset ERT
25845 status collapsed
25846
25847 \begin_layout Standard
25848
25849 }
25850 \end_layout
25851
25852 \end_inset
25853
25854  as lowered word.
25855 \newline
25856 This is a text line with the word 
25857 \begin_inset ERT
25858 status collapsed
25859
25860 \begin_layout Standard
25861
25862
25863 \backslash
25864 raisebox{0.5cm}{
25865 \end_layout
25866
25867 \end_inset
25868
25869
25870 \begin_inset Quotes eld
25871 \end_inset
25872
25873 testing
25874 \begin_inset Quotes erd
25875 \end_inset
25876
25877
25878 \begin_inset ERT
25879 status collapsed
25880
25881 \begin_layout Standard
25882
25883 }
25884 \end_layout
25885
25886 \end_inset
25887
25888  as raised word.
25889 \end_layout
25890
25891 \begin_layout Standard
25892 If you want to prevent this for a certain reason, set the box height to
25893  a zero value.
25894  For example use
25895 \end_layout
25896
25897 \begin_layout Standard
25898
25899 \series bold
25900
25901 \backslash
25902 raisebox{-
25903 \backslash
25904 depth}[0pt]{
25905 \end_layout
25906
25907 \begin_layout Standard
25908 This is a text line with the word 
25909 \begin_inset ERT
25910 status collapsed
25911
25912 \begin_layout Standard
25913
25914
25915 \backslash
25916 raisebox{-
25917 \backslash
25918 depth}[0pt]{
25919 \end_layout
25920
25921 \end_inset
25922
25923
25924 \begin_inset Quotes eld
25925 \end_inset
25926
25927 preventing
25928 \begin_inset Quotes erd
25929 \end_inset
25930
25931
25932 \begin_inset ERT
25933 status collapsed
25934
25935 \begin_layout Standard
25936
25937 }
25938 \end_layout
25939
25940 \end_inset
25941
25942  as lowered word.
25943 \newline
25944 This is a text line with the word 
25945 \begin_inset ERT
25946 status collapsed
25947
25948 \begin_layout Standard
25949
25950
25951 \backslash
25952 raisebox{0.5cm}[0pt]{
25953 \end_layout
25954
25955 \end_inset
25956
25957
25958 \begin_inset Quotes eld
25959 \end_inset
25960
25961 testing
25962 \begin_inset Quotes erd
25963 \end_inset
25964
25965
25966 \begin_inset ERT
25967 status collapsed
25968
25969 \begin_layout Standard
25970
25971 }
25972 \end_layout
25973
25974 \end_inset
25975
25976  as raised word.
25977 \end_layout
25978
25979 \begin_layout Section
25980 Colored Boxes
25981 \begin_inset LatexCommand label
25982 name "sec:Colored-Boxes"
25983
25984 \end_inset
25985
25986
25987 \begin_inset LatexCommand index
25988 name "Boxes ! Color"
25989
25990 \end_inset
25991
25992
25993 \end_layout
25994
25995 \begin_layout Subsection
25996 Color for Text
25997 \begin_inset LatexCommand index
25998 name "Color ! for Text"
25999
26000 \end_inset
26001
26002
26003 \end_layout
26004
26005 \begin_layout Standard
26006 To color the background of text the text must be put into a so called colorbox.
26007  This requires that the LaTeX-package 
26008 \series bold
26009 color
26010 \series default
26011
26012 \begin_inset LatexCommand index
26013 name "LaTeX-packages ! color"
26014
26015 \end_inset
26016
26017  is loaded in the document preamble with the command
26018 \end_layout
26019
26020 \begin_layout Standard
26021
26022 \series bold
26023
26024 \backslash
26025 @ifundef\SpecialChar \textcompwordmark{}
26026 ined{textcolor}
26027 \newline
26028
26029 \begin_inset ERT
26030 status collapsed
26031
26032 \begin_layout Standard
26033
26034
26035 \backslash
26036 hphantom{ }
26037 \end_layout
26038
26039 \end_inset
26040
26041 {
26042 \backslash
26043 usepackage{color}}{}
26044 \end_layout
26045
26046 \begin_layout Standard
26047 The package 
26048 \series bold
26049 color
26050 \series default
26051  will be loaded automatically by LyX when you color text
26052 \begin_inset Foot
26053 status collapsed
26054
26055 \begin_layout Standard
26056 To avoid that it is loaded twice the command 
26057 \series bold
26058
26059 \backslash
26060 @ifundef\SpecialChar \textcompwordmark{}
26061 ined
26062 \series default
26063  is used.
26064 \end_layout
26065
26066 \end_inset
26067
26068 .
26069 \end_layout
26070
26071 \begin_layout Standard
26072 \begin_inset VSpace medskip
26073 \end_inset
26074
26075 Colorboxes are created with the command 
26076 \series bold
26077
26078 \backslash
26079 colorbox
26080 \series default
26081 .
26082  This will be used with the following scheme:
26083 \end_layout
26084
26085 \begin_layout Standard
26086
26087 \series bold
26088
26089 \backslash
26090 colorbox{color}{box content}
26091 \end_layout
26092
26093 \begin_layout Standard
26094 The box content can also be a box and colorboxes can also be within other
26095  boxes.
26096 \end_layout
26097
26098 \begin_layout Standard
26099 The following colors are predefined:
26100 \newline
26101
26102 \family sans
26103 black
26104 \family default
26105
26106 \family sans
26107 blue
26108 \family default
26109
26110 \family sans
26111 cyan
26112 \family default
26113 \series bold
26114 ,
26115 \series default
26116  
26117 \family sans
26118 green
26119 \family default
26120
26121 \family sans
26122 magenta
26123 \family default
26124
26125 \family sans
26126 red
26127 \family default
26128
26129 \family sans
26130 white
26131 \family default
26132 , and 
26133 \family sans
26134 yellow
26135 \family default
26136 .
26137 \newline
26138 You can also define your own color as described in section\InsetSpace ~
26139
26140 \begin_inset LatexCommand ref
26141 reference "sec:Colored-Tables"
26142
26143 \end_inset
26144
26145 .
26146 \end_layout
26147
26148 \begin_layout Standard
26149 To have e.\InsetSpace \thinspace{}
26150 g.\InsetSpace ~
26151 a red background for a word, insert the command
26152 \end_layout
26153
26154 \begin_layout Standard
26155
26156 \series bold
26157
26158 \backslash
26159 colorbox{red}{
26160 \end_layout
26161
26162 \begin_layout Standard
26163 before the word in ERT.
26164  Behind the word insert a closing brace 
26165 \begin_inset Quotes eld
26166 \end_inset
26167
26168
26169 \series bold
26170 }
26171 \series default
26172
26173 \begin_inset Quotes erd
26174 \end_inset
26175
26176  in ERT.
26177 \newline
26178 This is the result:
26179 \end_layout
26180
26181 \begin_layout Standard
26182 This is a line where the word 
26183 \begin_inset ERT
26184 status collapsed
26185
26186 \begin_layout Standard
26187
26188
26189 \backslash
26190 colorbox{red}{
26191 \end_layout
26192
26193 \end_inset
26194
26195
26196 \begin_inset Quotes eld
26197 \end_inset
26198
26199 Attention!
26200 \begin_inset Quotes erd
26201 \end_inset
26202
26203
26204 \begin_inset ERT
26205 status collapsed
26206
26207 \begin_layout Standard
26208
26209 }
26210 \end_layout
26211
26212 \end_inset
26213
26214  has a red background.
26215 \end_layout
26216
26217 \begin_layout Standard
26218 \begin_inset VSpace bigskip
26219 \end_inset
26220
26221 If you would have the box frame in a different color, you can use the command
26222  
26223 \series bold
26224
26225 \backslash
26226 fcolorbox
26227 \series default
26228  with the following scheme:
26229 \end_layout
26230
26231 \begin_layout Standard
26232
26233 \series bold
26234
26235 \backslash
26236 fcolorbox{frame color}{box color}{box content}
26237 \end_layout
26238
26239 \begin_layout Standard
26240
26241 \series bold
26242
26243 \backslash
26244 fcolorbox
26245 \series default
26246  is an extension to 
26247 \series bold
26248
26249 \backslash
26250 colorbox
26251 \series default
26252 .
26253  The frame thickness and the space between the frame and the box content
26254  can be adjusted with the lengths 
26255 \series bold
26256
26257 \backslash
26258 fboxrule
26259 \series default
26260  and 
26261 \series bold
26262
26263 \backslash
26264 fboxsep
26265 \series default
26266 , respectively, as described in section\InsetSpace ~
26267
26268 \begin_inset LatexCommand ref
26269 reference "sec:Framed-Boxes"
26270
26271 \end_inset
26272
26273 .
26274 \end_layout
26275
26276 \begin_layout Standard
26277 For the following example the command
26278 \end_layout
26279
26280 \begin_layout Standard
26281
26282 \series bold
26283
26284 \backslash
26285 fcolorbox{cyan}{magenta}{
26286 \end_layout
26287
26288 \begin_layout Standard
26289 was used.
26290 \end_layout
26291
26292 \begin_layout Standard
26293 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26294 mm:
26295 \newline
26296
26297 \begin_inset ERT
26298 status collapsed
26299
26300 \begin_layout Standard
26301
26302
26303 \backslash
26304 fboxrule 1mm 
26305 \backslash
26306 fboxsep 1mm
26307 \end_layout
26308
26309 \end_inset
26310
26311
26312 \begin_inset ERT
26313 status collapsed
26314
26315 \begin_layout Standard
26316
26317
26318 \backslash
26319 fcolorbox{cyan}{magenta}{
26320 \end_layout
26321
26322 \end_inset
26323
26324 This is text within a colored, framed box.
26325 \begin_inset ERT
26326 status collapsed
26327
26328 \begin_layout Standard
26329
26330 }
26331 \end_layout
26332
26333 \end_inset
26334
26335
26336 \end_layout
26337
26338 \begin_layout Standard
26339 \begin_inset VSpace bigskip
26340 \end_inset
26341
26342 Of course you can also have colored text inside a colorbox:
26343 \newline
26344
26345 \begin_inset ERT
26346 status collapsed
26347
26348 \begin_layout Standard
26349
26350
26351 \backslash
26352 fcolorbox{cyan}{magenta}{
26353 \end_layout
26354
26355 \end_inset
26356
26357
26358 \color yellow
26359 This is colored text within a colored, framed box.
26360 \color none
26361
26362 \begin_inset ERT
26363 status collapsed
26364
26365 \begin_layout Standard
26366
26367 }
26368 \end_layout
26369
26370 \end_inset
26371
26372
26373 \begin_inset ERT
26374 status collapsed
26375
26376 \begin_layout Standard
26377
26378
26379 \backslash
26380 fboxrule 0.4pt 
26381 \backslash
26382 fboxsep 3pt
26383 \end_layout
26384
26385 \end_inset
26386
26387
26388 \end_layout
26389
26390 \begin_layout Standard
26391
26392 \series bold
26393 \begin_inset VSpace medskip
26394 \end_inset
26395
26396
26397 \end_layout
26398
26399 \begin_layout Standard
26400 \begin_inset Note Greyedout
26401 status open
26402
26403 \begin_layout Standard
26404
26405 \series bold
26406 Note:
26407 \series default
26408  Text in colorboxes cannot have line breaks.
26409  To color multiple text lines or paragraphs, use a box inside a colorbox
26410  as described in the following.
26411 \end_layout
26412
26413 \end_inset
26414
26415
26416 \end_layout
26417
26418 \begin_layout Subsection
26419 Color for Paragraphs
26420 \begin_inset LatexCommand label
26421 name "sub:Color-for-Paragraphs"
26422
26423 \end_inset
26424
26425
26426 \begin_inset LatexCommand index
26427 name "Color ! for Paragraphs"
26428
26429 \end_inset
26430
26431
26432 \end_layout
26433
26434 \begin_layout Standard
26435 To set the background color for more than one text line, put the text into
26436  a minipage.
26437  Before the minipage insert the 
26438 \series bold
26439
26440 \backslash
26441 colorbox
26442 \series default
26443  command
26444 \end_layout
26445
26446 \begin_layout Standard
26447
26448 \series bold
26449
26450 \backslash
26451 colorbox{color}{
26452 \end_layout
26453
26454 \begin_layout Standard
26455 in ERT.
26456  Behind the minipage insert a closing brace 
26457 \begin_inset Quotes eld
26458 \end_inset
26459
26460
26461 \series bold
26462 }
26463 \series default
26464
26465 \begin_inset Quotes erd
26466 \end_inset
26467
26468  in ERT.
26469 \end_layout
26470
26471 \begin_layout Standard
26472 \begin_inset ERT
26473 status collapsed
26474
26475 \begin_layout Standard
26476
26477
26478 \backslash
26479 colorbox{lightgrey}{
26480 \end_layout
26481
26482 \end_inset
26483
26484
26485 \begin_inset Box Frameless
26486 position "t"
26487 hor_pos "c"
26488 has_inner_box 1
26489 inner_pos "t"
26490 use_parbox 0
26491 width "100col%"
26492 special "none"
26493 height "1in"
26494 height_special "totalheight"
26495 status collapsed
26496
26497 \begin_layout Standard
26498 This is text with background color.
26499  This is text with background color.
26500 \end_layout
26501
26502 \begin_layout Standard
26503 \begin_inset VSpace defskip
26504 \end_inset
26505
26506 The text can have footnotes
26507 \begin_inset Foot
26508 status collapsed
26509
26510 \begin_layout Standard
26511 Another example footnote
26512 \end_layout
26513
26514 \end_inset
26515
26516  and can include tables and figures.
26517 \end_layout
26518
26519 \begin_layout Standard
26520 \align center
26521 \begin_inset Tabular
26522 <lyxtabular version="3" rows="3" columns="3">
26523 <features>
26524 <column alignment="center" valignment="top" leftline="true" width="0">
26525 <column alignment="center" valignment="top" leftline="true" width="0">
26526 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26527 <row topline="true">
26528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26529 \begin_inset Text
26530
26531 \begin_layout Standard
26532 a
26533 \end_layout
26534
26535 \end_inset
26536 </cell>
26537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26538 \begin_inset Text
26539
26540 \begin_layout Standard
26541 !
26542 \end_layout
26543
26544 \end_inset
26545 </cell>
26546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26547 \begin_inset Text
26548
26549 \begin_layout Standard
26550 3
26551 \end_layout
26552
26553 \end_inset
26554 </cell>
26555 </row>
26556 <row topline="true">
26557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26558 \begin_inset Text
26559
26560 \begin_layout Standard
26561 <
26562 \end_layout
26563
26564 \end_inset
26565 </cell>
26566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26567 \begin_inset Text
26568
26569 \begin_layout Standard
26570 b2
26571 \begin_inset Quotes erd
26572 \end_inset
26573
26574 |
26575 \end_layout
26576
26577 \end_inset
26578 </cell>
26579 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26580 \begin_inset Text
26581
26582 \begin_layout Standard
26583 >
26584 \end_layout
26585
26586 \end_inset
26587 </cell>
26588 </row>
26589 <row topline="true" bottomline="true">
26590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26591 \begin_inset Text
26592
26593 \begin_layout Standard
26594 1
26595 \end_layout
26596
26597 \end_inset
26598 </cell>
26599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26600 \begin_inset Text
26601
26602 \begin_layout Standard
26603 §
26604 \end_layout
26605
26606 \end_inset
26607 </cell>
26608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26609 \begin_inset Text
26610
26611 \begin_layout Standard
26612 c
26613 \end_layout
26614
26615 \end_inset
26616 </cell>
26617 </row>
26618 </lyxtabular>
26619
26620 \end_inset
26621
26622
26623 \end_layout
26624
26625 \end_inset
26626
26627
26628 \begin_inset ERT
26629 status collapsed
26630
26631 \begin_layout Standard
26632
26633 }
26634 \end_layout
26635
26636 \end_inset
26637
26638
26639 \end_layout
26640
26641 \begin_layout Section
26642 URLs (Uniform Resource Locators)
26643 \begin_inset LatexCommand index
26644 name "URLs"
26645
26646 \end_inset
26647
26648
26649 \end_layout
26650
26651 \begin_layout Standard
26652 Links to web pages or email addresses can be inserted via the menu 
26653 \family sans
26654 Insert\SpecialChar \menuseparator
26655 URL
26656 \family default
26657 .
26658  The appearing URL dialog has two fields; the 
26659 \family sans
26660 URL
26661 \family default
26662  field and the 
26663 \family sans
26664 Name
26665 \family default
26666  field for the URL description, which will be typeset as plain text immediately
26667  before the URL.
26668 \end_layout
26669
26670 \begin_layout Standard
26671 Here is an example URL: 
26672 \begin_inset LatexCommand url
26673 name "LyX's homepage"
26674 target "http://www.lyx.org"
26675
26676 \end_inset
26677
26678
26679 \end_layout
26680
26681 \begin_layout Standard
26682 The option 
26683 \family sans
26684 Generate\InsetSpace ~
26685 hyperlink
26686 \family default
26687  in the URL dialog has only an affect when you export your document to the
26688  format 
26689 \begin_inset Quotes eld
26690 \end_inset
26691
26692
26693 \family sans
26694 LinuxDoc
26695 \family default
26696
26697 \begin_inset Quotes erd
26698 \end_inset
26699
26700 .
26701 \end_layout
26702
26703 \begin_layout Standard
26704 You cannot change the style of the link text.
26705  The text of the 
26706 \family sans
26707 Name
26708 \family default
26709  field will have the default text style of the document while the text of
26710  the 
26711 \family sans
26712 URL
26713 \family default
26714  field will have the style 
26715 \begin_inset Quotes eld
26716 \end_inset
26717
26718
26719 \family sans
26720 Typewriter
26721 \family default
26722
26723 \begin_inset Quotes erd
26724 \end_inset
26725
26726 .
26727 \end_layout
26728
26729 \begin_layout Standard
26730 When you use the LaTeX-package 
26731 \series bold
26732 hyperref
26733 \series default
26734
26735 \begin_inset LatexCommand index
26736 name "LaTeX-packages ! hyperref"
26737
26738 \end_inset
26739
26740  to link cross-references in the output, URLs will automatically become
26741  clickable hyperlinks in DVI and PDF-output.
26742 \end_layout
26743
26744 \begin_layout Standard
26745 \begin_inset Note Greyedout
26746 status open
26747
26748 \begin_layout Standard
26749
26750 \series bold
26751 Note:
26752 \series default
26753  When you use the following characters: "%", "#", "^", you have to write
26754  them with a preceding backslash, e.\InsetSpace \thinspace{}
26755 g.\InsetSpace ~
26756
26757 \begin_inset Quotes eld
26758 \end_inset
26759
26760
26761 \backslash
26762 #
26763 \begin_inset Quotes erd
26764 \end_inset
26765
26766 .
26767  URLs must not end with a backslash.
26768 \end_layout
26769
26770 \end_inset
26771
26772
26773 \end_layout
26774
26775 \begin_layout Standard
26776 \begin_inset VSpace bigskip
26777 \end_inset
26778
26779 To create real hyperlinks without the force to write the link location to
26780  the text, you can use the command
26781 \end_layout
26782
26783 \begin_layout Standard
26784
26785 \series bold
26786
26787 \backslash
26788 href{link location}{link text}
26789 \end_layout
26790
26791 \begin_layout Standard
26792 in ERT.
26793  To get for example a link to LyX's web page, write the command
26794 \end_layout
26795
26796 \begin_layout Standard
26797
26798 \series bold
26799
26800 \backslash
26801 href{http://www.lyx.org}{
26802 \end_layout
26803
26804 \begin_layout Standard
26805 in ERT.
26806  Insert after the command the link text 
26807 \begin_inset Quotes eld
26808 \end_inset
26809
26810 LyX's homepage
26811 \begin_inset Quotes erd
26812 \end_inset
26813
26814  as normal text followed by a closing brace 
26815 \begin_inset Quotes eld
26816 \end_inset
26817
26818
26819 \series bold
26820 }
26821 \series default
26822
26823 \begin_inset Quotes erd
26824 \end_inset
26825
26826  in ERT.
26827  This is the result: 
26828 \begin_inset ERT
26829 status collapsed
26830
26831 \begin_layout Standard
26832
26833
26834 \backslash
26835 href{http://www.lyx.org}{
26836 \end_layout
26837
26838 \end_inset
26839
26840 LyX's homepage
26841 \begin_inset ERT
26842 status collapsed
26843
26844 \begin_layout Standard
26845
26846 }
26847 \end_layout
26848
26849 \end_inset
26850
26851
26852 \end_layout
26853
26854 \begin_layout Standard
26855 To link to email addresses, add the prefix 
26856 \begin_inset Quotes eld
26857 \end_inset
26858
26859
26860 \family sans
26861 mailto:
26862 \family default
26863
26864 \begin_inset Quotes erd
26865 \end_inset
26866
26867  to the link location:
26868 \newline
26869 Email to 
26870 \begin_inset ERT
26871 status collapsed
26872
26873 \begin_layout Standard
26874
26875
26876 \backslash
26877 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26878 \end_layout
26879
26880 \end_inset
26881
26882 lyx-docs mailing list
26883 \begin_inset ERT
26884 status collapsed
26885
26886 \begin_layout Standard
26887
26888 }
26889 \end_layout
26890
26891 \end_inset
26892
26893 .
26894 \end_layout
26895
26896 \begin_layout Standard
26897 Using 
26898 \series bold
26899
26900 \backslash
26901 href
26902 \series default
26903  instead of LyX's URL box has the advantage that you can specify the text
26904  style of the link text like for all other text parts.
26905  You can therefore set hyphenation points and forced linebreaks to have
26906  long link text broken at the page margin.
26907  You are furthermore able to change the text style for all URLs in your
26908  document with an option in 
26909 \series bold
26910 hyperref
26911 \series default
26912 's load command and the restrictions mentioned above doesn't apply for 
26913 \series bold
26914
26915 \backslash
26916 href
26917 \series default
26918 .
26919 \end_layout
26920
26921 \begin_layout Chapter
26922 External Stuff
26923 \begin_inset LatexCommand index
26924 name "External Stuff"
26925
26926 \end_inset
26927
26928
26929 \end_layout
26930
26931 \begin_layout Standard
26932 With the menu 
26933 \family sans
26934 Insert\SpecialChar \menuseparator
26935 File
26936 \family default
26937  you can insert external material to your document.
26938  This can be:
26939 \end_layout
26940
26941 \begin_layout Description
26942 LyX\InsetSpace ~
26943 Document Another LyX document; its content is directly inserted to your
26944  document.
26945 \end_layout
26946
26947 \begin_layout Description
26948 Plain\InsetSpace ~
26949 Text A text document; every of its text lines is inserted to your document
26950  as own paragraph.
26951 \end_layout
26952
26953 \begin_layout Description
26954 Plain\InsetSpace ~
26955 Text,\InsetSpace ~
26956 Join\InsetSpace ~
26957 Lines A text document; its text lines are inserted as they
26958  are.
26959  Empty text lines creates a new paragraph in your document.
26960 \end_layout
26961
26962 \begin_layout Description
26963 External\InsetSpace ~
26964 Material Files in various formats.
26965 \end_layout
26966
26967 \begin_layout Description
26968 Child\InsetSpace ~
26969 Document LyX or LaTeX-documents.
26970 \end_layout
26971
26972 \begin_layout Section
26973 External Material
26974 \begin_inset LatexCommand index
26975 name "External Stuff ! External Material"
26976
26977 \end_inset
26978
26979
26980 \end_layout
26981
26982 \begin_layout Standard
26983 The external material feature allows you to insert files to your document
26984  without converting them previously to a format that can be read by the
26985  document output format because LyX takes care of needed conversions.
26986  This is similar to images that can be inserted in various image formats
26987  to LyX documents.
26988 \end_layout
26989
26990 \begin_layout Standard
26991 External material can be inserted via the 
26992 \family sans
26993 External Material
26994 \family default
26995  dialog that is accessible with the menu 
26996 \family sans
26997 Insert\SpecialChar \menuseparator
26998 File\SpecialChar \menuseparator
26999 External\InsetSpace ~
27000 Material
27001 \family default
27002 .
27003  Currently the following file types (
27004 \family sans
27005 Templates
27006 \family default
27007 ) are allowed:
27008 \end_layout
27009
27010 \begin_layout Description
27011 ChessDiagram This template supports chess position diagrams made with the
27012  program 
27013 \begin_inset ERT
27014 status collapsed
27015
27016 \begin_layout Standard
27017
27018
27019 \backslash
27020 href{http://en.wikipedia.org/wiki/XBoard}{
27021 \end_layout
27022
27023 \end_inset
27024
27025
27026 \series bold
27027 XBoard
27028 \series default
27029
27030 \begin_inset ERT
27031 status collapsed
27032
27033 \begin_layout Standard
27034
27035 }
27036 \end_layout
27037
27038 \end_inset
27039
27040 .
27041 \end_layout
27042
27043 \begin_layout Description
27044 Date This inserts the date in the form 
27045 \emph on
27046 Date-Month-Year
27047 \emph default
27048 .
27049  This is a date inserted as external material: 
27050 \begin_inset External
27051         template Date
27052         filename .
27053
27054 \end_inset
27055
27056
27057 \newline
27058 The date is not shown within LyX, only in the output.
27059  There are two other methods of inserting a date, via menu 
27060 \family sans
27061 Insert\SpecialChar \menuseparator
27062 Date
27063 \family default
27064  and with the LaTeX command 
27065 \series bold
27066
27067 \backslash
27068 today
27069 \series default
27070  as ERT.
27071  The different methods are compared in Table\InsetSpace ~
27072
27073 \begin_inset LatexCommand ref
27074 reference "tab:Comparison-of-the"
27075
27076 \end_inset
27077
27078 .
27079 \end_layout
27080
27081 \begin_layout Description
27082 LilyPond This template is used for music notation typeset with the program
27083 \begin_inset ERT
27084 status collapsed
27085
27086 \begin_layout Standard
27087
27088
27089 \backslash
27090 linebreak 
27091 \end_layout
27092
27093 \end_inset
27094
27095
27096 \begin_inset ERT
27097 status collapsed
27098
27099 \begin_layout Standard
27100
27101
27102 \backslash
27103 href{http://en.wikipedia.org/wiki/LilyPond}{
27104 \end_layout
27105
27106 \end_inset
27107
27108
27109 \series bold
27110 LilyPond
27111 \series default
27112
27113 \begin_inset ERT
27114 status collapsed
27115
27116 \begin_layout Standard
27117
27118 }
27119 \end_layout
27120
27121 \end_inset
27122
27123 .
27124 \begin_inset Note Note
27125 status collapsed
27126
27127 \begin_layout Standard
27128 The command 
27129 \series bold
27130
27131 \backslash
27132 linebreak
27133 \series default
27134  breaks the line while the remaining text in the line is stretched to the
27135  page margin.
27136 \end_layout
27137
27138 \end_inset
27139
27140
27141 \end_layout
27142
27143 \begin_layout Description
27144 RasterImage This can be used for bitmap images.
27145  Nearly all popular image formats are supported.
27146  The image can be treated in the 
27147 \family sans
27148 External material
27149 \family default
27150  dialog like the images that are usually included via the 
27151 \family sans
27152 Graphics
27153 \family default
27154  dialog as described in section\InsetSpace ~
27155
27156 \begin_inset LatexCommand ref
27157 reference "sec:Graphics-Dialog"
27158
27159 \end_inset
27160
27161 .
27162  The difference is that only raster images are allowed, that means that
27163  PDF and EPS-images are not supported.
27164 \end_layout
27165
27166 \begin_layout Description
27167 XFig This template supports images created with the program 
27168 \begin_inset ERT
27169 status collapsed
27170
27171 \begin_layout Standard
27172
27173
27174 \backslash
27175 href{http://en.wikipedia.org/wiki/Xfig}{
27176 \end_layout
27177
27178 \end_inset
27179
27180
27181 \series bold
27182 Xfig
27183 \series default
27184
27185 \begin_inset ERT
27186 status collapsed
27187
27188 \begin_layout Standard
27189
27190 }
27191 \end_layout
27192
27193 \end_inset
27194
27195 .
27196 \end_layout
27197
27198 \begin_layout Standard
27199 \begin_inset Float table
27200 placement h
27201 wide false
27202 sideways false
27203 status open
27204
27205 \begin_layout Standard
27206 \begin_inset Caption
27207
27208 \begin_layout Standard
27209 \begin_inset LatexCommand label
27210 name "tab:Comparison-of-the"
27211
27212 \end_inset
27213
27214 Comparison of the date input methods.
27215 \end_layout
27216
27217 \end_inset
27218
27219
27220 \end_layout
27221
27222 \begin_layout Standard
27223 \align center
27224 \begin_inset Tabular
27225 <lyxtabular version="3" rows="4" columns="4">
27226 <features>
27227 <column alignment="center" valignment="top" leftline="true" width="0">
27228 <column alignment="center" valignment="top" leftline="true" width="0">
27229 <column alignment="center" valignment="top" leftline="true" width="0">
27230 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27231 <row topline="true">
27232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27233 \begin_inset Text
27234
27235 \begin_layout Standard
27236 Document format
27237 \end_layout
27238
27239 \end_inset
27240 </cell>
27241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27242 \begin_inset Text
27243
27244 \begin_layout Standard
27245
27246 \family sans
27247 External Material\SpecialChar \menuseparator
27248 Date
27249 \end_layout
27250
27251 \end_inset
27252 </cell>
27253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27254 \begin_inset Text
27255
27256 \begin_layout Standard
27257
27258 \family sans
27259 Insert\SpecialChar \menuseparator
27260 Date
27261 \end_layout
27262
27263 \end_inset
27264 </cell>
27265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27266 \begin_inset Text
27267
27268 \begin_layout Standard
27269 command 
27270 \series bold
27271
27272 \backslash
27273 today
27274 \end_layout
27275
27276 \end_inset
27277 </cell>
27278 </row>
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 LyX
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 as inset box
27294 \end_layout
27295
27296 \end_inset
27297 </cell>
27298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27299 \begin_inset Text
27300
27301 \begin_layout Standard
27302 as date
27303 \end_layout
27304
27305 \end_inset
27306 </cell>
27307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27308 \begin_inset Text
27309
27310 \begin_layout Standard
27311 as ERT inset box
27312 \end_layout
27313
27314 \end_inset
27315 </cell>
27316 </row>
27317 <row topline="true">
27318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27319 \begin_inset Text
27320
27321 \begin_layout Standard
27322 LaTeX
27323 \end_layout
27324
27325 \end_inset
27326 </cell>
27327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27328 \begin_inset Text
27329
27330 \begin_layout Standard
27331 as date
27332 \end_layout
27333
27334 \end_inset
27335 </cell>
27336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27337 \begin_inset Text
27338
27339 \begin_layout Standard
27340 as date
27341 \end_layout
27342
27343 \end_inset
27344 </cell>
27345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27346 \begin_inset Text
27347
27348 \begin_layout Standard
27349 as command
27350 \end_layout
27351
27352 \end_inset
27353 </cell>
27354 </row>
27355 <row topline="true" bottomline="true">
27356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27357 \begin_inset Text
27358
27359 \begin_layout Standard
27360 DVI, PDF, PS
27361 \end_layout
27362
27363 \end_inset
27364 </cell>
27365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27366 \begin_inset Text
27367
27368 \begin_layout Standard
27369 as date
27370 \end_layout
27371
27372 \end_inset
27373 </cell>
27374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27375 \begin_inset Text
27376
27377 \begin_layout Standard
27378 as date
27379 \end_layout
27380
27381 \end_inset
27382 </cell>
27383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27384 \begin_inset Text
27385
27386 \begin_layout Standard
27387 as date
27388 \end_layout
27389
27390 \end_inset
27391 </cell>
27392 </row>
27393 </lyxtabular>
27394
27395 \end_inset
27396
27397
27398 \end_layout
27399
27400 \end_inset
27401
27402
27403 \end_layout
27404
27405 \begin_layout Standard
27406 When you use the option 
27407 \family sans
27408 Draft
27409 \family default
27410  in the 
27411 \family sans
27412 File
27413 \family default
27414  tab of the 
27415 \family sans
27416 External Material
27417 \family default
27418  dialog, only the path to the inserted file is shown in the output.
27419 \newline
27420 External
27421  material is displayed in LyX either as box like this: 
27422 \begin_inset Graphics
27423         filename clipart/ExternalMaterialQt4.png
27424         scale 85
27425
27426 \end_inset
27427
27428  or as image, depending on the setting in the 
27429 \family sans
27430 LyX\InsetSpace ~
27431 View
27432 \family default
27433  tab of the 
27434 \family sans
27435 External Material
27436 \family default
27437  dialog.
27438 \end_layout
27439
27440 \begin_layout Standard
27441 The 
27442 \family sans
27443 \emph on
27444 Customization
27445 \family default
27446 \emph default
27447  manual explains how you can define your own templates.
27448 \end_layout
27449
27450 \begin_layout Section
27451 Child Documents
27452 \begin_inset LatexCommand index
27453 name "External Stuff ! Child Documents"
27454
27455 \end_inset
27456
27457
27458 \begin_inset LatexCommand index
27459 name "Files ! Include"
27460
27461 \end_inset
27462
27463
27464 \end_layout
27465
27466 \begin_layout Standard
27467 Child documents are used when you have a long document consisting of several
27468  larger parts or sections.
27469  For maintenance it is often useful and sometimes even required to split
27470  the document in several files that can be revised separately.
27471  The different documents are then the so called child documents and a master
27472  document connects them to print the full document or parts of it.
27473 \end_layout
27474
27475 \begin_layout Standard
27476 Included documents are displayed in LyX as a box like this: 
27477 \begin_inset Graphics
27478         filename clipart/ChildDocumentQt4.png
27479         scale 85
27480
27481 \end_inset
27482
27483  To include child documents to a master document use the menu 
27484 \family sans
27485 Insert\SpecialChar \menuseparator
27486 File\SpecialChar \menuseparator
27487 Child\InsetSpace ~
27488 Documents
27489 \family default
27490 .
27491  A dialog pops up where you can choose between three include methods:
27492 \end_layout
27493
27494 \begin_layout Description
27495 Include You can include LyX and LaTeX-documents.
27496  When you press the 
27497 \family sans
27498 Load
27499 \family default
27500  button in the 
27501 \family sans
27502 Child Document
27503 \family default
27504  dialog, the included documents will be opened in LyX in a new file tab
27505  so that you can modify it.
27506 \newline
27507
27508 \end_layout
27509
27510 \begin_layout Standard
27511 Here is a child document inserted using 
27512 \family sans
27513 Include
27514 \family default
27515
27516 \begin_inset Include \include{DummyDocument1.lyx}
27517 preview false
27518
27519 \end_inset
27520
27521
27522 \end_layout
27523
27524 \begin_layout Standard
27525 The section numbering includes the sections of the included files in the
27526  order they are inserted in the master document.
27527  The included example document has for example a subsection that is numbered
27528  as subsection of this section.
27529  Labels of included documents can be referenced: Subsection\InsetSpace ~
27530
27531 \begin_inset LatexCommand ref
27532 reference "sub:External-Subsection-1"
27533
27534 \end_inset
27535
27536
27537 \end_layout
27538
27539 \begin_layout Standard
27540 The preamble of the child document is ignored, only the preamble of the
27541  master document is used.
27542  Included documents are inserted starting on a new page and end with a pagebreak.
27543 \end_layout
27544
27545 \begin_layout Standard
27546 With the LaTeX-command 
27547 \series bold
27548
27549 \backslash
27550 includeonly 
27551 \series default
27552 you can specify which included child documents are processed when the output
27553  is generated.
27554  This is useful when you are perhaps only working on a certain chapter of
27555  your large document as this saves compiling time.
27556  
27557 \series bold
27558
27559 \backslash
27560 includeonly
27561 \series default
27562  is inserted to the master document preamble.
27563  It takes a comma-separated list of the filenames as argument, e.g.
27564 \end_layout
27565
27566 \begin_layout Standard
27567
27568 \series bold
27569
27570 \backslash
27571 includeonly{chapter1,chapter5}
27572 \end_layout
27573
27574 \begin_layout Standard
27575 will only process the included files named 
27576 \begin_inset Quotes eld
27577 \end_inset
27578
27579 chapter1.lyx
27580 \begin_inset Quotes erd
27581 \end_inset
27582
27583  (or 
27584 \begin_inset Quotes eld
27585 \end_inset
27586
27587 chapter1.tex
27588 \begin_inset Quotes erd
27589 \end_inset
27590
27591 ) and 
27592 \begin_inset Quotes eld
27593 \end_inset
27594
27595 chapter5.lyx
27596 \begin_inset Quotes erd
27597 \end_inset
27598
27599  .
27600 \end_layout
27601
27602 \begin_layout Standard
27603 \begin_inset Note Greyedout
27604 status open
27605
27606 \begin_layout Standard
27607
27608 \series bold
27609 Note:
27610 \series default
27611  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27612 w the document in case that the child document uses another document class
27613  than the master document as this will lead to unexpected outputs.
27614 \end_layout
27615
27616 \end_inset
27617
27618
27619 \end_layout
27620
27621 \begin_layout Description
27622 Input This method is very similar to the Include method.
27623  The differences are:
27624 \end_layout
27625
27626 \begin_deeper
27627 \begin_layout Itemize
27628 Input files don't start with a new page and don't end with a pagebreak.
27629 \end_layout
27630
27631 \begin_layout Itemize
27632 Input files can be previewed in LyX when 
27633 \family sans
27634 Instant\InsetSpace ~
27635 Preview
27636 \family default
27637  is enabled in LyX's preferences under 
27638 \family sans
27639 Look\InsetSpace ~
27640 and\InsetSpace ~
27641 feel\SpecialChar \menuseparator
27642 Graphics
27643 \family default
27644 .
27645 \end_layout
27646
27647 \begin_layout Itemize
27648 The LaTeX-command 
27649 \series bold
27650
27651 \backslash
27652 includeonly
27653 \series default
27654  cannot be used.
27655 \end_layout
27656
27657 \end_deeper
27658 \begin_layout Standard
27659 Here is a child document inserted using 
27660 \family sans
27661 Input
27662 \family default
27663
27664 \begin_inset Include \input{DummyDocument2.lyx}
27665 preview true
27666
27667 \end_inset
27668
27669
27670 \end_layout
27671
27672 \begin_layout Description
27673 Verbatim With this method every text file can be included.
27674  The file is shown in the output with its source code, no command used in
27675  the text is invoked.
27676  You can use the option 
27677 \family sans
27678 Mark spaces in output
27679 \family default
27680  that displays the character 
27681 \begin_inset Quotes eld
27682 \end_inset
27683
27684
27685 \begin_inset ERT
27686 status collapsed
27687
27688 \begin_layout Standard
27689
27690
27691 \backslash
27692 textvisiblespace 
27693 \end_layout
27694
27695 \end_inset
27696
27697
27698 \begin_inset Quotes erd
27699 \end_inset
27700
27701  for every space character in the source code.
27702  The difference to the method via the menu 
27703 \family sans
27704 Insert\SpecialChar \menuseparator
27705 File\SpecialChar \menuseparator
27706 Plain\InsetSpace ~
27707 Text
27708 \family default
27709  is that the document content is not shown in LyX.
27710 \end_layout
27711
27712 \begin_layout Standard
27713 Here is a child document inserted as Verbatim: 
27714 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27715 preview false
27716
27717 \end_inset
27718
27719
27720 \begin_inset VSpace bigskip
27721 \end_inset
27722
27723 Here is a child document inserted as Verbatim using the 
27724 \family sans
27725 Mark spaces in output
27726 \family default
27727  option: 
27728 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27729 preview false
27730
27731 \end_inset
27732
27733
27734 \end_layout
27735
27736 \begin_layout Standard
27737 \begin_inset VSpace bigskip
27738 \end_inset
27739
27740
27741 \end_layout
27742
27743 \begin_layout Standard
27744 \begin_inset Note Greyedout
27745 status open
27746
27747 \begin_layout Standard
27748
27749 \series bold
27750 Note:
27751 \series default
27752  As you can see in the examples above, the text of the documents included
27753  as verbatim is not broken at the end of the document lines.
27754 \end_layout
27755
27756 \end_inset
27757
27758
27759 \end_layout
27760
27761 \begin_layout Standard
27762 \begin_inset Note Greyedout
27763 status open
27764
27765 \begin_layout Standard
27766
27767 \series bold
27768 Note:
27769 \series default
27770  Including the same document twice in a document using different methods
27771  could cause LaTeX-problems.
27772 \end_layout
27773
27774 \end_inset
27775
27776
27777 \end_layout
27778
27779 \begin_layout Standard
27780
27781 \newpage
27782
27783 \end_layout
27784
27785 \begin_layout Chapter
27786 \start_of_appendix
27787 Units available in 
27788 \begin_inset ERT
27789 status collapsed
27790
27791 \begin_layout Standard
27792
27793
27794 \backslash
27795 texorpdfstring{
27796 \end_layout
27797
27798 \end_inset
27799
27800 LyX
27801 \begin_inset ERT
27802 status collapsed
27803
27804 \begin_layout Standard
27805
27806 }{LyX}
27807 \end_layout
27808
27809 \end_inset
27810
27811
27812 \begin_inset LatexCommand index
27813 name "Units"
27814
27815 \end_inset
27816
27817
27818 \begin_inset LatexCommand label
27819 name "cha:Units-available-in"
27820
27821 \end_inset
27822
27823
27824 \begin_inset Note Note
27825 status collapsed
27826
27827 \begin_layout Standard
27828 The command 
27829 \backslash
27830 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
27831  are displayed wrongly in PDF-bookmarks.
27832  For more information about this, have a look at 
27833 \begin_inset LatexCommand cite
27834 key "hyperref"
27835
27836 \end_inset
27837
27838 .
27839 \end_layout
27840
27841 \end_inset
27842
27843
27844 \end_layout
27845
27846 \begin_layout Standard
27847 To understand the units described in this documentation, Table\InsetSpace ~
27848
27849 \begin_inset LatexCommand ref
27850 reference "tab:Units"
27851
27852 \end_inset
27853
27854  explains all units available in LyX.
27855 \end_layout
27856
27857 \begin_layout Standard
27858 \begin_inset Float table
27859 placement h
27860 wide false
27861 sideways false
27862 status open
27863
27864 \begin_layout Standard
27865 \begin_inset Caption
27866
27867 \begin_layout Standard
27868 \begin_inset LatexCommand label
27869 name "tab:Units"
27870
27871 \end_inset
27872
27873 Units
27874 \end_layout
27875
27876 \end_inset
27877
27878
27879 \end_layout
27880
27881 \begin_layout Standard
27882 \begin_inset VSpace medskip
27883 \end_inset
27884
27885
27886 \end_layout
27887
27888 \begin_layout Standard
27889 \align center
27890 \begin_inset Tabular
27891 <lyxtabular version="3" rows="20" columns="2">
27892 <features>
27893 <column alignment="center" valignment="top" leftline="true" width="0">
27894 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27895 <row topline="true" bottomline="true">
27896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27897 \begin_inset Text
27898
27899 \begin_layout Standard
27900 unit
27901 \end_layout
27902
27903 \end_inset
27904 </cell>
27905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27906 \begin_inset Text
27907
27908 \begin_layout Standard
27909 name/description
27910 \end_layout
27911
27912 \end_inset
27913 </cell>
27914 </row>
27915 <row topline="true">
27916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27917 \begin_inset Text
27918
27919 \begin_layout Standard
27920 mm
27921 \end_layout
27922
27923 \end_inset
27924 </cell>
27925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27926 \begin_inset Text
27927
27928 \begin_layout Standard
27929 millimeter
27930 \end_layout
27931
27932 \end_inset
27933 </cell>
27934 </row>
27935 <row topline="true">
27936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27937 \begin_inset Text
27938
27939 \begin_layout Standard
27940 cm
27941 \end_layout
27942
27943 \end_inset
27944 </cell>
27945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27946 \begin_inset Text
27947
27948 \begin_layout Standard
27949 centimeter
27950 \end_layout
27951
27952 \end_inset
27953 </cell>
27954 </row>
27955 <row topline="true">
27956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27957 \begin_inset Text
27958
27959 \begin_layout Standard
27960 in
27961 \end_layout
27962
27963 \end_inset
27964 </cell>
27965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27966 \begin_inset Text
27967
27968 \begin_layout Standard
27969 inch
27970 \end_layout
27971
27972 \end_inset
27973 </cell>
27974 </row>
27975 <row topline="true">
27976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27977 \begin_inset Text
27978
27979 \begin_layout Standard
27980 pt
27981 \end_layout
27982
27983 \end_inset
27984 </cell>
27985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27986 \begin_inset Text
27987
27988 \begin_layout Standard
27989 point (72.27\InsetSpace \thinspace{}
27990 pt = 1\InsetSpace \thinspace{}
27991 in)
27992 \end_layout
27993
27994 \end_inset
27995 </cell>
27996 </row>
27997 <row topline="true">
27998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27999 \begin_inset Text
28000
28001 \begin_layout Standard
28002 pc
28003 \end_layout
28004
28005 \end_inset
28006 </cell>
28007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28008 \begin_inset Text
28009
28010 \begin_layout Standard
28011 pica (1\InsetSpace \thinspace{}
28012 pc = 12\InsetSpace \thinspace{}
28013 pt)
28014 \end_layout
28015
28016 \end_inset
28017 </cell>
28018 </row>
28019 <row topline="true">
28020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28021 \begin_inset Text
28022
28023 \begin_layout Standard
28024 sp
28025 \end_layout
28026
28027 \end_inset
28028 </cell>
28029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28030 \begin_inset Text
28031
28032 \begin_layout Standard
28033 scaled point (65536\InsetSpace \thinspace{}
28034 sp = 1\InsetSpace \thinspace{}
28035 pt)
28036 \end_layout
28037
28038 \end_inset
28039 </cell>
28040 </row>
28041 <row topline="true">
28042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28043 \begin_inset Text
28044
28045 \begin_layout Standard
28046 bp
28047 \end_layout
28048
28049 \end_inset
28050 </cell>
28051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28052 \begin_inset Text
28053
28054 \begin_layout Standard
28055 big point (72\InsetSpace \thinspace{}
28056 bp = 1\InsetSpace \thinspace{}
28057 in)
28058 \end_layout
28059
28060 \end_inset
28061 </cell>
28062 </row>
28063 <row topline="true">
28064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28065 \begin_inset Text
28066
28067 \begin_layout Standard
28068 dd
28069 \end_layout
28070
28071 \end_inset
28072 </cell>
28073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28074 \begin_inset Text
28075
28076 \begin_layout Standard
28077 didot (72\InsetSpace \thinspace{}
28078 dd 
28079 \begin_inset Formula $\approx$
28080 \end_inset
28081
28082  37.6\InsetSpace \thinspace{}
28083 mm)
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 cc
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 cicero (1\InsetSpace \thinspace{}
28104 cc = 12\InsetSpace \thinspace{}
28105 dd)
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 Scale%
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 % of original image width
28126 \end_layout
28127
28128 \end_inset
28129 </cell>
28130 </row>
28131 <row topline="true">
28132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28133 \begin_inset Text
28134
28135 \begin_layout Standard
28136 text%
28137 \end_layout
28138
28139 \end_inset
28140 </cell>
28141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28142 \begin_inset Text
28143
28144 \begin_layout Standard
28145 % of text width
28146 \end_layout
28147
28148 \end_inset
28149 </cell>
28150 </row>
28151 <row topline="true">
28152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28153 \begin_inset Text
28154
28155 \begin_layout Standard
28156 col%
28157 \end_layout
28158
28159 \end_inset
28160 </cell>
28161 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28162 \begin_inset Text
28163
28164 \begin_layout Standard
28165 % of column width
28166 \end_layout
28167
28168 \end_inset
28169 </cell>
28170 </row>
28171 <row topline="true">
28172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28173 \begin_inset Text
28174
28175 \begin_layout Standard
28176 page%
28177 \end_layout
28178
28179 \end_inset
28180 </cell>
28181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28182 \begin_inset Text
28183
28184 \begin_layout Standard
28185 % of paper width
28186 \end_layout
28187
28188 \end_inset
28189 </cell>
28190 </row>
28191 <row topline="true">
28192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28193 \begin_inset Text
28194
28195 \begin_layout Standard
28196 line%
28197 \end_layout
28198
28199 \end_inset
28200 </cell>
28201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28202 \begin_inset Text
28203
28204 \begin_layout Standard
28205 % of line width
28206 \end_layout
28207
28208 \end_inset
28209 </cell>
28210 </row>
28211 <row topline="true">
28212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28213 \begin_inset Text
28214
28215 \begin_layout Standard
28216 theight%
28217 \end_layout
28218
28219 \end_inset
28220 </cell>
28221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28222 \begin_inset Text
28223
28224 \begin_layout Standard
28225 % of text height
28226 \end_layout
28227
28228 \end_inset
28229 </cell>
28230 </row>
28231 <row topline="true">
28232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28233 \begin_inset Text
28234
28235 \begin_layout Standard
28236 pheight%
28237 \end_layout
28238
28239 \end_inset
28240 </cell>
28241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28242 \begin_inset Text
28243
28244 \begin_layout Standard
28245 % of paper height
28246 \end_layout
28247
28248 \end_inset
28249 </cell>
28250 </row>
28251 <row topline="true">
28252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28253 \begin_inset Text
28254
28255 \begin_layout Standard
28256 ex
28257 \end_layout
28258
28259 \end_inset
28260 </cell>
28261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28262 \begin_inset Text
28263
28264 \begin_layout Standard
28265 height of letter 
28266 \emph on
28267 x
28268 \emph default
28269  in current font
28270 \end_layout
28271
28272 \end_inset
28273 </cell>
28274 </row>
28275 <row topline="true">
28276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28277 \begin_inset Text
28278
28279 \begin_layout Standard
28280 em
28281 \end_layout
28282
28283 \end_inset
28284 </cell>
28285 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28286 \begin_inset Text
28287
28288 \begin_layout Standard
28289 width of letter 
28290 \emph on
28291 M
28292 \emph default
28293  in current font
28294 \end_layout
28295
28296 \end_inset
28297 </cell>
28298 </row>
28299 <row topline="true" bottomline="true">
28300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28301 \begin_inset Text
28302
28303 \begin_layout Standard
28304 mu
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 math unit (1\InsetSpace \thinspace{}
28314 mu = 1/18\InsetSpace \thinspace{}
28315 em)
28316 \end_layout
28317
28318 \end_inset
28319 </cell>
28320 </row>
28321 </lyxtabular>
28322
28323 \end_inset
28324
28325
28326 \end_layout
28327
28328 \end_inset
28329
28330
28331 \end_layout
28332
28333 \begin_layout Chapter
28334 Output File Formats with Graphics
28335 \begin_inset LatexCommand label
28336 name "cha:Output-File-Formats"
28337
28338 \end_inset
28339
28340
28341 \end_layout
28342
28343 \begin_layout Section
28344 DVI
28345 \begin_inset LatexCommand index
28346 name "File Formats ! DVI"
28347
28348 \end_inset
28349
28350
28351 \begin_inset LatexCommand index
28352 name "DVI|see{File Formats}"
28353
28354 \end_inset
28355
28356
28357 \end_layout
28358
28359 \begin_layout Standard
28360 This file type has the extension 
28361 \begin_inset Quotes eld
28362 \end_inset
28363
28364
28365 \family typewriter
28366 .dvi
28367 \family default
28368
28369 \begin_inset Quotes erd
28370 \end_inset
28371
28372 .
28373  It is called 
28374 \begin_inset Quotes eld
28375 \end_inset
28376
28377 device-independent
28378 \begin_inset Quotes erd
28379 \end_inset
28380
28381  (DVI), because it is completely portable; you can move them from one machine
28382  to another without needing to do any sort of conversion.
28383  At the time when this file-format was developed, this was no matter of
28384  course.
28385  DVIs are used for quick previews and as pre-stage for other output formats,
28386  like PostScript.
28387 \end_layout
28388
28389 \begin_layout Standard
28390 \begin_inset Note Greyedout
28391 status open
28392
28393 \begin_layout Standard
28394
28395 \series bold
28396 Note:
28397 \series default
28398  DVI-files doesn't contain images, they will only be a linked.
28399 \end_layout
28400
28401 \end_inset
28402
28403  So don't forget this, if you move your 
28404 \family typewriter
28405 .dvi
28406 \family default
28407  file to another computer.
28408  This property can also slow down your computer when you view the DVI.
28409  Because the DVI-viewer has to convert the image in the background to make
28410  it visible when you scroll in the DVI.
28411  So we recommend to use PDF for files with many images.
28412 \end_layout
28413
28414 \begin_layout Standard
28415 You can export your document to DVI by using the menu 
28416 \family sans
28417 File\SpecialChar \menuseparator
28418 Export\SpecialChar \menuseparator
28419 DVI
28420 \family default
28421 .
28422  You can view your document as DVI via the 
28423 \family sans
28424 View
28425 \family default
28426  menu or by using the toolbar button 
28427 \begin_inset Graphics
28428         filename ../images/buffer-view_dvi.xpm
28429         scale 85
28430
28431 \end_inset
28432
28433 .
28434 \end_layout
28435
28436 \begin_layout Section
28437 PostScript
28438 \begin_inset LatexCommand label
28439 name "sec:PostScript"
28440
28441 \end_inset
28442
28443
28444 \begin_inset LatexCommand index
28445 name "File Formats ! PostScript"
28446
28447 \end_inset
28448
28449
28450 \begin_inset LatexCommand index
28451 name "PostScript|see{File Formats}"
28452
28453 \end_inset
28454
28455
28456 \end_layout
28457
28458 \begin_layout Standard
28459 This file type has the extension 
28460 \begin_inset Quotes eld
28461 \end_inset
28462
28463
28464 \family typewriter
28465 .ps
28466 \family default
28467
28468 \begin_inset Quotes erd
28469 \end_inset
28470
28471 .
28472  PostScript was developed by the company 
28473 \family typewriter
28474 Adobe
28475 \family default
28476  as printer language.
28477  The file contains therefore commands that the printer uses to print the
28478  file.
28479  PostScript can be seen as 
28480 \begin_inset Quotes eld
28481 \end_inset
28482
28483 programming language
28484 \begin_inset Quotes erd
28485 \end_inset
28486
28487 ; you can calculate with it and draw diagrams and images
28488 \begin_inset Foot
28489 status collapsed
28490
28491 \begin_layout Standard
28492 If you are interested to learn more about this, have a look at the LaTeX-package
28493  
28494 \series bold
28495 PSTricks
28496 \series default
28497  
28498 \begin_inset LatexCommand cite
28499 key "pstricks"
28500
28501 \end_inset
28502
28503 .
28504 \end_layout
28505
28506 \end_inset
28507
28508 .
28509  Due to this ability, the files are often bigger than PDFs.
28510 \end_layout
28511
28512 \begin_layout Standard
28513 PostScript can only contain images in the format 
28514 \begin_inset Quotes eld
28515 \end_inset
28516
28517 Encapsulated PostScript
28518 \begin_inset Quotes erd
28519 \end_inset
28520
28521  (EPS, file extension 
28522 \begin_inset Quotes eld
28523 \end_inset
28524
28525
28526 \family typewriter
28527 .eps
28528 \family default
28529
28530 \begin_inset Quotes erd
28531 \end_inset
28532
28533 ).
28534  As LyX allows you to use any known image format in your document, it has
28535  to convert images in the background to EPS.
28536  If you have e.g 50 images in your document, LyX has to do 50 conversions
28537  whenever you view or export your document.
28538  This will slow down your work flow with LyX drastically.
28539  So if you plan to use PostScript, you can insert your images directly as
28540  EPS to avoid this problem.
28541 \end_layout
28542
28543 \begin_layout Standard
28544 You can export your document to PostScript using the menu 
28545 \family sans
28546 File\SpecialChar \menuseparator
28547 Export\SpecialChar \menuseparator
28548 Postscript
28549 \family default
28550 .
28551  You can view your document as PostScript via the 
28552 \family sans
28553 View
28554 \family default
28555  menu or by using the toolbar button 
28556 \begin_inset Graphics
28557         filename ../images/buffer-view_ps.xpm
28558         scale 85
28559
28560 \end_inset
28561
28562 .
28563 \end_layout
28564
28565 \begin_layout Section
28566 PDF
28567 \begin_inset LatexCommand label
28568 name "sec:PDF"
28569
28570 \end_inset
28571
28572
28573 \begin_inset LatexCommand index
28574 name "File Formats ! PDF"
28575
28576 \end_inset
28577
28578
28579 \begin_inset LatexCommand index
28580 name "PDF"
28581
28582 \end_inset
28583
28584
28585 \end_layout
28586
28587 \begin_layout Standard
28588 This file type has the extension 
28589 \begin_inset Quotes eld
28590 \end_inset
28591
28592
28593 \family typewriter
28594 .pdf
28595 \family default
28596
28597 \begin_inset Quotes erd
28598 \end_inset
28599
28600 .
28601  The 
28602 \begin_inset Quotes eld
28603 \end_inset
28604
28605 Portable Document Format
28606 \begin_inset Quotes erd
28607 \end_inset
28608
28609  (PDF) is developed by 
28610 \family typewriter
28611 Adobe
28612 \family default
28613  as derivative from PostScript.
28614  It is more compressed and it uses much less commands than PostScript.
28615  As the name 
28616 \begin_inset Quotes eld
28617 \end_inset
28618
28619 portable
28620 \begin_inset Quotes erd
28621 \end_inset
28622
28623  implies, it can be processed at any computer system and the printed output
28624  looks exactly the same.
28625 \end_layout
28626
28627 \begin_layout Standard
28628 PDF can contain images in its own PDF format, in the format 
28629 \begin_inset Quotes eld
28630 \end_inset
28631
28632 Joint Photographic Experts Group
28633 \begin_inset Quotes erd
28634 \end_inset
28635
28636  (JPG, file extension 
28637 \begin_inset Quotes eld
28638 \end_inset
28639
28640
28641 \family typewriter
28642 .jpg
28643 \family default
28644
28645 \begin_inset Quotes erd
28646 \end_inset
28647
28648  or 
28649 \begin_inset Quotes eld
28650 \end_inset
28651
28652
28653 \family typewriter
28654 .jpeg
28655 \family default
28656
28657 \begin_inset Quotes erd
28658 \end_inset
28659
28660 ), and in the format 
28661 \begin_inset Quotes eld
28662 \end_inset
28663
28664 Portable Network Graphics
28665 \begin_inset Quotes erd
28666 \end_inset
28667
28668  (PNG, file extension 
28669 \begin_inset Quotes eld
28670 \end_inset
28671
28672
28673 \family typewriter
28674 .png
28675 \family default
28676
28677 \begin_inset Quotes erd
28678 \end_inset
28679
28680 ).
28681  You can although use any other image format, because LyX converts them
28682  in the background to one of these formats.
28683  But as described in the section about PostScript, the image conversion
28684  will slow down your work flow.
28685  So it is recommended to use images in one of the three mentioned formats.
28686 \end_layout
28687
28688 \begin_layout Standard
28689 You can export your document to PDF via the menu 
28690 \family sans
28691 File\SpecialChar \menuseparator
28692 Export
28693 \family default
28694  in three different ways:
28695 \end_layout
28696
28697 \begin_layout Description
28698 PDF This uses the program 
28699 \family typewriter
28700 ps2pdf
28701 \family default
28702  that creates a PDF from a PostScript-version of your file.
28703  The PostScript-version is produced by the program 
28704 \family typewriter
28705 dvips
28706 \family default
28707  which uses a DVI-version as intermediate step.
28708  So this export variant consist of three conversions.
28709 \end_layout
28710
28711 \begin_layout Description
28712 PDF\InsetSpace ~
28713 (dvipdfm) This uses the program 
28714 \family typewriter
28715 dvipdfm
28716 \family default
28717  that converts your file in the background to DVI and in a second step to
28718  PDF.
28719 \end_layout
28720
28721 \begin_layout Description
28722 PDF\InsetSpace ~
28723 (pdflatex) This uses the program 
28724 \family typewriter
28725 pdftex
28726 \family default
28727  that converts your file directly to PDF.
28728 \end_layout
28729
28730 \begin_layout Standard
28731 It is recommended to use 
28732 \family sans
28733 PDF\InsetSpace ~
28734 (pdflatex)
28735 \family default
28736  because 
28737 \family typewriter
28738 pdftex
28739 \family default
28740  supports all features of actual PDF-versions, is quick and works stable
28741  without problems.
28742  The program 
28743 \family typewriter
28744 dvipdfm
28745 \family default
28746  is not under development and therefore a bit outdated.
28747 \end_layout
28748
28749 \begin_layout Standard
28750 You can view your document as PDF via the 
28751 \family sans
28752 View
28753 \family default
28754  menu or by using the toolbar button 
28755 \begin_inset Graphics
28756         filename ../images/buffer-view_pdf2.xpm
28757         scale 85
28758
28759 \end_inset
28760
28761  
28762 \family sans
28763 (
28764 \family default
28765 that uses 
28766 \family sans
28767 PDF\InsetSpace ~
28768 (pdflatex)
28769 \family default
28770 ).
28771 \end_layout
28772
28773 \begin_layout Chapter
28774 Explanation of Equation\InsetSpace ~
28775
28776 \begin_inset LatexCommand eqref
28777 reference "eq:Wgn"
28778
28779 \end_inset
28780
28781
28782 \begin_inset LatexCommand label
28783 name "cha:Explanation-of-Equation"
28784
28785 \end_inset
28786
28787
28788 \end_layout
28789
28790 \begin_layout Standard
28791 The total width of 
28792 \emph on
28793 n
28794 \emph default
28795  table cells 
28796 \begin_inset Formula $W_{\mathrm{tot\, n}}$
28797 \end_inset
28798
28799  can be calculated to
28800 \end_layout
28801
28802 \begin_layout Standard
28803 \begin_inset Formula \begin{equation}
28804 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
28805
28806 \end_inset
28807
28808
28809 \end_layout
28810
28811 \begin_layout Standard
28812 Where 
28813 \begin_inset Formula $W_{g\, n}$
28814 \end_inset
28815
28816  is the given width of all cells.
28817  
28818 \series bold
28819
28820 \backslash
28821 tabcolsep
28822 \series default
28823  is the LaTeX-length between the cell text and the cell border, its default
28824  value is 6\InsetSpace \thinspace{}
28825 pt.
28826  
28827 \series bold
28828
28829 \backslash
28830 arrayrulewidth
28831 \series default
28832  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
28833 pt.
28834 \end_layout
28835
28836 \begin_layout Standard
28837 Following equation\InsetSpace ~
28838
28839 \begin_inset LatexCommand eqref
28840 reference "eq:Wtot_n"
28841
28842 \end_inset
28843
28844 , the total width of a multicolumn 
28845 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
28846 \end_inset
28847
28848  is
28849 \end_layout
28850
28851 \begin_layout Standard
28852 \begin_inset Formula \begin{equation}
28853 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
28854
28855 \end_inset
28856
28857
28858 \end_layout
28859
28860 \begin_layout Standard
28861 By setting equation\InsetSpace ~
28862
28863 \begin_inset LatexCommand eqref
28864 reference "eq:Wtot_n"
28865
28866 \end_inset
28867
28868  and 
28869 \begin_inset LatexCommand eqref
28870 reference "eq:Wtot_mult"
28871
28872 \end_inset
28873
28874  equal we can calculate the needed given width 
28875 \begin_inset Formula $W_{g\, n}$
28876 \end_inset
28877
28878  when 
28879 \emph on
28880 n
28881 \emph default
28882  columns are spanned, so that each column has a total width of 
28883 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
28884 \end_inset
28885
28886 :
28887 \end_layout
28888
28889 \begin_layout Standard
28890 \begin_inset Formula \begin{equation}
28891 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
28892
28893 \end_inset
28894
28895
28896 \end_layout
28897
28898 \begin_layout Bibliography
28899 \begin_inset LatexCommand bibitem
28900 key "latexcompanion"
28901
28902 \end_inset
28903
28904 Frank Mittelbach and Michel Goossens: 
28905 \emph on
28906 The LaTeX Companion Second Edition.
28907
28908 \emph default
28909  Addison-Wesley, 2004
28910 \end_layout
28911
28912 \begin_layout Bibliography
28913 \begin_inset LatexCommand bibitem
28914 key "latexguide"
28915
28916 \end_inset
28917
28918 Helmut Kopka and Patrick W.
28919  Daly: 
28920 \emph on
28921 A Guide to LaTeX Fourth Edition.
28922
28923 \emph default
28924  Addison-Wesley, 2003
28925 \end_layout
28926
28927 \begin_layout Bibliography
28928 \begin_inset LatexCommand bibitem
28929 key "latexbook"
28930
28931 \end_inset
28932
28933 Leslie Lamport: 
28934 \emph on
28935 LaTeX: A Document Preparation System.
28936
28937 \emph default
28938  Addison-Wesley, second edition, 1994
28939 \end_layout
28940
28941 \begin_layout Bibliography
28942 \begin_inset LatexCommand bibitem
28943 key "booktabs"
28944
28945 \end_inset
28946
28947
28948 \begin_inset ERT
28949 status collapsed
28950
28951 \begin_layout Standard
28952
28953
28954 \backslash
28955 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
28956 {
28957 \end_layout
28958
28959 \end_inset
28960
28961 Documentation
28962 \begin_inset ERT
28963 status collapsed
28964
28965 \begin_layout Standard
28966
28967 }
28968 \end_layout
28969
28970 \end_inset
28971
28972  of the LaTeX-package 
28973 \series bold
28974 booktabs
28975 \series default
28976
28977 \begin_inset LatexCommand index
28978 name "LaTeX-packages ! booktabs"
28979
28980 \end_inset
28981
28982
28983 \end_layout
28984
28985 \begin_layout Bibliography
28986 \begin_inset LatexCommand bibitem
28987 key "caption"
28988
28989 \end_inset
28990
28991
28992 \begin_inset ERT
28993 status collapsed
28994
28995 \begin_layout Standard
28996
28997
28998 \backslash
28999 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29000 \end_layout
29001
29002 \end_inset
29003
29004 Documentation
29005 \begin_inset ERT
29006 status collapsed
29007
29008 \begin_layout Standard
29009
29010 }
29011 \end_layout
29012
29013 \end_inset
29014
29015  of the LaTeX-package 
29016 \series bold
29017 caption
29018 \series default
29019
29020 \begin_inset LatexCommand index
29021 name "LaTeX-packages ! caption"
29022
29023 \end_inset
29024
29025
29026 \end_layout
29027
29028 \begin_layout Bibliography
29029 \begin_inset LatexCommand bibitem
29030 key "caption-de"
29031
29032 \end_inset
29033
29034 German 
29035 \begin_inset ERT
29036 status collapsed
29037
29038 \begin_layout Standard
29039
29040
29041 \backslash
29042 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29043 {
29044 \end_layout
29045
29046 \end_inset
29047
29048 documentation
29049 \begin_inset ERT
29050 status collapsed
29051
29052 \begin_layout Standard
29053
29054 }
29055 \end_layout
29056
29057 \end_inset
29058
29059  of the LaTeX-package 
29060 \series bold
29061 caption
29062 \end_layout
29063
29064 \begin_layout Bibliography
29065 \begin_inset LatexCommand bibitem
29066 key "endfloat"
29067
29068 \end_inset
29069
29070
29071 \begin_inset ERT
29072 status collapsed
29073
29074 \begin_layout Standard
29075
29076
29077 \backslash
29078 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29079 {
29080 \end_layout
29081
29082 \end_inset
29083
29084 Documentation
29085 \begin_inset ERT
29086 status collapsed
29087
29088 \begin_layout Standard
29089
29090 }
29091 \end_layout
29092
29093 \end_inset
29094
29095  of the LaTeX-package 
29096 \series bold
29097 endf\SpecialChar \textcompwordmark{}
29098 loat
29099 \series default
29100
29101 \begin_inset LatexCommand index
29102 name "LaTeX-packages ! endfloat"
29103
29104 \end_inset
29105
29106
29107 \end_layout
29108
29109 \begin_layout Bibliography
29110 \begin_inset LatexCommand bibitem
29111 key "floatflt"
29112
29113 \end_inset
29114
29115
29116 \begin_inset ERT
29117 status collapsed
29118
29119 \begin_layout Standard
29120
29121
29122 \backslash
29123 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29124 {
29125 \end_layout
29126
29127 \end_inset
29128
29129 Documentation
29130 \begin_inset ERT
29131 status collapsed
29132
29133 \begin_layout Standard
29134
29135 }
29136 \end_layout
29137
29138 \end_inset
29139
29140  of the LaTeX-package 
29141 \series bold
29142 floatf\SpecialChar \textcompwordmark{}
29143 lt
29144 \series default
29145
29146 \begin_inset LatexCommand index
29147 name "LaTeX-packages ! floatflt"
29148
29149 \end_inset
29150
29151
29152 \end_layout
29153
29154 \begin_layout Bibliography
29155 \begin_inset LatexCommand bibitem
29156 key "footmisc"
29157
29158 \end_inset
29159
29160
29161 \begin_inset ERT
29162 status collapsed
29163
29164 \begin_layout Standard
29165
29166
29167 \backslash
29168 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29169 {
29170 \end_layout
29171
29172 \end_inset
29173
29174 Documentation
29175 \begin_inset ERT
29176 status collapsed
29177
29178 \begin_layout Standard
29179
29180 }
29181 \end_layout
29182
29183 \end_inset
29184
29185  of the LaTeX-package 
29186 \series bold
29187 footmisc
29188 \series default
29189
29190 \begin_inset LatexCommand index
29191 name "LaTeX-packages ! footmisc"
29192
29193 \end_inset
29194
29195
29196 \end_layout
29197
29198 \begin_layout Bibliography
29199 \begin_inset LatexCommand bibitem
29200 key "hypcap"
29201
29202 \end_inset
29203
29204
29205 \begin_inset ERT
29206 status collapsed
29207
29208 \begin_layout Standard
29209
29210
29211 \backslash
29212 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29213 \end_layout
29214
29215 \end_inset
29216
29217 Documentation
29218 \begin_inset ERT
29219 status collapsed
29220
29221 \begin_layout Standard
29222
29223 }
29224 \end_layout
29225
29226 \end_inset
29227
29228  of the LaTeX-package 
29229 \series bold
29230 hypcap
29231 \series default
29232
29233 \begin_inset LatexCommand index
29234 name "LaTeX-packages ! hyperref"
29235
29236 \end_inset
29237
29238
29239 \end_layout
29240
29241 \begin_layout Bibliography
29242 \begin_inset LatexCommand bibitem
29243 key "hyperref"
29244
29245 \end_inset
29246
29247
29248 \begin_inset ERT
29249 status collapsed
29250
29251 \begin_layout Standard
29252
29253
29254 \backslash
29255 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29256 {
29257 \end_layout
29258
29259 \end_inset
29260
29261 Documentation
29262 \begin_inset ERT
29263 status collapsed
29264
29265 \begin_layout Standard
29266
29267 }
29268 \end_layout
29269
29270 \end_inset
29271
29272  of the LaTeX-package 
29273 \series bold
29274 hyperref
29275 \series default
29276
29277 \begin_inset LatexCommand index
29278 name "LaTeX-packages ! hyperref"
29279
29280 \end_inset
29281
29282
29283 \end_layout
29284
29285 \begin_layout Bibliography
29286 \begin_inset LatexCommand bibitem
29287 key "koma-script"
29288
29289 \end_inset
29290
29291
29292 \begin_inset ERT
29293 status collapsed
29294
29295 \begin_layout Standard
29296
29297
29298 \backslash
29299 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29300 df}{
29301 \end_layout
29302
29303 \end_inset
29304
29305 Documentation
29306 \begin_inset ERT
29307 status collapsed
29308
29309 \begin_layout Standard
29310
29311 }
29312 \end_layout
29313
29314 \end_inset
29315
29316  of the LaTeX-package 
29317 \series bold
29318 koma-script
29319 \series default
29320
29321 \begin_inset LatexCommand index
29322 name "LaTeX-packages ! koma-script"
29323
29324 \end_inset
29325
29326
29327 \end_layout
29328
29329 \begin_layout Bibliography
29330 \begin_inset LatexCommand bibitem
29331 key "koma-script-de"
29332
29333 \end_inset
29334
29335 German 
29336 \begin_inset ERT
29337 status collapsed
29338
29339 \begin_layout Standard
29340
29341
29342 \backslash
29343 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29344 df}{
29345 \end_layout
29346
29347 \end_inset
29348
29349 documentation
29350 \begin_inset ERT
29351 status collapsed
29352
29353 \begin_layout Standard
29354
29355 }
29356 \end_layout
29357
29358 \end_inset
29359
29360  of the LaTeX-package 
29361 \series bold
29362 koma-script
29363 \series default
29364
29365 \begin_inset LatexCommand index
29366 name "LaTeX-packages ! koma-script"
29367
29368 \end_inset
29369
29370
29371 \end_layout
29372
29373 \begin_layout Bibliography
29374 \begin_inset LatexCommand bibitem
29375 key "marginnote"
29376
29377 \end_inset
29378
29379
29380 \begin_inset ERT
29381 status collapsed
29382
29383 \begin_layout Standard
29384
29385
29386 \backslash
29387 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29388 pdf}{
29389 \end_layout
29390
29391 \end_inset
29392
29393 Documentation
29394 \begin_inset ERT
29395 status collapsed
29396
29397 \begin_layout Standard
29398
29399 }
29400 \end_layout
29401
29402 \end_inset
29403
29404  of the LaTeX-package 
29405 \series bold
29406 marginnote
29407 \series default
29408
29409 \begin_inset LatexCommand index
29410 name "LaTeX-packages ! marginnote"
29411
29412 \end_inset
29413
29414
29415 \end_layout
29416
29417 \begin_layout Bibliography
29418 \begin_inset LatexCommand bibitem
29419 key "pstricks"
29420
29421 \end_inset
29422
29423
29424 \begin_inset ERT
29425 status collapsed
29426
29427 \begin_layout Standard
29428
29429
29430 \backslash
29431 href{http://tug.org/PSTricks/main.cgi/}{
29432 \end_layout
29433
29434 \end_inset
29435
29436 Web page
29437 \begin_inset ERT
29438 status collapsed
29439
29440 \begin_layout Standard
29441
29442 }
29443 \end_layout
29444
29445 \end_inset
29446
29447  of the LaTeX-package 
29448 \series bold
29449 PSTricks
29450 \series default
29451
29452 \begin_inset LatexCommand index
29453 name "LaTeX-packages ! PSTricks"
29454
29455 \end_inset
29456
29457
29458 \end_layout
29459
29460 \begin_layout Bibliography
29461 \begin_inset LatexCommand bibitem
29462 key "sidecap"
29463
29464 \end_inset
29465
29466
29467 \begin_inset ERT
29468 status collapsed
29469
29470 \begin_layout Standard
29471
29472
29473 \backslash
29474 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
29475 \end_layout
29476
29477 \end_inset
29478
29479 Documentation
29480 \begin_inset ERT
29481 status collapsed
29482
29483 \begin_layout Standard
29484
29485 }
29486 \end_layout
29487
29488 \end_inset
29489
29490  of the LaTeX-package 
29491 \series bold
29492 sidecap
29493 \series default
29494
29495 \begin_inset LatexCommand index
29496 name "LaTeX-packages ! sidecap"
29497
29498 \end_inset
29499
29500
29501 \end_layout
29502
29503 \begin_layout Bibliography
29504 \begin_inset LatexCommand bibitem
29505 key "NewInLyX15"
29506
29507 \end_inset
29508
29509
29510 \begin_inset ERT
29511 status collapsed
29512
29513 \begin_layout Standard
29514
29515
29516 \backslash
29517 href{http://wiki.lyx.org/LyX/NewInLyX15}{
29518 \end_layout
29519
29520 \end_inset
29521
29522 Wiki page
29523 \begin_inset ERT
29524 status collapsed
29525
29526 \begin_layout Standard
29527
29528 }
29529 \end_layout
29530
29531 \end_inset
29532
29533  about new LyX-features planned for the release 
29534 \family sans
29535 LyX 1.5
29536 \family default
29537 .
29538 \end_layout
29539
29540 \begin_layout Standard
29541 \begin_inset LatexCommand printindex
29542
29543 \end_inset
29544
29545
29546 \end_layout
29547
29548 \begin_layout Standard
29549 \begin_inset FloatList figure
29550
29551 \end_inset
29552
29553
29554 \end_layout
29555
29556 \begin_layout Standard
29557 \begin_inset FloatList table
29558
29559 \end_inset
29560
29561
29562 \end_layout
29563
29564 \end_body
29565 \end_document