]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
EmbeddedObjects.lyx: tiny fix
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 276
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 \@ifundefined{extrarowheight}
111  {\usepackage{array}}{}
112 \setlength{\extrarowheight}{2pt}
113
114 % used for customized tables
115 % ---
116 \newcolumntype{M}[1]
117  {>{\centering\hspace{0pt}}m{#1}}
118
119 \newcolumntype{S}[2]
120  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
121
122 \newcolumntype{K}[1]
123  {>{\columncolor{#1}\hspace{0pt}}c}
124
125 \newcolumntype{V}{!{\vrule width 1.5pt}}
126
127 \newcolumntype{W}{!{\color{green}\vline}}
128 % ---
129
130 % insert additional vertical space of
131 % 1.5 mm between footnotes
132 \let\myFoot\footnote
133 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
134
135 % enable algorithm floats to be referenced
136 \newfloat{Xalgorithm}{tbp}{loa}
137 \floatname{Xalgorithm}{Algorithm}
138 \newcommand{\theHalgorithm}{\theHXalgorithm}
139 \renewenvironment{algorithm}[1][tbp]
140  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
141
142 % number algorithm floats within chapters
143 \numberwithin{Xalgorithm}{chapter}
144
145 % redefine the greyed out note
146 \renewenvironment{lyxgreyedout}
147  {\textcolor{blue}\bgroup}{\egroup}
148
149 % ------------------------------------
150 % used to check for needed LaTeX packages
151 \usepackage{ifthen}
152
153 % check for package arydshln
154 % used for tables with dashed lines
155 \newboolean{arydshln}
156 \IfFileExists{arydshln.sty}
157  {\usepackage{arydshln}
158   \setboolean{arydshln}{true}}
159  {\setboolean{arydshln}{false}}
160
161 % check for package marginnote
162 % used for margin notes
163 \newboolean{marginnote}
164 \IfFileExists{marginnote.sty}
165  {\usepackage{marginnote}
166   \let\marginpar\marginnote
167   \setboolean{marginnote}{true}}
168  {\setboolean{marginnote}{false}}
169 \end_preamble
170 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
171 \language english
172 \inputencoding auto
173 \font_roman default
174 \font_sans default
175 \font_typewriter default
176 \font_default_family default
177 \font_sc false
178 \font_osf false
179 \font_sf_scale 100
180 \font_tt_scale 100
181 \graphics default
182 \paperfontsize 12
183 \spacing single
184 \papersize default
185 \use_geometry false
186 \use_amsmath 2
187 \use_esint 0
188 \cite_engine basic
189 \use_bibtopic false
190 \paperorientation portrait
191 \secnumdepth 3
192 \tocdepth 3
193 \paragraph_separation skip
194 \defskip medskip
195 \quotes_language english
196 \papercolumns 1
197 \papersides 2
198 \paperpagestyle default
199 \bullet 1 1 34 -1
200 \bullet 2 2 35 -1
201 \bullet 3 2 7 -1
202 \tracking_changes false
203 \output_changes false
204 \author "Anonymous" 
205 \author "usti" 
206 \author "Bo Peng" 
207 \author "muso" 
208 \author "Uwe Stöhr" 
209 \end_header
210
211 \begin_body
212
213 \begin_layout Title
214 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
215  manual
216 \end_layout
217
218 \begin_layout Author
219 by the LyX Team
220 \begin_inset Foot
221 status collapsed
222
223 \begin_layout Standard
224 \noindent
225 If you have comments or error corrections, please send them to the LyX Documenta
226 tion mailing list: 
227 \family typewriter
228
229 \begin_inset ERT
230 status open
231
232 \begin_layout Standard
233
234
235 \backslash
236 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
237 \end_layout
238
239 \end_inset
240
241 lyx-docs@lists.lyx.org
242 \begin_inset ERT
243 status collapsed
244
245 \begin_layout Standard
246
247 }
248 \end_layout
249
250 \end_inset
251
252
253 \end_layout
254
255 \end_inset
256
257
258 \begin_inset Note Note
259 status collapsed
260
261 \begin_layout Standard
262 original author: Uwe Stöhr
263 \end_layout
264
265 \end_inset
266
267
268 \newline
269
270 \newline
271
272 \family sans
273 Version 1.5.0-
274 \family default
275 1
276 \end_layout
277
278 \begin_layout Standard
279 \begin_inset LatexCommand tableofcontents
280
281 \end_inset
282
283
284 \end_layout
285
286 \begin_layout Standard
287 \begin_inset Note Note
288 status open
289
290 \begin_layout Standard
291 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
292  
293 \series bold
294 arydshln
295 \series default
296  and 
297 \series bold
298 marginnote
299 \series default
300  must be installed.
301  If they are not installed you can export the document anyway but the sections
302  where the packages are required won't appear in the output.
303 \end_layout
304
305 \begin_layout Standard
306 The latest PDF-version of this document can be found here:
307 \newline
308
309 \series bold
310 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
311 \end_layout
312
313 \end_inset
314
315
316 \end_layout
317
318 \begin_layout Chapter
319 Figures
320 \begin_inset LatexCommand label
321 name "cha:Figures"
322
323 \end_inset
324
325
326 \begin_inset LatexCommand index
327 name "Figures"
328
329 \end_inset
330
331
332 \begin_inset LatexCommand index
333 name "Graphics|see{Figures}"
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Section
341 Graphics Dialog
342 \begin_inset LatexCommand index
343 name "Figures ! Graphics Dialog"
344
345 \end_inset
346
347
348 \begin_inset LatexCommand label
349 name "sec:Graphics-Dialog"
350
351 \end_inset
352
353
354 \end_layout
355
356 \begin_layout Standard
357 To insert an image into your document, place the cursor at the text position
358  you want and click on the toolbar icon 
359 \begin_inset Graphics
360         filename ../images/dialog-show-new-inset_graphics.xpm
361         scale 85
362         scaleBeforeRotation
363
364 \end_inset
365
366  or use the menu 
367 \family sans
368 Insert\SpecialChar \menuseparator
369 Graphics
370 \family default
371 .
372  Then a dialog will appear to choose the file to load.
373  The image will appear in the output exactly at the position where it is
374  in the text.
375 \end_layout
376
377 \begin_layout Standard
378 The graphics dialog can be called at any time by right-clicking on an image.
379  This dialog has three tabs:
380 \end_layout
381
382 \begin_layout Description
383
384 \family sans
385 Graphics
386 \family default
387  Here you can choose an image file and adjust its appearance in the output.
388  The available units for the image size are explained in appendix\InsetSpace ~
389
390 \begin_inset LatexCommand ref
391 reference "cha:Units-available-in"
392
393 \end_inset
394
395 .
396 \newline
397 You can rotate images counter-clockwise by setting a rotation angle and
398  a rotation origin.
399  The image will also be rotated inside LyX.
400 \newline
401 Images can be scaled by using
402  a percentage value or by setting the width and height explicitly.
403  If you set only the width or only the height, the other size will be determined
404  automatically.
405  If you set both, then the image will be transformed to the given size,
406  possibly distorting it.
407  To prevent the image from distortion, use the option 
408 \family sans
409 Maintain aspect ratio
410 \family default
411 .
412  The image will then be scaled so that its width and height don't exceed
413  the specified dimensions.
414 \newline
415 Images can be opened in a program of your choice
416  when pressing the 
417 \family sans
418 Edit
419 \family default
420  button.
421  The program can be set for every image format in the file format settings
422  in LyX's preferences.
423 \end_layout
424
425 \begin_layout Description
426
427 \family sans
428 Clipping
429 \family default
430  Alternatively to the usage of scaling units it is possible to set image
431  coordinates to adjust the height and width of the image in the output.
432  The coordinates can also be calculated automatically by pressing the button
433  
434 \family sans
435 Get\InsetSpace ~
436 from\InsetSpace ~
437 File
438 \family default
439 .
440  The option 
441 \family sans
442 Clip\InsetSpace ~
443 to\InsetSpace ~
444 bounding\InsetSpace ~
445 box
446 \family default
447  will only print the image region within the given coordinates.
448  Normally you don't need to take care about image coordinates and can ignore
449  this tab.
450 \end_layout
451
452 \begin_layout Description
453
454 \family sans
455 Extra\InsetSpace ~
456 options
457 \family default
458  In this tab you can modify the appearance of the image within LyX and set
459  the image to be a subfigure of a figure float with an own caption.
460  Subfigures are explained in section\InsetSpace ~
461
462 \begin_inset LatexCommand ref
463 reference "sec:Figure-Floats"
464
465 \end_inset
466
467 .
468 \newline
469  LaTeX experts can also specify on this tab additional LaTeX options.
470 \newline
471  The
472  option 
473 \family sans
474 Draft\InsetSpace ~
475 mode
476 \family default
477  makes the image appear in the output only as a frame with the size of the
478  image.
479 \newline
480 The 
481 \family sans
482 Don't\InsetSpace ~
483 unzip\InsetSpace ~
484 on\InsetSpace ~
485 export
486 \family default
487  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
488 g.\InsetSpace ~
489
490 \emph on
491 x.eps.gz
492 \emph default
493 .
494  When the option is used the images will not be unzipped on export, since
495  LaTeX can handle them as they are.
496 \newline
497 Zipped EPS-graphics are useful to save
498  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
499
500 \begin_inset LatexCommand ref
501 reference "sec:PostScript"
502
503 \end_inset
504
505 .
506  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
507  console:
508 \newline
509
510 \series bold
511 gzip x.eps
512 \series default
513
514 \newline
515
516 \series bold
517 zgrep %%Bounding x.eps.gz > x.eps.bb
518 \series default
519
520 \newline
521 The second command creates the bounding box file 
522 \begin_inset Quotes eld
523 \end_inset
524
525 x.eps.bb
526 \begin_inset Quotes erd
527 \end_inset
528
529  that is needed by LaTeX for zipped graphics.
530 \end_layout
531
532 \begin_layout Standard
533 \begin_inset VSpace bigskip
534 \end_inset
535
536
537 \end_layout
538
539 \begin_layout Standard
540 This is an example image in EPS format
541 \begin_inset Foot
542 status collapsed
543
544 \begin_layout Standard
545 Image formats are explained in section\InsetSpace ~
546
547 \begin_inset LatexCommand ref
548 reference "sec:Image-Formats"
549
550 \end_inset
551
552 .
553 \end_layout
554
555 \end_inset
556
557  within a separate, horizontally centered paragraph:
558 \end_layout
559
560 \begin_layout Standard
561 \align center
562 \begin_inset Graphics
563         filename clipart/mobius.eps
564         display color
565         scale 70
566         scaleBeforeRotation
567         rotateOrigin center
568
569 \end_inset
570
571
572 \end_layout
573
574 \begin_layout Standard
575 This is the same image like the one above but in draft mode:
576 \end_layout
577
578 \begin_layout Standard
579 \align center
580 \begin_inset Graphics
581         filename clipart/mobius.eps
582         display color
583         scale 70
584         draft
585         scaleBeforeRotation
586         rotateOrigin center
587
588 \end_inset
589
590
591 \end_layout
592
593 \begin_layout Section
594 Figure Floats
595 \begin_inset LatexCommand label
596 name "sec:Figure-Floats"
597
598 \end_inset
599
600
601 \begin_inset LatexCommand index
602 name "Floats ! Figures"
603
604 \end_inset
605
606
607 \begin_inset LatexCommand index
608 name "Figures ! Floats"
609
610 \end_inset
611
612
613 \end_layout
614
615 \begin_layout Standard
616 For general explanations about floats, have a look at section\InsetSpace ~
617
618 \begin_inset LatexCommand ref
619 reference "sec:FloatIntroduction"
620
621 \end_inset
622
623 .
624 \end_layout
625
626 \begin_layout Standard
627 The toolbar button 
628 \begin_inset Graphics
629         filename ../images/float-insert_figure.xpm
630         scale 85
631         scaleBeforeRotation
632
633 \end_inset
634
635  and the menu 
636 \family sans
637 Insert\SpecialChar \menuseparator
638 Float\SpecialChar \menuseparator
639 Figure
640 \family default
641  inserts a float with a caption that has the label 
642 \begin_inset Quotes eld
643 \end_inset
644
645 Figure\InsetSpace ~
646 #:
647 \begin_inset Quotes erd
648 \end_inset
649
650  (# is the actual number).
651  You can insert the image above the caption, like in Figure\InsetSpace ~
652
653 \begin_inset LatexCommand ref
654 reference "fig:kill-plat"
655
656 \end_inset
657
658  or below the caption, like in Figure\InsetSpace ~
659
660 \begin_inset LatexCommand ref
661 reference "fig:escher"
662
663 \end_inset
664
665 .
666  More about the caption placement is described in section\InsetSpace ~
667
668 \begin_inset LatexCommand ref
669 reference "sec:Caption-Placement"
670
671 \end_inset
672
673 .
674 \end_layout
675
676 \begin_layout Standard
677 \begin_inset Float figure
678 wide false
679 sideways false
680 status open
681
682 \begin_layout Standard
683 \align center
684 \begin_inset Graphics
685         filename clipart/platypus.eps
686         display color
687         width 50col%
688         scaleBeforeRotation
689         rotateOrigin center
690
691 \end_inset
692
693
694 \end_layout
695
696 \begin_layout Standard
697 \begin_inset Caption
698
699 \begin_layout Standard
700 \begin_inset LatexCommand label
701 name "fig:kill-plat"
702
703 \end_inset
704
705 A severely distorted platypus in a float.
706 \end_layout
707
708 \end_inset
709
710
711 \end_layout
712
713 \end_inset
714
715
716 \end_layout
717
718 \begin_layout Standard
719 \begin_inset Float figure
720 wide false
721 sideways false
722 status open
723
724 \begin_layout Standard
725 \begin_inset Caption
726
727 \begin_layout Standard
728 \begin_inset LatexCommand label
729 name "fig:escher"
730
731 \end_inset
732
733 M.C.
734  Escher on acid.
735 \end_layout
736
737 \end_inset
738
739
740 \end_layout
741
742 \begin_layout Standard
743 \align center
744 \begin_inset Graphics
745         filename clipart/escher-lsd.eps
746         display color
747         scale 80
748         scaleBeforeRotation
749         rotateOrigin center
750
751 \end_inset
752
753
754 \end_layout
755
756 \end_inset
757
758
759 \end_layout
760
761 \begin_layout Standard
762 \begin_inset LatexCommand index
763 name "References ! to Figures"
764
765 \end_inset
766
767 Figure\InsetSpace ~
768
769 \begin_inset LatexCommand ref
770 reference "fig:kill-plat"
771
772 \end_inset
773
774  and 
775 \begin_inset LatexCommand ref
776 reference "fig:escher"
777
778 \end_inset
779
780  are examples of referenced figures.
781  Figures can be referenced in the text by referencing their label.
782  To do this insert a label in the caption using the menu 
783 \family sans
784 Insert\SpecialChar \menuseparator
785 Label
786 \family default
787  or the toolbar button 
788 \begin_inset Graphics
789         filename ../images/label-insert.xpm
790         scale 85
791         scaleBeforeRotation
792
793 \end_inset
794
795 .
796  You can now refer to the label using the menu 
797 \family sans
798 Insert\SpecialChar \menuseparator
799 Cross\InsetSpace ~
800 reference
801 \family default
802  or the toolbar button 
803 \begin_inset Graphics
804         filename ../images/dialog-show-new-inset_ref.xpm
805         scale 85
806         scaleBeforeRotation
807
808 \end_inset
809
810 .
811  It is important to use references to floats, rather than using vague references
812  like 
813 \begin_inset Quotes eld
814 \end_inset
815
816 the figure above
817 \begin_inset Quotes erd
818 \end_inset
819
820 , because as LaTeX will reposition the floats in the final document, it
821  might not be 
822 \begin_inset Quotes eld
823 \end_inset
824
825 above
826 \begin_inset Quotes erd
827 \end_inset
828
829  at all.
830 \newline
831 Referencing is explained in detail in section\InsetSpace ~
832
833 \begin_inset LatexCommand ref
834 reference "sec:Referencing-Floats"
835
836 \end_inset
837
838 .
839 \end_layout
840
841 \begin_layout Standard
842 Normally only one image is inserted to a figure float, but sometimes you
843  might want to use two images with separate subcaptions.
844  This can be set in the tab 
845 \family sans
846 Extra\InsetSpace ~
847 options
848 \family default
849  of the graphics dialog.
850  Choose there the option 
851 \family sans
852 Subfigure
853 \family default
854  and enter the subcaption for the image in the caption field.
855  Note that only the main caption of the float is added to the List of Figures.
856 \newline
857 Ref
858 erencing subfigures is explained in section\InsetSpace ~
859
860 \begin_inset LatexCommand ref
861 reference "sub:Referencing-Subfigures"
862
863 \end_inset
864
865 .
866 \end_layout
867
868 \begin_layout Standard
869 Figure\InsetSpace ~
870
871 \begin_inset LatexCommand ref
872 reference "fig:Two-distorted-images"
873
874 \end_inset
875
876  is an example of a figure float with two images set side by side.
877  You can also set the images one below the other.
878 \end_layout
879
880 \begin_layout Standard
881 \begin_inset Float figure
882 wide false
883 sideways false
884 status open
885
886 \begin_layout Standard
887
888 \hfill
889
890 \begin_inset Graphics
891         filename clipart/escher-lsd.eps
892         width 45col%
893         scaleBeforeRotation
894         subcaption
895         subcaptionText "Undefinable structure"
896
897 \end_inset
898
899
900 \hfill
901
902 \begin_inset Graphics
903         filename clipart/platypus.eps
904         lyxscale 60
905         width 45col%
906         scaleBeforeRotation
907         subcaption
908         subcaptionText "\label{fig:Platypus} Platypus"
909
910 \end_inset
911
912
913 \hfill
914
915 \end_layout
916
917 \begin_layout Standard
918 \begin_inset Caption
919
920 \begin_layout Standard
921 \begin_inset LatexCommand label
922 name "fig:Two-distorted-images"
923
924 \end_inset
925
926 Two distorted images.
927 \end_layout
928
929 \end_inset
930
931
932 \end_layout
933
934 \end_inset
935
936
937 \end_layout
938
939 \begin_layout Section
940 Image Formats
941 \begin_inset LatexCommand label
942 name "sec:Image-Formats"
943
944 \end_inset
945
946
947 \begin_inset LatexCommand index
948 name "Image Formats"
949
950 \end_inset
951
952
953 \begin_inset LatexCommand index
954 name "Figures ! Image Formats"
955
956 \end_inset
957
958
959 \end_layout
960
961 \begin_layout Standard
962 You can insert images in any known file format.
963  But as explained in appendix\InsetSpace ~
964
965 \begin_inset LatexCommand ref
966 reference "cha:Output-File-Formats"
967
968 \end_inset
969
970 , every output document format allows only a few image formats.
971  LyX uses therefore the program 
972 \family typewriter
973 Imagemagick
974 \family default
975  in the background to convert the images to the right format.
976  To increase your work flow by avoiding these conversions in the background,
977  you can use only the image formats that can directly be embedded in the
978  output file format.
979  The output file formats are explained in appendix\InsetSpace ~
980
981 \begin_inset LatexCommand ref
982 reference "cha:Output-File-Formats"
983
984 \end_inset
985
986 .
987 \end_layout
988
989 \begin_layout Standard
990 Similar to fonts there are two types of image formats:
991 \end_layout
992
993 \begin_layout Description
994 Bitmap\InsetSpace ~
995 images consist of pixel values, often in a compressed form.
996  They are therefore not fully scalable and look pixeled in large zooms.
997  Well-known bitmap image formats are 
998 \begin_inset Quotes eld
999 \end_inset
1000
1001 Graphics Interchange Format
1002 \begin_inset Quotes erd
1003 \end_inset
1004
1005  (GIF, file extension 
1006 \begin_inset Quotes eld
1007 \end_inset
1008
1009
1010 \family typewriter
1011 .gif
1012 \family default
1013
1014 \begin_inset Quotes erd
1015 \end_inset
1016
1017 )
1018 \begin_inset LatexCommand index
1019 name "GIF|see{Image formats}"
1020
1021 \end_inset
1022
1023
1024 \begin_inset Quotes eld
1025 \end_inset
1026
1027 Portable Network Graphics
1028 \begin_inset Quotes erd
1029 \end_inset
1030
1031  (PNG, file extension 
1032 \begin_inset Quotes eld
1033 \end_inset
1034
1035
1036 \family typewriter
1037 .png
1038 \family default
1039
1040 \begin_inset Quotes erd
1041 \end_inset
1042
1043 )
1044 \begin_inset LatexCommand index
1045 name "PNG|see{Image formats}"
1046
1047 \end_inset
1048
1049 , and 
1050 \begin_inset Quotes eld
1051 \end_inset
1052
1053 Joint Photographic Experts Group
1054 \begin_inset Quotes erd
1055 \end_inset
1056
1057  (JPG, file extension 
1058 \begin_inset Quotes eld
1059 \end_inset
1060
1061
1062 \family typewriter
1063 .jpg
1064 \family default
1065
1066 \begin_inset Quotes erd
1067 \end_inset
1068
1069  or 
1070 \begin_inset Quotes eld
1071 \end_inset
1072
1073
1074 \family typewriter
1075 .jpeg
1076 \family default
1077
1078 \begin_inset Quotes erd
1079 \end_inset
1080
1081 )
1082 \begin_inset LatexCommand index
1083 name "JPG|see{Image formats}"
1084
1085 \end_inset
1086
1087 .
1088 \end_layout
1089
1090 \begin_layout Description
1091 Vector\InsetSpace ~
1092 images consist of vectors and can therefore be scaled to any size
1093  without data loss.
1094  The scaling ability is necessary if you want to create presentations, because
1095  presentations are always scaled by the video projector.
1096  Scaling is also useful for online documents to let the user zoom into diagrams.
1097 \newline
1098 W
1099 ell-known scalable image formats are 
1100 \begin_inset Quotes eld
1101 \end_inset
1102
1103 Scalable Vector Graphics
1104 \begin_inset Quotes erd
1105 \end_inset
1106
1107  (SVG, file extension 
1108 \begin_inset Quotes eld
1109 \end_inset
1110
1111
1112 \family typewriter
1113 .svg
1114 \family default
1115
1116 \begin_inset Quotes erd
1117 \end_inset
1118
1119 )
1120 \begin_inset LatexCommand index
1121 name "SVG|see{Image formats}"
1122
1123 \end_inset
1124
1125
1126 \begin_inset Quotes eld
1127 \end_inset
1128
1129 Encapsulated PostScript
1130 \begin_inset Quotes erd
1131 \end_inset
1132
1133  (EPS, file extension 
1134 \begin_inset Quotes eld
1135 \end_inset
1136
1137
1138 \family typewriter
1139 .eps
1140 \family default
1141
1142 \begin_inset Quotes erd
1143 \end_inset
1144
1145 )
1146 \begin_inset LatexCommand index
1147 name "EPS|see{Image formats}"
1148
1149 \end_inset
1150
1151
1152 \begin_inset Quotes eld
1153 \end_inset
1154
1155 Portable Document Format
1156 \begin_inset Quotes erd
1157 \end_inset
1158
1159  (PDF, file extension 
1160 \begin_inset Quotes eld
1161 \end_inset
1162
1163
1164 \family typewriter
1165 .pdf
1166 \family default
1167
1168 \begin_inset Quotes erd
1169 \end_inset
1170
1171 )
1172 \begin_inset LatexCommand index
1173 name "PDF"
1174
1175 \end_inset
1176
1177 , and 
1178 \begin_inset Quotes eld
1179 \end_inset
1180
1181 Windows Metafile
1182 \begin_inset Quotes erd
1183 \end_inset
1184
1185  (WMF, file extension 
1186 \begin_inset Quotes eld
1187 \end_inset
1188
1189
1190 \family typewriter
1191 .wmf
1192 \family default
1193
1194 \begin_inset Quotes erd
1195 \end_inset
1196
1197 )
1198 \begin_inset LatexCommand index
1199 name "SVG|see{Image formats}"
1200
1201 \end_inset
1202
1203 .
1204  We wrote 
1205 \begin_inset Quotes eld
1206 \end_inset
1207
1208 can be
1209 \begin_inset Quotes erd
1210 \end_inset
1211
1212 , because you can convert any bitmap image to a PDF or EPS-image and the
1213  result will still be a bitmap image.
1214  In this cases only a header with the image properties is added to the original
1215  image
1216 \begin_inset Foot
1217 status open
1218
1219 \begin_layout Standard
1220 In the case of PDF, the original image is additionally compressed.
1221 \end_layout
1222
1223 \end_inset
1224
1225 .
1226  The PDF-files generated by 
1227 \family typewriter
1228 Adobe Photoshop
1229 \family default
1230  are for example bitmap images.
1231 \end_layout
1232
1233 \begin_layout Standard
1234 Normally it is not possible to convert a bitmap image into a scalable one,
1235  only vice versa.
1236  Only the image formats PDF and EPS can directly be embedded to PDF and
1237  PostScript output files, respectively.
1238  SVG and WMF-images are recalculated to bitmaps when the output file is
1239  generated because there is currently no adequate WMF/SVG
1240 \begin_inset Formula $\to$
1241 \end_inset
1242
1243 PDF/EPS converter available.
1244 \end_layout
1245
1246 \begin_layout Chapter
1247 Tables
1248 \begin_inset LatexCommand label
1249 name "cha:Tables"
1250
1251 \end_inset
1252
1253
1254 \begin_inset LatexCommand index
1255 name "Table"
1256
1257 \end_inset
1258
1259
1260 \end_layout
1261
1262 \begin_layout Section
1263 Introduction
1264 \begin_inset LatexCommand index
1265 name "Table ! Introduction"
1266
1267 \end_inset
1268
1269
1270 \end_layout
1271
1272 \begin_layout Standard
1273 You can insert a table using either the toolbar button 
1274 \begin_inset Graphics
1275         filename ../images/tabular-insert.xpm
1276         scale 85
1277         scaleBeforeRotation
1278
1279 \end_inset
1280
1281  or the menu 
1282 \family sans
1283 Insert\SpecialChar \menuseparator
1284 Table
1285 \family default
1286 .
1287  The toolbar button offers you a graphical selection: Move the mouse to
1288  set the column/row number of the table that should be created and then
1289  press a mouse button.
1290  When you use the menu to create a table, a dialog will appear, asking you
1291  for the number of rows and columns.
1292 \newline
1293  The default table has lines around any
1294  cell and the first row appears separated from the rest of the table.
1295  This separation occurs due to a double line: The cells of the first row
1296  have a line below them and the cells of the second row have a line above
1297  them.
1298  Here is an example table:
1299 \end_layout
1300
1301 \begin_layout Standard
1302 \align center
1303 \begin_inset Tabular
1304 <lyxtabular version="3" rows="4" columns="4">
1305 <features>
1306 <column alignment="center" valignment="top" leftline="true" width="0">
1307 <column alignment="center" valignment="top" leftline="true" width="0">
1308 <column alignment="center" valignment="top" leftline="true" width="0">
1309 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1310 <row topline="true" bottomline="true">
1311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1312 \begin_inset Text
1313
1314 \begin_layout Standard
1315
1316 \end_layout
1317
1318 \end_inset
1319 </cell>
1320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1321 \begin_inset Text
1322
1323 \begin_layout Standard
1324
1325 \family roman
1326 \series medium
1327 \shape up
1328 \size normal
1329 \emph off
1330 \bar no
1331 \noun off
1332 \color none
1333 1
1334 \end_layout
1335
1336 \end_inset
1337 </cell>
1338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1339 \begin_inset Text
1340
1341 \begin_layout Standard
1342 2
1343 \end_layout
1344
1345 \end_inset
1346 </cell>
1347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1348 \begin_inset Text
1349
1350 \begin_layout Standard
1351 3
1352 \end_layout
1353
1354 \end_inset
1355 </cell>
1356 </row>
1357 <row topline="true">
1358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1359 \begin_inset Text
1360
1361 \begin_layout Standard
1362
1363 \family roman
1364 \series medium
1365 \shape up
1366 \size normal
1367 \emph off
1368 \bar no
1369 \noun off
1370 \color none
1371 A
1372 \end_layout
1373
1374 \end_inset
1375 </cell>
1376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1377 \begin_inset Text
1378
1379 \begin_layout Standard
1380
1381 \end_layout
1382
1383 \end_inset
1384 </cell>
1385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1386 \begin_inset Text
1387
1388 \begin_layout Standard
1389
1390 \end_layout
1391
1392 \end_inset
1393 </cell>
1394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1395 \begin_inset Text
1396
1397 \begin_layout Standard
1398
1399 \end_layout
1400
1401 \end_inset
1402 </cell>
1403 </row>
1404 <row topline="true">
1405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1406 \begin_inset Text
1407
1408 \begin_layout Standard
1409
1410 \family roman
1411 \series medium
1412 \shape up
1413 \size normal
1414 \emph off
1415 \bar no
1416 \noun off
1417 \color none
1418 B
1419 \end_layout
1420
1421 \end_inset
1422 </cell>
1423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1424 \begin_inset Text
1425
1426 \begin_layout Standard
1427
1428 \end_layout
1429
1430 \end_inset
1431 </cell>
1432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1433 \begin_inset Text
1434
1435 \begin_layout Standard
1436
1437 \end_layout
1438
1439 \end_inset
1440 </cell>
1441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1442 \begin_inset Text
1443
1444 \begin_layout Standard
1445
1446 \end_layout
1447
1448 \end_inset
1449 </cell>
1450 </row>
1451 <row topline="true" bottomline="true">
1452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1453 \begin_inset Text
1454
1455 \begin_layout Standard
1456
1457 \family roman
1458 \series medium
1459 \shape up
1460 \size normal
1461 \emph off
1462 \bar no
1463 \noun off
1464 \color none
1465 C
1466 \end_layout
1467
1468 \end_inset
1469 </cell>
1470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1471 \begin_inset Text
1472
1473 \begin_layout Standard
1474
1475 \end_layout
1476
1477 \end_inset
1478 </cell>
1479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1480 \begin_inset Text
1481
1482 \begin_layout Standard
1483
1484 \end_layout
1485
1486 \end_inset
1487 </cell>
1488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1489 \begin_inset Text
1490
1491 \begin_layout Standard
1492
1493 \end_layout
1494
1495 \end_inset
1496 </cell>
1497 </row>
1498 </lyxtabular>
1499
1500 \end_inset
1501
1502
1503 \end_layout
1504
1505 \begin_layout Section
1506 Table Dialog
1507 \begin_inset LatexCommand index
1508 name "Table ! Dialog"
1509
1510 \end_inset
1511
1512
1513 \end_layout
1514
1515 \begin_layout Standard
1516 You can alter a table by clicking on it with the right mouse button, which
1517  brings up the table dialog.
1518  Here you can adjust the settings of that cell and row/column respectively
1519  where the cursor is currently placed.
1520  Most of the dialog options also work on selections.
1521  This means if you select more cells, columns or rows, the action is done
1522  for the whole selection.
1523  Note that there is a difference between selecting the 
1524 \emph on
1525 contents
1526 \emph default
1527  of the cell, and the cell itself.
1528  You can alter tables with the following tabs of the table dialog:
1529 \end_layout
1530
1531 \begin_layout Description
1532
1533 \family sans
1534 Table\InsetSpace ~
1535 Settings
1536 \family default
1537  Here you can set the horizontal alignment and the width of the current
1538  column.
1539  When you have set a width you can also adjust the vertical alignment of
1540  the current row.
1541  A given width will allow the cell to have line breaks and multiple paragraphs
1542  of text, see section\InsetSpace ~
1543
1544 \begin_inset LatexCommand ref
1545 reference "sub:Multiple-Lines-in"
1546
1547 \end_inset
1548
1549 .
1550  If you set no width, the column is as wide as their widest cell content
1551  is.
1552 \newline
1553 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1554  cell, see section\InsetSpace ~
1555
1556 \begin_inset LatexCommand ref
1557 reference "sub:Multicolumns"
1558
1559 \end_inset
1560
1561 .
1562 \newline
1563 The rotate check boxes rotates the current cell, a selection, or the whole
1564  table counter-clockwise by 90°.
1565  The rotation is not shown within LyX, only in the output.
1566 \newline
1567
1568 \begin_inset Note Greyedout
1569 status open
1570
1571 \begin_layout Standard
1572
1573 \series bold
1574 Note:
1575 \series default
1576  Not all DVI-viewers are able to display rotations.
1577 \end_layout
1578
1579 \end_inset
1580
1581
1582 \newline
1583 It is also possible to enter a LaTeX-argument which is needed for special
1584  table formattings, see section\InsetSpace ~
1585
1586 \begin_inset LatexCommand ref
1587 reference "sub:Multicolumn-Calculations"
1588
1589 \end_inset
1590
1591  and 
1592 \begin_inset LatexCommand ref
1593 reference "sec:Colored-Tables"
1594
1595 \end_inset
1596
1597 .
1598 \end_layout
1599
1600 \begin_layout Description
1601
1602 \family sans
1603 Borders
1604 \family default
1605  In this tab you can add and delete border lines for the current row/column.
1606 \newline
1607 Using
1608  the style option 
1609 \family sans
1610 Formal
1611 \family default
1612  will convert the table to a formal table as described in section\InsetSpace ~
1613
1614 \begin_inset LatexCommand ref
1615 reference "sec:Formal-Tables"
1616
1617 \end_inset
1618
1619 .
1620 \newline
1621 You can also add here space to table rows as decribed in section\InsetSpace ~
1622
1623 \begin_inset LatexCommand ref
1624 reference "sub:Row-Spacing"
1625
1626 \end_inset
1627
1628 .
1629 \end_layout
1630
1631 \begin_layout Description
1632
1633 \family sans
1634 Longtable
1635 \family default
1636  This tab is to make a table a so called 
1637 \begin_inset Quotes eld
1638 \end_inset
1639
1640
1641 \emph on
1642 longtable
1643 \emph default
1644
1645 \begin_inset Quotes erd
1646 \end_inset
1647
1648  that can run over several pages.
1649  Section\InsetSpace ~
1650
1651 \begin_inset LatexCommand ref
1652 reference "sec:Longtables"
1653
1654 \end_inset
1655
1656  and 
1657 \begin_inset LatexCommand ref
1658 reference "sec:Special-Longtable-Issues"
1659
1660 \end_inset
1661
1662  describe the longtable features in detail.
1663 \end_layout
1664
1665 \begin_layout Standard
1666 When the table toolbar is opened, you can move the cursor with the arrow
1667  keys from cell to cell and the property of the current cell will immediately
1668  be displayed in the dialog.
1669 \end_layout
1670
1671 \begin_layout Section
1672 Table Toolbar
1673 \begin_inset LatexCommand index
1674 name "Table ! Toolbar"
1675
1676 \end_inset
1677
1678
1679 \end_layout
1680
1681 \begin_layout Standard
1682 The table toolbar is an alternative to the table dialog to be able to alter
1683  tables faster.
1684  It should normally appear at the bottom of LyX's main window when the cursor
1685  is inside a table.
1686  You can alternatively switch it on to appear always, by right-clicking
1687  in LyX's main menu bar.
1688 \end_layout
1689
1690 \begin_layout Standard
1691 The toolbar has the following icons:
1692 \end_layout
1693
1694 \begin_layout Labeling
1695 \labelwidthstring 00.00.0000
1696 \begin_inset Graphics
1697         filename ../images/tabular-feature_append-row.xpm
1698         scaleBeforeRotation
1699
1700 \end_inset
1701
1702  adds a row below the current cell or selection
1703 \end_layout
1704
1705 \begin_layout Labeling
1706 \labelwidthstring 00.00.0000
1707 \begin_inset Graphics
1708         filename ../images/tabular-feature_append-column.xpm
1709         scaleBeforeRotation
1710
1711 \end_inset
1712
1713  adds a column right beside the current cell or selection
1714 \end_layout
1715
1716 \begin_layout Labeling
1717 \labelwidthstring 00.00.0000
1718 \begin_inset Graphics
1719         filename ../images/tabular-feature_delete-row.xpm
1720         scaleBeforeRotation
1721
1722 \end_inset
1723
1724  deletes the current row or selection
1725 \end_layout
1726
1727 \begin_layout Labeling
1728 \labelwidthstring 00.00.0000
1729 \begin_inset Graphics
1730         filename ../images/tabular-feature_delete-column.xpm
1731         scaleBeforeRotation
1732
1733 \end_inset
1734
1735  deletes the current column or selection
1736 \end_layout
1737
1738 \begin_layout Labeling
1739 \labelwidthstring 00.00.0000
1740 \begin_inset Graphics
1741         filename ../images/tabular-feature_toggle-line-top.xpm
1742         scaleBeforeRotation
1743
1744 \end_inset
1745
1746  adds a line at the top of the current cell / row or of a selection
1747 \end_layout
1748
1749 \begin_layout Labeling
1750 \labelwidthstring 00.00.0000
1751 \begin_inset Graphics
1752         filename ../images/tabular-feature_toggle-line-bottom.xpm
1753         scaleBeforeRotation
1754
1755 \end_inset
1756
1757  adds a line at the bottom of the current cell / row or of a selection
1758 \end_layout
1759
1760 \begin_layout Labeling
1761 \labelwidthstring 00.00.0000
1762 \begin_inset Graphics
1763         filename ../images/tabular-feature_toggle-line-left.xpm
1764         scaleBeforeRotation
1765
1766 \end_inset
1767
1768  adds a line at the left side of the current cell / row or of a selection
1769 \end_layout
1770
1771 \begin_layout Labeling
1772 \labelwidthstring 00.00.0000
1773 \begin_inset Graphics
1774         filename ../images/tabular-feature_toggle-line-right.xpm
1775         scaleBeforeRotation
1776
1777 \end_inset
1778
1779  adds a line at the right side of the current cell / row or of a selection
1780 \end_layout
1781
1782 \begin_layout Labeling
1783 \labelwidthstring 00.00.0000
1784 \begin_inset Graphics
1785         filename ../images/tabular-feature_set-all-lines.xpm
1786         scaleBeforeRotation
1787
1788 \end_inset
1789
1790  adds lines around the current or selected cells - if the current cell no
1791  multicolumn this also affects the current row and column
1792 \end_layout
1793
1794 \begin_layout Labeling
1795 \labelwidthstring 00.00.0000
1796 \begin_inset Graphics
1797         filename ../images/tabular-feature_unset-all-lines.xpm
1798         scaleBeforeRotation
1799
1800 \end_inset
1801
1802  deletes all lines of the current or selected cells - if the current cell
1803  no multicolumn this also affects the current row and column
1804 \end_layout
1805
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Graphics
1809         filename ../images/tabular-feature_align-left.xpm
1810         scaleBeforeRotation
1811
1812 \end_inset
1813
1814  left-aligns the content of the current cell / column
1815 \end_layout
1816
1817 \begin_layout Labeling
1818 \labelwidthstring 00.00.0000
1819 \begin_inset Graphics
1820         filename ../images/tabular-feature_align-center.xpm
1821         scaleBeforeRotation
1822
1823 \end_inset
1824
1825  centers the content of the current cell / column horizontally
1826 \end_layout
1827
1828 \begin_layout Labeling
1829 \labelwidthstring 00.00.0000
1830 \begin_inset Graphics
1831         filename ../images/tabular-feature_align-right.xpm
1832         scaleBeforeRotation
1833
1834 \end_inset
1835
1836  right-aligns the content of the current cell / column
1837 \end_layout
1838
1839 \begin_layout Labeling
1840 \labelwidthstring 00.00.0000
1841 \begin_inset Graphics
1842         filename ../images/tabular-feature_valign-top.xpm
1843         scaleBeforeRotation
1844
1845 \end_inset
1846
1847  aligns the content of the current cell vertically to the top
1848 \end_layout
1849
1850 \begin_layout Labeling
1851 \labelwidthstring 00.00.0000
1852 \begin_inset Graphics
1853         filename ../images/tabular-feature_valign-middle.xpm
1854         scaleBeforeRotation
1855
1856 \end_inset
1857
1858  centers the content of the current cell vertically
1859 \end_layout
1860
1861 \begin_layout Labeling
1862 \labelwidthstring 00.00.0000
1863 \begin_inset Graphics
1864         filename ../images/tabular-feature_valign-bottom.xpm
1865         scaleBeforeRotation
1866
1867 \end_inset
1868
1869  aligns the content of the current cell vertically to the bottom
1870 \end_layout
1871
1872 \begin_layout Labeling
1873 \labelwidthstring 00.00.0000
1874 \begin_inset Graphics
1875         filename ../images/tabular-feature_set-rotate-cell.xpm
1876         scaleBeforeRotation
1877
1878 \end_inset
1879
1880  rotates the current cell or selection counter-clockwise by 90°
1881 \end_layout
1882
1883 \begin_layout Labeling
1884 \labelwidthstring 00.00.0000
1885 \begin_inset Graphics
1886         filename ../images/tabular-feature_set-rotate-tabular.xpm
1887         scaleBeforeRotation
1888
1889 \end_inset
1890
1891  rotates the whole table counter-clockwise by 90°
1892 \end_layout
1893
1894 \begin_layout Labeling
1895 \labelwidthstring 00.00.0000
1896 \begin_inset Graphics
1897         filename ../images/tabular-feature_multicolumn.xpm
1898         scaleBeforeRotation
1899
1900 \end_inset
1901
1902  sets the current cell or selection as a multicolumn
1903 \end_layout
1904
1905 \begin_layout Standard
1906 \begin_inset Note Greyedout
1907 status open
1908
1909 \begin_layout Standard
1910
1911 \series bold
1912 Note:
1913 \series default
1914  For the output the vertical alignment of the first cell in a row is used
1915  for all following cells in the row.
1916 \end_layout
1917
1918 \end_inset
1919
1920
1921 \end_layout
1922
1923 \begin_layout Section
1924 Edit Table Menu
1925 \begin_inset LatexCommand index
1926 name "Table ! Edit Menu"
1927
1928 \end_inset
1929
1930
1931 \end_layout
1932
1933 \begin_layout Standard
1934 Additionally to the table dialog and toolbar, the menu 
1935 \family sans
1936 Edit\SpecialChar \menuseparator
1937 Table
1938 \family default
1939  allows you to add and delete border lines for the current row/column and
1940  to set the current selection as multicolumn.
1941  The menu is only available when the cursor is inside a table.
1942 \end_layout
1943
1944 \begin_layout Section
1945 Table Floats
1946 \begin_inset LatexCommand label
1947 name "sec:Table-Floats"
1948
1949 \end_inset
1950
1951
1952 \begin_inset LatexCommand index
1953 name "Floats ! Tables"
1954
1955 \end_inset
1956
1957
1958 \begin_inset LatexCommand index
1959 name "Table ! Floats"
1960
1961 \end_inset
1962
1963
1964 \end_layout
1965
1966 \begin_layout Standard
1967 For general explanations about floats, have a look at section\InsetSpace ~
1968
1969 \begin_inset LatexCommand ref
1970 reference "sec:FloatIntroduction"
1971
1972 \end_inset
1973
1974 .
1975 \end_layout
1976
1977 \begin_layout Standard
1978 \begin_inset Float table
1979 placement h
1980 wide false
1981 sideways false
1982 status open
1983
1984 \begin_layout Standard
1985 \begin_inset Caption
1986
1987 \begin_layout Standard
1988 \begin_inset LatexCommand label
1989 name "tab:a table float"
1990
1991 \end_inset
1992
1993 A table float.
1994 \end_layout
1995
1996 \end_inset
1997
1998
1999 \end_layout
2000
2001 \begin_layout Standard
2002 \align center
2003 \begin_inset Tabular
2004 <lyxtabular version="3" rows="3" columns="3">
2005 <features>
2006 <column alignment="center" valignment="top" leftline="true" width="0pt">
2007 <column alignment="center" valignment="top" leftline="true" width="0pt">
2008 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2009 <row topline="true" bottomline="true">
2010 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2011 \begin_inset Text
2012
2013 \begin_layout Standard
2014
2015 \family roman
2016 \series medium
2017 \shape up
2018 \size normal
2019 \emph off
2020 \bar no
2021 \noun off
2022 \color none
2023 1
2024 \end_layout
2025
2026 \end_inset
2027 </cell>
2028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2029 \begin_inset Text
2030
2031 \begin_layout Standard
2032
2033 \family roman
2034 \series medium
2035 \shape up
2036 \size normal
2037 \emph off
2038 \bar no
2039 \noun off
2040 \color none
2041 2
2042 \end_layout
2043
2044 \end_inset
2045 </cell>
2046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2047 \begin_inset Text
2048
2049 \begin_layout Standard
2050
2051 \family roman
2052 \series medium
2053 \shape up
2054 \size normal
2055 \emph off
2056 \bar no
2057 \noun off
2058 \color none
2059 3
2060 \end_layout
2061
2062 \end_inset
2063 </cell>
2064 </row>
2065 <row topline="true">
2066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2067 \begin_inset Text
2068
2069 \begin_layout Standard
2070
2071 \family roman
2072 \series medium
2073 \shape up
2074 \size normal
2075 \emph off
2076 \bar no
2077 \noun off
2078 \color none
2079 Joe
2080 \end_layout
2081
2082 \end_inset
2083 </cell>
2084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2085 \begin_inset Text
2086
2087 \begin_layout Standard
2088
2089 \family roman
2090 \series medium
2091 \shape up
2092 \size normal
2093 \emph off
2094 \bar no
2095 \noun off
2096 \color none
2097 Mary
2098 \end_layout
2099
2100 \end_inset
2101 </cell>
2102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2103 \begin_inset Text
2104
2105 \begin_layout Standard
2106
2107 \family roman
2108 \series medium
2109 \shape up
2110 \size normal
2111 \emph off
2112 \bar no
2113 \noun off
2114 \color none
2115 Ted
2116 \end_layout
2117
2118 \end_inset
2119 </cell>
2120 </row>
2121 <row topline="true" bottomline="true">
2122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2123 \begin_inset Text
2124
2125 \begin_layout Standard
2126
2127 \family roman
2128 \series medium
2129 \shape up
2130 \size normal
2131 \emph off
2132 \bar no
2133 \noun off
2134 \color none
2135 \begin_inset Formula $\int x^{2}dx$
2136 \end_inset
2137
2138
2139 \end_layout
2140
2141 \end_inset
2142 </cell>
2143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2144 \begin_inset Text
2145
2146 \begin_layout Standard
2147
2148 \family roman
2149 \series medium
2150 \shape up
2151 \size normal
2152 \emph off
2153 \bar no
2154 \noun off
2155 \color none
2156 \begin_inset Formula $\left[\begin{array}{cc}
2157 a & b\\
2158 c & d\end{array}\right]$
2159 \end_inset
2160
2161
2162 \end_layout
2163
2164 \end_inset
2165 </cell>
2166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2167 \begin_inset Text
2168
2169 \begin_layout Standard
2170
2171 \family roman
2172 \series medium
2173 \shape up
2174 \size normal
2175 \emph off
2176 \bar no
2177 \noun off
2178 \color none
2179 \begin_inset Formula $1+1=2$
2180 \end_inset
2181
2182
2183 \end_layout
2184
2185 \end_inset
2186 </cell>
2187 </row>
2188 </lyxtabular>
2189
2190 \end_inset
2191
2192
2193 \end_layout
2194
2195 \end_inset
2196
2197
2198 \end_layout
2199
2200 \begin_layout Standard
2201 Table floats can be inserted using the menu 
2202 \family sans
2203 Insert\SpecialChar \menuseparator
2204 Float\SpecialChar \menuseparator
2205 Table
2206 \family default
2207  or the toolbar button 
2208 \begin_inset Graphics
2209         filename ../images/float-insert_table.xpm
2210         scale 85
2211         scaleBeforeRotation
2212
2213 \end_inset
2214
2215 .
2216 \end_layout
2217
2218 \begin_layout Standard
2219 The float appears as a collapsible box with a caption that has the label
2220  
2221 \begin_inset Quotes eld
2222 \end_inset
2223
2224 Table\InsetSpace ~
2225 #:
2226 \begin_inset Quotes erd
2227 \end_inset
2228
2229  (# is the actual table number).
2230  You can insert tables to the float above or below the caption.
2231 \end_layout
2232
2233 \begin_layout Standard
2234 Table\InsetSpace ~
2235
2236 \begin_inset LatexCommand ref
2237 reference "tab:a table float"
2238
2239 \end_inset
2240
2241  is an example table within a table float.
2242 \end_layout
2243
2244 \begin_layout Standard
2245 Having the caption above the table is the common rule that is unfortunately
2246  not supported in LaTeX's standard classes.
2247  That means if you are using the document classes 
2248 \family sans
2249 article
2250 \family default
2251
2252 \family sans
2253 book
2254 \family default
2255
2256 \family sans
2257 letter
2258 \family default
2259 , or 
2260 \family sans
2261 report
2262 \family default
2263  there will be no space between the caption and the table.
2264  To insert the needed space, add the following option to the load command
2265  of the LaTeX-package 
2266 \series bold
2267 caption
2268 \series default
2269
2270 \begin_inset LatexCommand index
2271 name "LaTeX-packages ! caption"
2272
2273 \end_inset
2274
2275  in your document preamble
2276 \begin_inset Foot
2277 status collapsed
2278
2279 \begin_layout Standard
2280 For more information have a look at section\InsetSpace ~
2281
2282 \begin_inset LatexCommand ref
2283 reference "sec:Caption-Placement"
2284
2285 \end_inset
2286
2287 .
2288 \end_layout
2289
2290 \end_inset
2291
2292 :
2293 \end_layout
2294
2295 \begin_layout Standard
2296
2297 \series bold
2298 tableposition=top
2299 \end_layout
2300
2301 \begin_layout Standard
2302 The package 
2303 \series bold
2304 caption
2305 \series default
2306 , which is described in section\InsetSpace ~
2307
2308 \begin_inset LatexCommand ref
2309 reference "sec:Caption-Formatting"
2310
2311 \end_inset
2312
2313 , is used to adjust the caption format.
2314 \end_layout
2315
2316 \begin_layout Standard
2317 \begin_inset LatexCommand index
2318 name "References ! to Tables"
2319
2320 \end_inset
2321
2322 Tables can be cross-referenced in the text by referencing their label.
2323  To do this insert a label in the caption using the menu 
2324 \family sans
2325 Insert\SpecialChar \menuseparator
2326 Label
2327 \family default
2328  or the toolbar button 
2329 \begin_inset Graphics
2330         filename ../images/label-insert.xpm
2331         scale 85
2332         scaleBeforeRotation
2333
2334 \end_inset
2335
2336 .
2337  You can now refer to the label using the menu 
2338 \family sans
2339 Insert\SpecialChar \menuseparator
2340 Cross\InsetSpace ~
2341 reference
2342 \family default
2343  or the toolbar button 
2344 \begin_inset Graphics
2345         filename ../images/dialog-show-new-inset_ref.xpm
2346         scale 85
2347         scaleBeforeRotation
2348
2349 \end_inset
2350
2351 .
2352 \newline
2353 Referencing is explained in detail in section\InsetSpace ~
2354
2355 \begin_inset LatexCommand ref
2356 reference "sec:Referencing-Floats"
2357
2358 \end_inset
2359
2360 .
2361 \end_layout
2362
2363 \begin_layout Section
2364 Longtables
2365 \begin_inset LatexCommand label
2366 name "sec:Longtables"
2367
2368 \end_inset
2369
2370
2371 \begin_inset LatexCommand index
2372 name "Longtables"
2373
2374 \end_inset
2375
2376
2377 \begin_inset LatexCommand index
2378 name "Table ! Longtables"
2379
2380 \end_inset
2381
2382
2383 \end_layout
2384
2385 \begin_layout Standard
2386 If the table is too long to fit on one page, you can use the option 
2387 \family sans
2388 Use\InsetSpace ~
2389 long\InsetSpace ~
2390 table
2391 \family default
2392  in the tab 
2393 \family sans
2394 Longtable
2395 \family default
2396  of the table dialog to split the table automatically over more pages.
2397  Doing this enables some check boxes and you can now define:
2398 \end_layout
2399
2400 \begin_layout Description
2401
2402 \family sans
2403 Header
2404 \family default
2405 : The current row and all rows above, that don't have any special options
2406  defined, are defined to be the header rows of all pages of the longtable;
2407  except for the first page, if 
2408 \family sans
2409 First\InsetSpace ~
2410 header
2411 \family default
2412  is defined.
2413  This therefore called the main header.
2414 \end_layout
2415
2416 \begin_layout Description
2417
2418 \family sans
2419 First\InsetSpace ~
2420 header
2421 \family default
2422 : The current row and all rows above, that don't have any special options
2423  defined, are defined to be the header rows of the first page of the longtable.
2424 \end_layout
2425
2426 \begin_layout Description
2427
2428 \family sans
2429 Footer
2430 \family default
2431 : The current row and all rows below, that don't have any special options
2432  defined, are defined to be the footer rows of all pages of the longtable;
2433  except for the last page, if 
2434 \family sans
2435 Last\InsetSpace ~
2436 footer
2437 \family default
2438  is defined.
2439 \end_layout
2440
2441 \begin_layout Description
2442
2443 \family sans
2444 Last\InsetSpace ~
2445 footer
2446 \family default
2447 : The current row and all rows below, that don't have any special options
2448  defined, are defined to be the footer rows of the last page of the longtable.
2449 \end_layout
2450
2451 \begin_layout Standard
2452 You can also specify a row where the table is splitted.
2453  If you set more than one option in the same table row, you should be aware
2454  of the fact that only the first one is used in the given table row.
2455  The others will then be defined as 
2456 \emph on
2457 empty
2458 \emph default
2459 .
2460  In this context, first means first in this order: 
2461 \family sans
2462 Header,
2463 \family default
2464  
2465 \family sans
2466 First\InsetSpace ~
2467 header, Footer, Last\InsetSpace ~
2468 footer.
2469
2470 \family default
2471  See the following longtable to see how it works:
2472 \end_layout
2473
2474 \begin_layout Standard
2475 \align center
2476 \begin_inset Tabular
2477 <lyxtabular version="3" rows="69" columns="3">
2478 <features islongtable="true">
2479 <column alignment="left" valignment="top" leftline="true" width="0cm">
2480 <column alignment="left" valignment="top" width="0pt">
2481 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2482 <row topline="true" bottomline="true" endfirsthead="true">
2483 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2484 \begin_inset Text
2485
2486 \begin_layout Standard
2487
2488 \series bold
2489 Example Phone List (ignore the names)
2490 \end_layout
2491
2492 \end_inset
2493 </cell>
2494 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2495 \begin_inset Text
2496
2497 \begin_layout Standard
2498
2499 \end_layout
2500
2501 \end_inset
2502 </cell>
2503 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2504 \begin_inset Text
2505
2506 \begin_layout Standard
2507
2508 \end_layout
2509
2510 \end_inset
2511 </cell>
2512 </row>
2513 <row topline="true" bottomline="true" endfirsthead="true">
2514 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2515 \begin_inset Text
2516
2517 \begin_layout Standard
2518
2519 \series bold
2520 NAME
2521 \end_layout
2522
2523 \end_inset
2524 </cell>
2525 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2526 \begin_inset Text
2527
2528 \begin_layout Standard
2529
2530 \end_layout
2531
2532 \end_inset
2533 </cell>
2534 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2535 \begin_inset Text
2536
2537 \begin_layout Standard
2538
2539 \series bold
2540 TEL.
2541 \end_layout
2542
2543 \end_inset
2544 </cell>
2545 </row>
2546 <row topline="true" bottomline="true" endhead="true">
2547 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2548 \begin_inset Text
2549
2550 \begin_layout Standard
2551
2552 \series bold
2553 Example Phone List
2554 \end_layout
2555
2556 \end_inset
2557 </cell>
2558 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2559 \begin_inset Text
2560
2561 \begin_layout Standard
2562
2563 \end_layout
2564
2565 \end_inset
2566 </cell>
2567 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2568 \begin_inset Text
2569
2570 \begin_layout Standard
2571
2572 \end_layout
2573
2574 \end_inset
2575 </cell>
2576 </row>
2577 <row topline="true" bottomline="true" endhead="true">
2578 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2579 \begin_inset Text
2580
2581 \begin_layout Standard
2582
2583 \series bold
2584 NAME
2585 \end_layout
2586
2587 \end_inset
2588 </cell>
2589 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2590 \begin_inset Text
2591
2592 \begin_layout Standard
2593
2594 \end_layout
2595
2596 \end_inset
2597 </cell>
2598 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2599 \begin_inset Text
2600
2601 \begin_layout Standard
2602
2603 \series bold
2604 TEL.
2605 \end_layout
2606
2607 \end_inset
2608 </cell>
2609 </row>
2610 <row topline="true" bottomline="true" endfoot="true">
2611 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2612 \begin_inset Text
2613
2614 \begin_layout Standard
2615  continued on next page
2616 \end_layout
2617
2618 \end_inset
2619 </cell>
2620 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2621 \begin_inset Text
2622
2623 \begin_layout Standard
2624
2625 \end_layout
2626
2627 \end_inset
2628 </cell>
2629 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2630 \begin_inset Text
2631
2632 \begin_layout Standard
2633
2634 \end_layout
2635
2636 \end_inset
2637 </cell>
2638 </row>
2639 <row>
2640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2641 \begin_inset Text
2642
2643 \begin_layout Standard
2644
2645 \series bold
2646 Annovi
2647 \end_layout
2648
2649 \end_inset
2650 </cell>
2651 <cell alignment="center" valignment="top" topline="true" usebox="none">
2652 \begin_inset Text
2653
2654 \begin_layout Standard
2655 Silvia
2656 \end_layout
2657
2658 \end_inset
2659 </cell>
2660 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2661 \begin_inset Text
2662
2663 \begin_layout Standard
2664 111
2665 \end_layout
2666
2667 \end_inset
2668 </cell>
2669 </row>
2670 <row>
2671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2672 \begin_inset Text
2673
2674 \begin_layout Standard
2675
2676 \series bold
2677 Bertoli
2678 \end_layout
2679
2680 \end_inset
2681 </cell>
2682 <cell alignment="center" valignment="top" topline="true" usebox="none">
2683 \begin_inset Text
2684
2685 \begin_layout Standard
2686 Stefano
2687 \end_layout
2688
2689 \end_inset
2690 </cell>
2691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2692 \begin_inset Text
2693
2694 \begin_layout Standard
2695 111
2696 \end_layout
2697
2698 \end_inset
2699 </cell>
2700 </row>
2701 <row>
2702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2703 \begin_inset Text
2704
2705 \begin_layout Standard
2706
2707 \series bold
2708 Bozzi
2709 \end_layout
2710
2711 \end_inset
2712 </cell>
2713 <cell alignment="center" valignment="top" topline="true" usebox="none">
2714 \begin_inset Text
2715
2716 \begin_layout Standard
2717 Walter
2718 \end_layout
2719
2720 \end_inset
2721 </cell>
2722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2723 \begin_inset Text
2724
2725 \begin_layout Standard
2726 111
2727 \end_layout
2728
2729 \end_inset
2730 </cell>
2731 </row>
2732 <row>
2733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2734 \begin_inset Text
2735
2736 \begin_layout Standard
2737
2738 \series bold
2739 Cachia
2740 \end_layout
2741
2742 \end_inset
2743 </cell>
2744 <cell alignment="center" valignment="top" topline="true" usebox="none">
2745 \begin_inset Text
2746
2747 \begin_layout Standard
2748 Maria
2749 \end_layout
2750
2751 \end_inset
2752 </cell>
2753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2754 \begin_inset Text
2755
2756 \begin_layout Standard
2757 111
2758 \end_layout
2759
2760 \end_inset
2761 </cell>
2762 </row>
2763 <row>
2764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2765 \begin_inset Text
2766
2767 \begin_layout Standard
2768
2769 \series bold
2770 Cachia
2771 \end_layout
2772
2773 \end_inset
2774 </cell>
2775 <cell alignment="center" valignment="top" topline="true" usebox="none">
2776 \begin_inset Text
2777
2778 \begin_layout Standard
2779 Maurizio
2780 \end_layout
2781
2782 \end_inset
2783 </cell>
2784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2785 \begin_inset Text
2786
2787 \begin_layout Standard
2788 111
2789 \end_layout
2790
2791 \end_inset
2792 </cell>
2793 </row>
2794 <row>
2795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2796 \begin_inset Text
2797
2798 \begin_layout Standard
2799
2800 \series bold
2801 Cinquemani
2802 \end_layout
2803
2804 \end_inset
2805 </cell>
2806 <cell alignment="center" valignment="top" topline="true" usebox="none">
2807 \begin_inset Text
2808
2809 \begin_layout Standard
2810 Giusi
2811 \end_layout
2812
2813 \end_inset
2814 </cell>
2815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2816 \begin_inset Text
2817
2818 \begin_layout Standard
2819 111
2820 \end_layout
2821
2822 \end_inset
2823 </cell>
2824 </row>
2825 <row>
2826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2827 \begin_inset Text
2828
2829 \begin_layout Standard
2830
2831 \series bold
2832 Colin
2833 \end_layout
2834
2835 \end_inset
2836 </cell>
2837 <cell alignment="center" valignment="top" topline="true" usebox="none">
2838 \begin_inset Text
2839
2840 \begin_layout Standard
2841 Bernard
2842 \end_layout
2843
2844 \end_inset
2845 </cell>
2846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2847 \begin_inset Text
2848
2849 \begin_layout Standard
2850 111
2851 \end_layout
2852
2853 \end_inset
2854 </cell>
2855 </row>
2856 <row>
2857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2858 \begin_inset Text
2859
2860 \begin_layout Standard
2861
2862 \series bold
2863 Concli
2864 \end_layout
2865
2866 \end_inset
2867 </cell>
2868 <cell alignment="center" valignment="top" topline="true" usebox="none">
2869 \begin_inset Text
2870
2871 \begin_layout Standard
2872 Gianfranco
2873 \end_layout
2874
2875 \end_inset
2876 </cell>
2877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2878 \begin_inset Text
2879
2880 \begin_layout Standard
2881 111
2882 \end_layout
2883
2884 \end_inset
2885 </cell>
2886 </row>
2887 <row>
2888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2889 \begin_inset Text
2890
2891 \begin_layout Standard
2892
2893 \series bold
2894 Dal Bosco
2895 \end_layout
2896
2897 \end_inset
2898 </cell>
2899 <cell alignment="center" valignment="top" topline="true" usebox="none">
2900 \begin_inset Text
2901
2902 \begin_layout Standard
2903 Carolina
2904 \end_layout
2905
2906 \end_inset
2907 </cell>
2908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2909 \begin_inset Text
2910
2911 \begin_layout Standard
2912 111
2913 \end_layout
2914
2915 \end_inset
2916 </cell>
2917 </row>
2918 <row>
2919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2920 \begin_inset Text
2921
2922 \begin_layout Standard
2923
2924 \series bold
2925 Dalpiaz
2926 \end_layout
2927
2928 \end_inset
2929 </cell>
2930 <cell alignment="center" valignment="top" topline="true" usebox="none">
2931 \begin_inset Text
2932
2933 \begin_layout Standard
2934 Annamaria
2935 \end_layout
2936
2937 \end_inset
2938 </cell>
2939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2940 \begin_inset Text
2941
2942 \begin_layout Standard
2943 111
2944 \end_layout
2945
2946 \end_inset
2947 </cell>
2948 </row>
2949 <row>
2950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2951 \begin_inset Text
2952
2953 \begin_layout Standard
2954
2955 \series bold
2956 Feliciello
2957 \end_layout
2958
2959 \end_inset
2960 </cell>
2961 <cell alignment="center" valignment="top" topline="true" usebox="none">
2962 \begin_inset Text
2963
2964 \begin_layout Standard
2965 Domenico
2966 \end_layout
2967
2968 \end_inset
2969 </cell>
2970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2971 \begin_inset Text
2972
2973 \begin_layout Standard
2974 111
2975 \end_layout
2976
2977 \end_inset
2978 </cell>
2979 </row>
2980 <row>
2981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2982 \begin_inset Text
2983
2984 \begin_layout Standard
2985
2986 \series bold
2987 Focarelli
2988 \end_layout
2989
2990 \end_inset
2991 </cell>
2992 <cell alignment="center" valignment="top" topline="true" usebox="none">
2993 \begin_inset Text
2994
2995 \begin_layout Standard
2996 Paola
2997 \end_layout
2998
2999 \end_inset
3000 </cell>
3001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3002 \begin_inset Text
3003
3004 \begin_layout Standard
3005 111
3006 \end_layout
3007
3008 \end_inset
3009 </cell>
3010 </row>
3011 <row>
3012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3013 \begin_inset Text
3014
3015 \begin_layout Standard
3016
3017 \series bold
3018 Galletti
3019 \end_layout
3020
3021 \end_inset
3022 </cell>
3023 <cell alignment="center" valignment="top" topline="true" usebox="none">
3024 \begin_inset Text
3025
3026 \begin_layout Standard
3027 Oreste
3028 \end_layout
3029
3030 \end_inset
3031 </cell>
3032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3033 \begin_inset Text
3034
3035 \begin_layout Standard
3036 111
3037 \end_layout
3038
3039 \end_inset
3040 </cell>
3041 </row>
3042 <row>
3043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3044 \begin_inset Text
3045
3046 \begin_layout Standard
3047
3048 \series bold
3049 Gasparini
3050 \end_layout
3051
3052 \end_inset
3053 </cell>
3054 <cell alignment="center" valignment="top" topline="true" usebox="none">
3055 \begin_inset Text
3056
3057 \begin_layout Standard
3058 Franca
3059 \end_layout
3060
3061 \end_inset
3062 </cell>
3063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3064 \begin_inset Text
3065
3066 \begin_layout Standard
3067 111
3068 \end_layout
3069
3070 \end_inset
3071 </cell>
3072 </row>
3073 <row>
3074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3075 \begin_inset Text
3076
3077 \begin_layout Standard
3078
3079 \series bold
3080 Rizzardi
3081 \end_layout
3082
3083 \end_inset
3084 </cell>
3085 <cell alignment="center" valignment="top" topline="true" usebox="none">
3086 \begin_inset Text
3087
3088 \begin_layout Standard
3089 Paola
3090 \end_layout
3091
3092 \end_inset
3093 </cell>
3094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3095 \begin_inset Text
3096
3097 \begin_layout Standard
3098 111
3099 \end_layout
3100
3101 \end_inset
3102 </cell>
3103 </row>
3104 <row>
3105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3106 \begin_inset Text
3107
3108 \begin_layout Standard
3109
3110 \series bold
3111 Lassini
3112 \end_layout
3113
3114 \end_inset
3115 </cell>
3116 <cell alignment="center" valignment="top" topline="true" usebox="none">
3117 \begin_inset Text
3118
3119 \begin_layout Standard
3120 Giancarlo
3121 \end_layout
3122
3123 \end_inset
3124 </cell>
3125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3126 \begin_inset Text
3127
3128 \begin_layout Standard
3129 111
3130 \end_layout
3131
3132 \end_inset
3133 </cell>
3134 </row>
3135 <row>
3136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3137 \begin_inset Text
3138
3139 \begin_layout Standard
3140
3141 \series bold
3142 Malfatti
3143 \end_layout
3144
3145 \end_inset
3146 </cell>
3147 <cell alignment="center" valignment="top" topline="true" usebox="none">
3148 \begin_inset Text
3149
3150 \begin_layout Standard
3151 Luciano
3152 \end_layout
3153
3154 \end_inset
3155 </cell>
3156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3157 \begin_inset Text
3158
3159 \begin_layout Standard
3160 111
3161 \end_layout
3162
3163 \end_inset
3164 </cell>
3165 </row>
3166 <row>
3167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3168 \begin_inset Text
3169
3170 \begin_layout Standard
3171
3172 \series bold
3173 Malfatti
3174 \end_layout
3175
3176 \end_inset
3177 </cell>
3178 <cell alignment="center" valignment="top" topline="true" usebox="none">
3179 \begin_inset Text
3180
3181 \begin_layout Standard
3182 Valeriano
3183 \end_layout
3184
3185 \end_inset
3186 </cell>
3187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3188 \begin_inset Text
3189
3190 \begin_layout Standard
3191 111
3192 \end_layout
3193
3194 \end_inset
3195 </cell>
3196 </row>
3197 <row>
3198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3199 \begin_inset Text
3200
3201 \begin_layout Standard
3202
3203 \series bold
3204 Meneguzzo
3205 \end_layout
3206
3207 \end_inset
3208 </cell>
3209 <cell alignment="center" valignment="top" topline="true" usebox="none">
3210 \begin_inset Text
3211
3212 \begin_layout Standard
3213 Roberto
3214 \end_layout
3215
3216 \end_inset
3217 </cell>
3218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3219 \begin_inset Text
3220
3221 \begin_layout Standard
3222 111
3223 \end_layout
3224
3225 \end_inset
3226 </cell>
3227 </row>
3228 <row>
3229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3230 \begin_inset Text
3231
3232 \begin_layout Standard
3233
3234 \series bold
3235 Mezzadra
3236 \end_layout
3237
3238 \end_inset
3239 </cell>
3240 <cell alignment="center" valignment="top" topline="true" usebox="none">
3241 \begin_inset Text
3242
3243 \begin_layout Standard
3244 Roberto
3245 \end_layout
3246
3247 \end_inset
3248 </cell>
3249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3250 \begin_inset Text
3251
3252 \begin_layout Standard
3253 111
3254 \end_layout
3255
3256 \end_inset
3257 </cell>
3258 </row>
3259 <row>
3260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3261 \begin_inset Text
3262
3263 \begin_layout Standard
3264
3265 \series bold
3266 Pirpamer
3267 \end_layout
3268
3269 \end_inset
3270 </cell>
3271 <cell alignment="center" valignment="top" topline="true" usebox="none">
3272 \begin_inset Text
3273
3274 \begin_layout Standard
3275 Erich
3276 \end_layout
3277
3278 \end_inset
3279 </cell>
3280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3281 \begin_inset Text
3282
3283 \begin_layout Standard
3284 111
3285 \end_layout
3286
3287 \end_inset
3288 </cell>
3289 </row>
3290 <row>
3291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3292 \begin_inset Text
3293
3294 \begin_layout Standard
3295
3296 \series bold
3297 Pochiesa
3298 \end_layout
3299
3300 \end_inset
3301 </cell>
3302 <cell alignment="center" valignment="top" topline="true" usebox="none">
3303 \begin_inset Text
3304
3305 \begin_layout Standard
3306 Paolo
3307 \end_layout
3308
3309 \end_inset
3310 </cell>
3311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3312 \begin_inset Text
3313
3314 \begin_layout Standard
3315 111, 222
3316 \end_layout
3317
3318 \end_inset
3319 </cell>
3320 </row>
3321 <row>
3322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3323 \begin_inset Text
3324
3325 \begin_layout Standard
3326
3327 \series bold
3328 Radina
3329 \end_layout
3330
3331 \end_inset
3332 </cell>
3333 <cell alignment="center" valignment="top" topline="true" usebox="none">
3334 \begin_inset Text
3335
3336 \begin_layout Standard
3337 Claudio
3338 \end_layout
3339
3340 \end_inset
3341 </cell>
3342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3343 \begin_inset Text
3344
3345 \begin_layout Standard
3346 111
3347 \end_layout
3348
3349 \end_inset
3350 </cell>
3351 </row>
3352 <row>
3353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3354 \begin_inset Text
3355
3356 \begin_layout Standard
3357
3358 \series bold
3359 Stuffer
3360 \end_layout
3361
3362 \end_inset
3363 </cell>
3364 <cell alignment="center" valignment="top" topline="true" usebox="none">
3365 \begin_inset Text
3366
3367 \begin_layout Standard
3368 Oskar
3369 \end_layout
3370
3371 \end_inset
3372 </cell>
3373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3374 \begin_inset Text
3375
3376 \begin_layout Standard
3377 111
3378 \end_layout
3379
3380 \end_inset
3381 </cell>
3382 </row>
3383 <row>
3384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3385 \begin_inset Text
3386
3387 \begin_layout Standard
3388
3389 \series bold
3390 Tacchelli
3391 \end_layout
3392
3393 \end_inset
3394 </cell>
3395 <cell alignment="center" valignment="top" topline="true" usebox="none">
3396 \begin_inset Text
3397
3398 \begin_layout Standard
3399 Ugo
3400 \end_layout
3401
3402 \end_inset
3403 </cell>
3404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3405 \begin_inset Text
3406
3407 \begin_layout Standard
3408 111
3409 \end_layout
3410
3411 \end_inset
3412 </cell>
3413 </row>
3414 <row>
3415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3416 \begin_inset Text
3417
3418 \begin_layout Standard
3419
3420 \series bold
3421 Tezzele
3422 \end_layout
3423
3424 \end_inset
3425 </cell>
3426 <cell alignment="center" valignment="top" topline="true" usebox="none">
3427 \begin_inset Text
3428
3429 \begin_layout Standard
3430 Margit
3431 \end_layout
3432
3433 \end_inset
3434 </cell>
3435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3436 \begin_inset Text
3437
3438 \begin_layout Standard
3439 111
3440 \end_layout
3441
3442 \end_inset
3443 </cell>
3444 </row>
3445 <row>
3446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3447 \begin_inset Text
3448
3449 \begin_layout Standard
3450
3451 \series bold
3452 Unterkalmsteiner
3453 \end_layout
3454
3455 \end_inset
3456 </cell>
3457 <cell alignment="center" valignment="top" topline="true" usebox="none">
3458 \begin_inset Text
3459
3460 \begin_layout Standard
3461 Frieda
3462 \end_layout
3463
3464 \end_inset
3465 </cell>
3466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3467 \begin_inset Text
3468
3469 \begin_layout Standard
3470 111
3471 \end_layout
3472
3473 \end_inset
3474 </cell>
3475 </row>
3476 <row>
3477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3478 \begin_inset Text
3479
3480 \begin_layout Standard
3481
3482 \series bold
3483 Vieider
3484 \end_layout
3485
3486 \end_inset
3487 </cell>
3488 <cell alignment="center" valignment="top" topline="true" usebox="none">
3489 \begin_inset Text
3490
3491 \begin_layout Standard
3492 Hilde
3493 \end_layout
3494
3495 \end_inset
3496 </cell>
3497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3498 \begin_inset Text
3499
3500 \begin_layout Standard
3501 111
3502 \end_layout
3503
3504 \end_inset
3505 </cell>
3506 </row>
3507 <row>
3508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3509 \begin_inset Text
3510
3511 \begin_layout Standard
3512
3513 \series bold
3514 Vigna
3515 \end_layout
3516
3517 \end_inset
3518 </cell>
3519 <cell alignment="center" valignment="top" topline="true" usebox="none">
3520 \begin_inset Text
3521
3522 \begin_layout Standard
3523 Jürgen
3524 \end_layout
3525
3526 \end_inset
3527 </cell>
3528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3529 \begin_inset Text
3530
3531 \begin_layout Standard
3532 111
3533 \end_layout
3534
3535 \end_inset
3536 </cell>
3537 </row>
3538 <row>
3539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3540 \begin_inset Text
3541
3542 \begin_layout Standard
3543
3544 \series bold
3545 Weber
3546 \end_layout
3547
3548 \end_inset
3549 </cell>
3550 <cell alignment="center" valignment="top" topline="true" usebox="none">
3551 \begin_inset Text
3552
3553 \begin_layout Standard
3554 Maurizio
3555 \end_layout
3556
3557 \end_inset
3558 </cell>
3559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3560 \begin_inset Text
3561
3562 \begin_layout Standard
3563 111
3564 \end_layout
3565
3566 \end_inset
3567 </cell>
3568 </row>
3569 <row bottomline="true">
3570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3571 \begin_inset Text
3572
3573 \begin_layout Standard
3574
3575 \series bold
3576 Winkler
3577 \end_layout
3578
3579 \end_inset
3580 </cell>
3581 <cell alignment="center" valignment="top" topline="true" usebox="none">
3582 \begin_inset Text
3583
3584 \begin_layout Standard
3585 Franz
3586 \end_layout
3587
3588 \end_inset
3589 </cell>
3590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3591 \begin_inset Text
3592
3593 \begin_layout Standard
3594 111
3595 \end_layout
3596
3597 \end_inset
3598 </cell>
3599 </row>
3600 <row bottomline="true">
3601 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3602 \begin_inset Text
3603
3604 \begin_layout Standard
3605  
3606 \end_layout
3607
3608 \end_inset
3609 </cell>
3610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3611 \begin_inset Text
3612
3613 \begin_layout Standard
3614
3615 \end_layout
3616
3617 \end_inset
3618 </cell>
3619 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3620 \begin_inset Text
3621
3622 \begin_layout Standard
3623
3624 \end_layout
3625
3626 \end_inset
3627 </cell>
3628 </row>
3629 <row>
3630 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3631 \begin_inset Text
3632
3633 \begin_layout Standard
3634
3635 \series bold
3636 Annovi
3637 \end_layout
3638
3639 \end_inset
3640 </cell>
3641 <cell alignment="center" valignment="top" topline="true" usebox="none">
3642 \begin_inset Text
3643
3644 \begin_layout Standard
3645 Silvia
3646 \end_layout
3647
3648 \end_inset
3649 </cell>
3650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3651 \begin_inset Text
3652
3653 \begin_layout Standard
3654 555
3655 \end_layout
3656
3657 \end_inset
3658 </cell>
3659 </row>
3660 <row>
3661 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3662 \begin_inset Text
3663
3664 \begin_layout Standard
3665
3666 \series bold
3667 Bertoli
3668 \end_layout
3669
3670 \end_inset
3671 </cell>
3672 <cell alignment="center" valignment="top" topline="true" usebox="none">
3673 \begin_inset Text
3674
3675 \begin_layout Standard
3676 Stefano
3677 \end_layout
3678
3679 \end_inset
3680 </cell>
3681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3682 \begin_inset Text
3683
3684 \begin_layout Standard
3685 555
3686 \end_layout
3687
3688 \end_inset
3689 </cell>
3690 </row>
3691 <row>
3692 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3693 \begin_inset Text
3694
3695 \begin_layout Standard
3696
3697 \series bold
3698 Bozzi
3699 \end_layout
3700
3701 \end_inset
3702 </cell>
3703 <cell alignment="center" valignment="top" topline="true" usebox="none">
3704 \begin_inset Text
3705
3706 \begin_layout Standard
3707 Walter
3708 \end_layout
3709
3710 \end_inset
3711 </cell>
3712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3713 \begin_inset Text
3714
3715 \begin_layout Standard
3716 555
3717 \end_layout
3718
3719 \end_inset
3720 </cell>
3721 </row>
3722 <row>
3723 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3724 \begin_inset Text
3725
3726 \begin_layout Standard
3727
3728 \series bold
3729 Cachia
3730 \end_layout
3731
3732 \end_inset
3733 </cell>
3734 <cell alignment="center" valignment="top" topline="true" usebox="none">
3735 \begin_inset Text
3736
3737 \begin_layout Standard
3738 Maria
3739 \end_layout
3740
3741 \end_inset
3742 </cell>
3743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3744 \begin_inset Text
3745
3746 \begin_layout Standard
3747 555
3748 \end_layout
3749
3750 \end_inset
3751 </cell>
3752 </row>
3753 <row>
3754 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3755 \begin_inset Text
3756
3757 \begin_layout Standard
3758
3759 \series bold
3760 Cachia
3761 \end_layout
3762
3763 \end_inset
3764 </cell>
3765 <cell alignment="center" valignment="top" topline="true" usebox="none">
3766 \begin_inset Text
3767
3768 \begin_layout Standard
3769 Maurizio
3770 \end_layout
3771
3772 \end_inset
3773 </cell>
3774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3775 \begin_inset Text
3776
3777 \begin_layout Standard
3778 555
3779 \end_layout
3780
3781 \end_inset
3782 </cell>
3783 </row>
3784 <row>
3785 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3786 \begin_inset Text
3787
3788 \begin_layout Standard
3789
3790 \series bold
3791 Cinquemani
3792 \end_layout
3793
3794 \end_inset
3795 </cell>
3796 <cell alignment="center" valignment="top" topline="true" usebox="none">
3797 \begin_inset Text
3798
3799 \begin_layout Standard
3800 Giusi
3801 \end_layout
3802
3803 \end_inset
3804 </cell>
3805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3806 \begin_inset Text
3807
3808 \begin_layout Standard
3809 555
3810 \end_layout
3811
3812 \end_inset
3813 </cell>
3814 </row>
3815 <row>
3816 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3817 \begin_inset Text
3818
3819 \begin_layout Standard
3820
3821 \series bold
3822 Colin
3823 \end_layout
3824
3825 \end_inset
3826 </cell>
3827 <cell alignment="center" valignment="top" topline="true" usebox="none">
3828 \begin_inset Text
3829
3830 \begin_layout Standard
3831 Bernard
3832 \end_layout
3833
3834 \end_inset
3835 </cell>
3836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3837 \begin_inset Text
3838
3839 \begin_layout Standard
3840 555
3841 \end_layout
3842
3843 \end_inset
3844 </cell>
3845 </row>
3846 <row>
3847 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3848 \begin_inset Text
3849
3850 \begin_layout Standard
3851
3852 \series bold
3853 Concli
3854 \end_layout
3855
3856 \end_inset
3857 </cell>
3858 <cell alignment="center" valignment="top" topline="true" usebox="none">
3859 \begin_inset Text
3860
3861 \begin_layout Standard
3862 Gianfranco
3863 \end_layout
3864
3865 \end_inset
3866 </cell>
3867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3868 \begin_inset Text
3869
3870 \begin_layout Standard
3871 555
3872 \end_layout
3873
3874 \end_inset
3875 </cell>
3876 </row>
3877 <row>
3878 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3879 \begin_inset Text
3880
3881 \begin_layout Standard
3882
3883 \series bold
3884 Dal Bosco
3885 \end_layout
3886
3887 \end_inset
3888 </cell>
3889 <cell alignment="center" valignment="top" topline="true" usebox="none">
3890 \begin_inset Text
3891
3892 \begin_layout Standard
3893 Carolina
3894 \end_layout
3895
3896 \end_inset
3897 </cell>
3898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3899 \begin_inset Text
3900
3901 \begin_layout Standard
3902 555
3903 \end_layout
3904
3905 \end_inset
3906 </cell>
3907 </row>
3908 <row>
3909 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3910 \begin_inset Text
3911
3912 \begin_layout Standard
3913
3914 \series bold
3915 Dalpiaz
3916 \end_layout
3917
3918 \end_inset
3919 </cell>
3920 <cell alignment="center" valignment="top" topline="true" usebox="none">
3921 \begin_inset Text
3922
3923 \begin_layout Standard
3924 Annamaria
3925 \end_layout
3926
3927 \end_inset
3928 </cell>
3929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3930 \begin_inset Text
3931
3932 \begin_layout Standard
3933 555
3934 \end_layout
3935
3936 \end_inset
3937 </cell>
3938 </row>
3939 <row>
3940 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3941 \begin_inset Text
3942
3943 \begin_layout Standard
3944
3945 \series bold
3946 Feliciello
3947 \end_layout
3948
3949 \end_inset
3950 </cell>
3951 <cell alignment="center" valignment="top" topline="true" usebox="none">
3952 \begin_inset Text
3953
3954 \begin_layout Standard
3955 Domenico
3956 \end_layout
3957
3958 \end_inset
3959 </cell>
3960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3961 \begin_inset Text
3962
3963 \begin_layout Standard
3964 555
3965 \end_layout
3966
3967 \end_inset
3968 </cell>
3969 </row>
3970 <row>
3971 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3972 \begin_inset Text
3973
3974 \begin_layout Standard
3975
3976 \series bold
3977 Focarelli
3978 \end_layout
3979
3980 \end_inset
3981 </cell>
3982 <cell alignment="center" valignment="top" topline="true" usebox="none">
3983 \begin_inset Text
3984
3985 \begin_layout Standard
3986 Paola
3987 \end_layout
3988
3989 \end_inset
3990 </cell>
3991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3992 \begin_inset Text
3993
3994 \begin_layout Standard
3995 555
3996 \end_layout
3997
3998 \end_inset
3999 </cell>
4000 </row>
4001 <row>
4002 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4003 \begin_inset Text
4004
4005 \begin_layout Standard
4006
4007 \series bold
4008 Galletti
4009 \end_layout
4010
4011 \end_inset
4012 </cell>
4013 <cell alignment="center" valignment="top" topline="true" usebox="none">
4014 \begin_inset Text
4015
4016 \begin_layout Standard
4017 Oreste
4018 \end_layout
4019
4020 \end_inset
4021 </cell>
4022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4023 \begin_inset Text
4024
4025 \begin_layout Standard
4026 555
4027 \end_layout
4028
4029 \end_inset
4030 </cell>
4031 </row>
4032 <row>
4033 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4034 \begin_inset Text
4035
4036 \begin_layout Standard
4037
4038 \series bold
4039 Gasparini
4040 \end_layout
4041
4042 \end_inset
4043 </cell>
4044 <cell alignment="center" valignment="top" topline="true" usebox="none">
4045 \begin_inset Text
4046
4047 \begin_layout Standard
4048 Franca
4049 \end_layout
4050
4051 \end_inset
4052 </cell>
4053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4054 \begin_inset Text
4055
4056 \begin_layout Standard
4057 555
4058 \end_layout
4059
4060 \end_inset
4061 </cell>
4062 </row>
4063 <row>
4064 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4065 \begin_inset Text
4066
4067 \begin_layout Standard
4068
4069 \series bold
4070 Rizzardi
4071 \end_layout
4072
4073 \end_inset
4074 </cell>
4075 <cell alignment="center" valignment="top" topline="true" usebox="none">
4076 \begin_inset Text
4077
4078 \begin_layout Standard
4079 Paola
4080 \end_layout
4081
4082 \end_inset
4083 </cell>
4084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4085 \begin_inset Text
4086
4087 \begin_layout Standard
4088 555
4089 \end_layout
4090
4091 \end_inset
4092 </cell>
4093 </row>
4094 <row>
4095 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4096 \begin_inset Text
4097
4098 \begin_layout Standard
4099
4100 \series bold
4101 Lassini
4102 \end_layout
4103
4104 \end_inset
4105 </cell>
4106 <cell alignment="center" valignment="top" topline="true" usebox="none">
4107 \begin_inset Text
4108
4109 \begin_layout Standard
4110 Giancarlo
4111 \end_layout
4112
4113 \end_inset
4114 </cell>
4115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4116 \begin_inset Text
4117
4118 \begin_layout Standard
4119 555
4120 \end_layout
4121
4122 \end_inset
4123 </cell>
4124 </row>
4125 <row>
4126 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4127 \begin_inset Text
4128
4129 \begin_layout Standard
4130
4131 \series bold
4132 Malfatti
4133 \end_layout
4134
4135 \end_inset
4136 </cell>
4137 <cell alignment="center" valignment="top" topline="true" usebox="none">
4138 \begin_inset Text
4139
4140 \begin_layout Standard
4141 Luciano
4142 \end_layout
4143
4144 \end_inset
4145 </cell>
4146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4147 \begin_inset Text
4148
4149 \begin_layout Standard
4150 555
4151 \end_layout
4152
4153 \end_inset
4154 </cell>
4155 </row>
4156 <row>
4157 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4158 \begin_inset Text
4159
4160 \begin_layout Standard
4161
4162 \series bold
4163 Malfatti
4164 \end_layout
4165
4166 \end_inset
4167 </cell>
4168 <cell alignment="center" valignment="top" topline="true" usebox="none">
4169 \begin_inset Text
4170
4171 \begin_layout Standard
4172 Valeriano
4173 \end_layout
4174
4175 \end_inset
4176 </cell>
4177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4178 \begin_inset Text
4179
4180 \begin_layout Standard
4181 555
4182 \end_layout
4183
4184 \end_inset
4185 </cell>
4186 </row>
4187 <row>
4188 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4189 \begin_inset Text
4190
4191 \begin_layout Standard
4192
4193 \series bold
4194 Meneguzzo
4195 \end_layout
4196
4197 \end_inset
4198 </cell>
4199 <cell alignment="center" valignment="top" topline="true" usebox="none">
4200 \begin_inset Text
4201
4202 \begin_layout Standard
4203 Roberto
4204 \end_layout
4205
4206 \end_inset
4207 </cell>
4208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4209 \begin_inset Text
4210
4211 \begin_layout Standard
4212 555
4213 \end_layout
4214
4215 \end_inset
4216 </cell>
4217 </row>
4218 <row>
4219 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4220 \begin_inset Text
4221
4222 \begin_layout Standard
4223
4224 \series bold
4225 Mezzadra
4226 \end_layout
4227
4228 \end_inset
4229 </cell>
4230 <cell alignment="center" valignment="top" topline="true" usebox="none">
4231 \begin_inset Text
4232
4233 \begin_layout Standard
4234 Roberto
4235 \end_layout
4236
4237 \end_inset
4238 </cell>
4239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4240 \begin_inset Text
4241
4242 \begin_layout Standard
4243 555
4244 \end_layout
4245
4246 \end_inset
4247 </cell>
4248 </row>
4249 <row>
4250 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4251 \begin_inset Text
4252
4253 \begin_layout Standard
4254
4255 \series bold
4256 Pirpamer
4257 \end_layout
4258
4259 \end_inset
4260 </cell>
4261 <cell alignment="center" valignment="top" topline="true" usebox="none">
4262 \begin_inset Text
4263
4264 \begin_layout Standard
4265 Erich
4266 \end_layout
4267
4268 \end_inset
4269 </cell>
4270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4271 \begin_inset Text
4272
4273 \begin_layout Standard
4274 555
4275 \end_layout
4276
4277 \end_inset
4278 </cell>
4279 </row>
4280 <row>
4281 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4282 \begin_inset Text
4283
4284 \begin_layout Standard
4285
4286 \series bold
4287 Pochiesa
4288 \end_layout
4289
4290 \end_inset
4291 </cell>
4292 <cell alignment="center" valignment="top" topline="true" usebox="none">
4293 \begin_inset Text
4294
4295 \begin_layout Standard
4296 Paolo
4297 \end_layout
4298
4299 \end_inset
4300 </cell>
4301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4302 \begin_inset Text
4303
4304 \begin_layout Standard
4305 555, 222
4306 \end_layout
4307
4308 \end_inset
4309 </cell>
4310 </row>
4311 <row>
4312 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4313 \begin_inset Text
4314
4315 \begin_layout Standard
4316
4317 \series bold
4318 Radina
4319 \end_layout
4320
4321 \end_inset
4322 </cell>
4323 <cell alignment="center" valignment="top" topline="true" usebox="none">
4324 \begin_inset Text
4325
4326 \begin_layout Standard
4327 Claudio
4328 \end_layout
4329
4330 \end_inset
4331 </cell>
4332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4333 \begin_inset Text
4334
4335 \begin_layout Standard
4336 555
4337 \end_layout
4338
4339 \end_inset
4340 </cell>
4341 </row>
4342 <row>
4343 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4344 \begin_inset Text
4345
4346 \begin_layout Standard
4347
4348 \series bold
4349 Stuffer
4350 \end_layout
4351
4352 \end_inset
4353 </cell>
4354 <cell alignment="center" valignment="top" topline="true" usebox="none">
4355 \begin_inset Text
4356
4357 \begin_layout Standard
4358 Oskar
4359 \end_layout
4360
4361 \end_inset
4362 </cell>
4363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4364 \begin_inset Text
4365
4366 \begin_layout Standard
4367 555
4368 \end_layout
4369
4370 \end_inset
4371 </cell>
4372 </row>
4373 <row>
4374 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4375 \begin_inset Text
4376
4377 \begin_layout Standard
4378
4379 \series bold
4380 Tacchelli
4381 \end_layout
4382
4383 \end_inset
4384 </cell>
4385 <cell alignment="center" valignment="top" topline="true" usebox="none">
4386 \begin_inset Text
4387
4388 \begin_layout Standard
4389 Ugo
4390 \end_layout
4391
4392 \end_inset
4393 </cell>
4394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4395 \begin_inset Text
4396
4397 \begin_layout Standard
4398 555
4399 \end_layout
4400
4401 \end_inset
4402 </cell>
4403 </row>
4404 <row>
4405 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4406 \begin_inset Text
4407
4408 \begin_layout Standard
4409
4410 \series bold
4411 Tezzele
4412 \end_layout
4413
4414 \end_inset
4415 </cell>
4416 <cell alignment="center" valignment="top" topline="true" usebox="none">
4417 \begin_inset Text
4418
4419 \begin_layout Standard
4420 Margit
4421 \end_layout
4422
4423 \end_inset
4424 </cell>
4425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4426 \begin_inset Text
4427
4428 \begin_layout Standard
4429 555
4430 \end_layout
4431
4432 \end_inset
4433 </cell>
4434 </row>
4435 <row>
4436 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4437 \begin_inset Text
4438
4439 \begin_layout Standard
4440
4441 \series bold
4442 Unterkalmsteiner
4443 \end_layout
4444
4445 \end_inset
4446 </cell>
4447 <cell alignment="center" valignment="top" topline="true" usebox="none">
4448 \begin_inset Text
4449
4450 \begin_layout Standard
4451 Frieda
4452 \end_layout
4453
4454 \end_inset
4455 </cell>
4456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4457 \begin_inset Text
4458
4459 \begin_layout Standard
4460 555
4461 \end_layout
4462
4463 \end_inset
4464 </cell>
4465 </row>
4466 <row>
4467 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4468 \begin_inset Text
4469
4470 \begin_layout Standard
4471
4472 \series bold
4473 Vieider
4474 \end_layout
4475
4476 \end_inset
4477 </cell>
4478 <cell alignment="center" valignment="top" topline="true" usebox="none">
4479 \begin_inset Text
4480
4481 \begin_layout Standard
4482 Hilde
4483 \end_layout
4484
4485 \end_inset
4486 </cell>
4487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4488 \begin_inset Text
4489
4490 \begin_layout Standard
4491 555
4492 \end_layout
4493
4494 \end_inset
4495 </cell>
4496 </row>
4497 <row>
4498 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4499 \begin_inset Text
4500
4501 \begin_layout Standard
4502
4503 \series bold
4504 Vigna
4505 \end_layout
4506
4507 \end_inset
4508 </cell>
4509 <cell alignment="center" valignment="top" topline="true" usebox="none">
4510 \begin_inset Text
4511
4512 \begin_layout Standard
4513 Jürgen
4514 \end_layout
4515
4516 \end_inset
4517 </cell>
4518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4519 \begin_inset Text
4520
4521 \begin_layout Standard
4522 999
4523 \end_layout
4524
4525 \end_inset
4526 </cell>
4527 </row>
4528 <row>
4529 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4530 \begin_inset Text
4531
4532 \begin_layout Standard
4533
4534 \series bold
4535 Weber
4536 \end_layout
4537
4538 \end_inset
4539 </cell>
4540 <cell alignment="center" valignment="top" topline="true" usebox="none">
4541 \begin_inset Text
4542
4543 \begin_layout Standard
4544 Maurizio
4545 \end_layout
4546
4547 \end_inset
4548 </cell>
4549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4550 \begin_inset Text
4551
4552 \begin_layout Standard
4553 555
4554 \end_layout
4555
4556 \end_inset
4557 </cell>
4558 </row>
4559 <row bottomline="true">
4560 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4561 \begin_inset Text
4562
4563 \begin_layout Standard
4564
4565 \series bold
4566 Winkler
4567 \end_layout
4568
4569 \end_inset
4570 </cell>
4571 <cell alignment="center" valignment="top" topline="true" usebox="none">
4572 \begin_inset Text
4573
4574 \begin_layout Standard
4575 Franz
4576 \end_layout
4577
4578 \end_inset
4579 </cell>
4580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4581 \begin_inset Text
4582
4583 \begin_layout Standard
4584 555
4585 \end_layout
4586
4587 \end_inset
4588 </cell>
4589 </row>
4590 <row bottomline="true" endlastfoot="true">
4591 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4592 \begin_inset Text
4593
4594 \begin_layout Standard
4595 end
4596 \end_layout
4597
4598 \end_inset
4599 </cell>
4600 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4601 \begin_inset Text
4602
4603 \begin_layout Standard
4604
4605 \end_layout
4606
4607 \end_inset
4608 </cell>
4609 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4610 \begin_inset Text
4611
4612 \begin_layout Standard
4613
4614 \end_layout
4615
4616 \end_inset
4617 </cell>
4618 </row>
4619 </lyxtabular>
4620
4621 \end_inset
4622
4623
4624 \begin_inset ERT
4625 status collapsed
4626
4627 \begin_layout Standard
4628
4629
4630 \backslash
4631 addtocounter{table}{-1}
4632 \end_layout
4633
4634 \end_inset
4635
4636
4637 \begin_inset Note Note
4638 status collapsed
4639
4640 \begin_layout Standard
4641 See greyed-out note in section\InsetSpace ~
4642
4643 \begin_inset LatexCommand ref
4644 reference "sub:Longtable-Captions"
4645
4646 \end_inset
4647
4648  for an explanation of this command.
4649 \end_layout
4650
4651 \end_inset
4652
4653
4654 \end_layout
4655
4656 \begin_layout Subsection
4657 Footnotes in Longtables
4658 \begin_inset LatexCommand label
4659 name "sub:Footnotes-in-Longtables"
4660
4661 \end_inset
4662
4663
4664 \begin_inset LatexCommand index
4665 name "Longtables ! Footnotes"
4666
4667 \end_inset
4668
4669
4670 \end_layout
4671
4672 \begin_layout Standard
4673 Footnotes can be inserted to every longtable cell.
4674  They appear at the bottom of the page where the table cell with the footnote
4675  appears.
4676  Table\InsetSpace ~
4677
4678 \begin_inset LatexCommand ref
4679 reference "tab:DiffCaptions"
4680
4681 \end_inset
4682
4683  has for example a footnote.
4684 \end_layout
4685
4686 \begin_layout Subsection
4687 Longtable Captions
4688 \begin_inset LatexCommand index
4689 name "Longtables ! Captions"
4690
4691 \end_inset
4692
4693
4694 \begin_inset LatexCommand label
4695 name "sub:Longtable-Captions"
4696
4697 \end_inset
4698
4699
4700 \end_layout
4701
4702 \begin_layout Standard
4703 A longtable cannot be put into a table float because floats can only be
4704  on one page but the caption environment of floats can also be used for
4705  longtables.
4706 \end_layout
4707
4708 \begin_layout Standard
4709 As LyX does not yet fully support captions in longtables, a hack is needed
4710  to create them:
4711 \end_layout
4712
4713 \begin_layout Enumerate
4714 Create a longtable
4715 \family sans
4716 .
4717 \end_layout
4718
4719 \begin_layout Enumerate
4720 Mark the first row and disable its upper line.
4721 \end_layout
4722
4723 \begin_layout Enumerate
4724 Insert a caption via the menu 
4725 \family sans
4726 Insert\SpecialChar \menuseparator
4727 Caption
4728 \family default
4729  into the first table cell.
4730 \newline
4731 You can also add a short title for the caption.
4732 \end_layout
4733
4734 \begin_layout Enumerate
4735 Insert a 
4736 \begin_inset Quotes eld
4737 \end_inset
4738
4739
4740 \series bold
4741
4742 \backslash
4743
4744 \backslash
4745 %
4746 \series default
4747
4748 \begin_inset Quotes erd
4749 \end_inset
4750
4751  as ERT behind the caption.
4752 \end_layout
4753
4754 \begin_layout Standard
4755 A short title that will appear in the LOT instead of the full title.
4756  The 
4757 \series bold
4758
4759 \backslash
4760
4761 \backslash
4762 %
4763 \series default
4764  behind the caption omits the vertical lines between the following cells
4765  in the row.
4766  The first table row is now only a dummy row for the caption, the actual
4767  table starts with the second row.
4768 \end_layout
4769
4770 \begin_layout Standard
4771 Here is a short longtable to see how it works:
4772 \end_layout
4773
4774 \begin_layout Standard
4775 \begin_inset Tabular
4776 <lyxtabular version="3" rows="6" columns="5">
4777 <features islongtable="true">
4778 <column alignment="center" valignment="top" leftline="true" width="0">
4779 <column alignment="center" valignment="top" leftline="true" width="0">
4780 <column alignment="center" valignment="top" leftline="true" width="0">
4781 <column alignment="center" valignment="top" leftline="true" width="0">
4782 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4783 <row>
4784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4785 \begin_inset Text
4786
4787 \begin_layout Standard
4788 \begin_inset Caption
4789
4790 \begin_layout Standard
4791 Longtable with caption
4792 \begin_inset OptArg
4793 status open
4794
4795 \begin_layout Standard
4796 Longtable
4797 \end_layout
4798
4799 \end_inset
4800
4801
4802 \end_layout
4803
4804 \end_inset
4805
4806
4807 \begin_inset ERT
4808 status collapsed
4809
4810 \begin_layout Standard
4811
4812
4813 \backslash
4814
4815 \backslash
4816 %
4817 \end_layout
4818
4819 \end_inset
4820
4821
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
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
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
4849 \end_layout
4850
4851 \end_inset
4852 </cell>
4853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4854 \begin_inset Text
4855
4856 \begin_layout Standard
4857
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 1
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 2
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 3
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 4
4896 \end_layout
4897
4898 \end_inset
4899 </cell>
4900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4901 \begin_inset Text
4902
4903 \begin_layout Standard
4904 5
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">
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 s
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 s
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 s
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 <row topline="true" bottomline="true">
5052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5053 \begin_inset Text
5054
5055 \begin_layout Standard
5056 asd
5057 \end_layout
5058
5059 \end_inset
5060 </cell>
5061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5062 \begin_inset Text
5063
5064 \begin_layout Standard
5065 asd
5066 \end_layout
5067
5068 \end_inset
5069 </cell>
5070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5071 \begin_inset Text
5072
5073 \begin_layout Standard
5074 asd
5075 \end_layout
5076
5077 \end_inset
5078 </cell>
5079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5080 \begin_inset Text
5081
5082 \begin_layout Standard
5083 asd
5084 \end_layout
5085
5086 \end_inset
5087 </cell>
5088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5089 \begin_inset Text
5090
5091 \begin_layout Standard
5092 asd
5093 \end_layout
5094
5095 \end_inset
5096 </cell>
5097 </row>
5098 </lyxtabular>
5099
5100 \end_inset
5101
5102
5103 \end_layout
5104
5105 \begin_layout Standard
5106 \begin_inset VSpace medskip
5107 \end_inset
5108
5109
5110 \begin_inset Note Greyedout
5111 status open
5112
5113 \begin_layout Standard
5114
5115 \series bold
5116 Note:
5117 \series default
5118  The table number is increased for every longtable, also if you didn't set
5119  a caption for it.
5120  For this reason you could have the case that e.g.
5121  Table\InsetSpace ~
5122 2.4 follows on Table\InsetSpace ~
5123 2.1 in the list of tables if there are two longtables
5124  without captions.
5125  To avoid this you can add the following command in ERT behind every longtable
5126  without a caption:
5127 \end_layout
5128
5129 \begin_layout Standard
5130
5131 \series bold
5132
5133 \backslash
5134 addtocounter{table}{-1}
5135 \end_layout
5136
5137 \end_inset
5138
5139
5140 \end_layout
5141
5142 \begin_layout Standard
5143 \begin_inset Note Greyedout
5144 status open
5145
5146 \begin_layout Standard
5147
5148 \series bold
5149 Note:
5150 \series default
5151  If you are using the LaTeX-package 
5152 \series bold
5153 hyperref
5154 \series default
5155
5156 \begin_inset LatexCommand index
5157 name "LaTeX-packages ! hyperref"
5158
5159 \end_inset
5160
5161  to link cross-references, the link to a longtable caption will always point
5162  to the beginning of the document.
5163 \end_layout
5164
5165 \end_inset
5166
5167
5168 \end_layout
5169
5170 \begin_layout Subsubsection
5171 References to Longtables
5172 \begin_inset LatexCommand index
5173 name "Longtables ! References"
5174
5175 \end_inset
5176
5177
5178 \end_layout
5179
5180 \begin_layout Standard
5181 \begin_inset Tabular
5182 <lyxtabular version="3" rows="6" columns="5">
5183 <features islongtable="true">
5184 <column alignment="center" valignment="top" leftline="true" width="0">
5185 <column alignment="center" valignment="top" leftline="true" width="0">
5186 <column alignment="center" valignment="top" leftline="true" width="0">
5187 <column alignment="center" valignment="top" leftline="true" width="0">
5188 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5189 <row>
5190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5191 \begin_inset Text
5192
5193 \begin_layout Standard
5194 \begin_inset Caption
5195
5196 \begin_layout Standard
5197 Referenced longtable
5198 \begin_inset LatexCommand label
5199 name "tab:RefExample"
5200
5201 \end_inset
5202
5203
5204 \end_layout
5205
5206 \end_inset
5207
5208
5209 \begin_inset ERT
5210 status collapsed
5211
5212 \begin_layout Standard
5213
5214
5215 \backslash
5216
5217 \backslash
5218 %
5219 \end_layout
5220
5221 \end_inset
5222
5223
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
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
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
5251 \end_layout
5252
5253 \end_inset
5254 </cell>
5255 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5256 \begin_inset Text
5257
5258 \begin_layout Standard
5259
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 1
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 2
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 3
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 4
5298 \end_layout
5299
5300 \end_inset
5301 </cell>
5302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5303 \begin_inset Text
5304
5305 \begin_layout Standard
5306 5
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">
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 s
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 s
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 s
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 <row topline="true" bottomline="true">
5454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5455 \begin_inset Text
5456
5457 \begin_layout Standard
5458 asd
5459 \end_layout
5460
5461 \end_inset
5462 </cell>
5463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5464 \begin_inset Text
5465
5466 \begin_layout Standard
5467 sad
5468 \end_layout
5469
5470 \end_inset
5471 </cell>
5472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5473 \begin_inset Text
5474
5475 \begin_layout Standard
5476 asd
5477 \end_layout
5478
5479 \end_inset
5480 </cell>
5481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5482 \begin_inset Text
5483
5484 \begin_layout Standard
5485 asd
5486 \end_layout
5487
5488 \end_inset
5489 </cell>
5490 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5491 \begin_inset Text
5492
5493 \begin_layout Standard
5494 asd
5495 \end_layout
5496
5497 \end_inset
5498 </cell>
5499 </row>
5500 </lyxtabular>
5501
5502 \end_inset
5503
5504
5505 \end_layout
5506
5507 \begin_layout Standard
5508 To reference a longtable, insert a label into the caption.
5509  Note that you have to add the label prefix 
5510 \begin_inset Quotes eld
5511 \end_inset
5512
5513
5514 \emph on
5515 tab:
5516 \emph default
5517
5518 \begin_inset Quotes eld
5519 \end_inset
5520
5521  manually in the label field.
5522 \end_layout
5523
5524 \begin_layout Standard
5525 This is a reference to Table\InsetSpace ~
5526
5527 \begin_inset LatexCommand ref
5528 reference "tab:RefExample"
5529
5530 \end_inset
5531
5532 .
5533 \end_layout
5534
5535 \begin_layout Standard
5536 The caption layout can be set together with all other caption of your document
5537  using the LaTeX-package 
5538 \series bold
5539 caption
5540 \series default
5541
5542 \begin_inset LatexCommand index
5543 name "LaTeX-packages ! caption"
5544
5545 \end_inset
5546
5547 , see section\InsetSpace ~
5548
5549 \begin_inset LatexCommand ref
5550 reference "sec:Caption-Formatting"
5551
5552 \end_inset
5553
5554 .
5555 \end_layout
5556
5557 \begin_layout Subsubsection
5558 Caption Width
5559 \begin_inset LatexCommand index
5560 name "Longtables ! Caption Width"
5561
5562 \end_inset
5563
5564
5565 \end_layout
5566
5567 \begin_layout Standard
5568 The maximal width of of caption lines is defined by the length 
5569 \series bold
5570
5571 \backslash
5572 LTcapwidth
5573 \series default
5574 .
5575  Its default value is 4\InsetSpace \thinspace{}
5576 in.
5577  To change it add the following command to your document preamble or as
5578  ERT into your document before the longtable that should be affected
5579 \end_layout
5580
5581 \begin_layout Standard
5582
5583 \series bold
5584
5585 \backslash
5586 setlength{
5587 \backslash
5588 LTcapwidth}{width}
5589 \end_layout
5590
5591 \begin_layout Standard
5592 where the width could have one of the units listed in appendix\InsetSpace ~
5593
5594 \begin_inset LatexCommand ref
5595 reference "cha:Units-available-in"
5596
5597 \end_inset
5598
5599 .
5600 \end_layout
5601
5602 \begin_layout Standard
5603 The following tables show the difference:
5604 \end_layout
5605
5606 \begin_layout Standard
5607 \begin_inset Tabular
5608 <lyxtabular version="3" rows="6" columns="5">
5609 <features islongtable="true">
5610 <column alignment="center" valignment="top" leftline="true" width="0">
5611 <column alignment="center" valignment="top" leftline="true" width="0">
5612 <column alignment="center" valignment="top" leftline="true" width="0">
5613 <column alignment="center" valignment="top" leftline="true" width="0">
5614 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5615 <row>
5616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5617 \begin_inset Text
5618
5619 \begin_layout Standard
5620 \begin_inset Caption
5621
5622 \begin_layout Standard
5623 long full title with default width long full title with default width long
5624  full title with default width
5625 \begin_inset OptArg
5626 status collapsed
5627
5628 \begin_layout Standard
5629 caption with default width
5630 \end_layout
5631
5632 \end_inset
5633
5634
5635 \end_layout
5636
5637 \end_inset
5638
5639
5640 \begin_inset ERT
5641 status collapsed
5642
5643 \begin_layout Standard
5644
5645
5646 \backslash
5647
5648 \backslash
5649 %
5650 \end_layout
5651
5652 \end_inset
5653
5654
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
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
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
5682 \end_layout
5683
5684 \end_inset
5685 </cell>
5686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5687 \begin_inset Text
5688
5689 \begin_layout Standard
5690
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 1
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 2
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 3
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 4
5729 \end_layout
5730
5731 \end_inset
5732 </cell>
5733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5734 \begin_inset Text
5735
5736 \begin_layout Standard
5737 5
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">
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 s
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 s
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 s
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 <row topline="true" bottomline="true">
5885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5886 \begin_inset Text
5887
5888 \begin_layout Standard
5889 asd
5890 \end_layout
5891
5892 \end_inset
5893 </cell>
5894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5895 \begin_inset Text
5896
5897 \begin_layout Standard
5898 sad
5899 \end_layout
5900
5901 \end_inset
5902 </cell>
5903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5904 \begin_inset Text
5905
5906 \begin_layout Standard
5907 asd
5908 \end_layout
5909
5910 \end_inset
5911 </cell>
5912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5913 \begin_inset Text
5914
5915 \begin_layout Standard
5916 asd
5917 \end_layout
5918
5919 \end_inset
5920 </cell>
5921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5922 \begin_inset Text
5923
5924 \begin_layout Standard
5925 asd
5926 \end_layout
5927
5928 \end_inset
5929 </cell>
5930 </row>
5931 </lyxtabular>
5932
5933 \end_inset
5934
5935
5936 \end_layout
5937
5938 \begin_layout Standard
5939 \begin_inset ERT
5940 status open
5941
5942 \begin_layout Standard
5943
5944
5945 \backslash
5946 setlength{
5947 \backslash
5948 LTcapwidth}{5cm}
5949 \end_layout
5950
5951 \end_inset
5952
5953
5954 \begin_inset Tabular
5955 <lyxtabular version="3" rows="6" columns="5">
5956 <features islongtable="true">
5957 <column alignment="center" valignment="top" leftline="true" width="0">
5958 <column alignment="center" valignment="top" leftline="true" width="0">
5959 <column alignment="center" valignment="top" leftline="true" width="0">
5960 <column alignment="center" valignment="top" leftline="true" width="0">
5961 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5962 <row>
5963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5964 \begin_inset Text
5965
5966 \begin_layout Standard
5967 \begin_inset Caption
5968
5969 \begin_layout Standard
5970 long full title with width set to 5\InsetSpace \thinspace{}
5971 cm long full title with width set to
5972  5\InsetSpace \thinspace{}
5973 cm long full title with width set to 5\InsetSpace \thinspace{}
5974 cm
5975 \begin_inset OptArg
5976 status collapsed
5977
5978 \begin_layout Standard
5979 caption with width\InsetSpace \thinspace{}
5980 =\InsetSpace \thinspace{}
5981 5\InsetSpace \thinspace{}
5982 cm
5983 \end_layout
5984
5985 \end_inset
5986
5987
5988 \end_layout
5989
5990 \end_inset
5991
5992
5993 \begin_inset ERT
5994 status collapsed
5995
5996 \begin_layout Standard
5997
5998
5999 \backslash
6000
6001 \backslash
6002 %
6003 \end_layout
6004
6005 \end_inset
6006
6007
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
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
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
6035 \end_layout
6036
6037 \end_inset
6038 </cell>
6039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6040 \begin_inset Text
6041
6042 \begin_layout Standard
6043
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 1
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 2
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 3
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 4
6082 \end_layout
6083
6084 \end_inset
6085 </cell>
6086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6087 \begin_inset Text
6088
6089 \begin_layout Standard
6090 5
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">
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 s
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 s
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 s
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 <row topline="true" bottomline="true">
6238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6239 \begin_inset Text
6240
6241 \begin_layout Standard
6242 asd
6243 \end_layout
6244
6245 \end_inset
6246 </cell>
6247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6248 \begin_inset Text
6249
6250 \begin_layout Standard
6251 sad
6252 \end_layout
6253
6254 \end_inset
6255 </cell>
6256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6257 \begin_inset Text
6258
6259 \begin_layout Standard
6260 asd
6261 \end_layout
6262
6263 \end_inset
6264 </cell>
6265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6266 \begin_inset Text
6267
6268 \begin_layout Standard
6269 asd
6270 \end_layout
6271
6272 \end_inset
6273 </cell>
6274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6275 \begin_inset Text
6276
6277 \begin_layout Standard
6278 asd
6279 \end_layout
6280
6281 \end_inset
6282 </cell>
6283 </row>
6284 </lyxtabular>
6285
6286 \end_inset
6287
6288
6289 \end_layout
6290
6291 \begin_layout Standard
6292 \begin_inset ERT
6293 status collapsed
6294
6295 \begin_layout Standard
6296
6297
6298 \backslash
6299 setlength{
6300 \backslash
6301 LTcapwidth}{4in}
6302 \end_layout
6303
6304 \end_inset
6305
6306
6307 \end_layout
6308
6309 \begin_layout Standard
6310 \begin_inset Note Greyedout
6311 status open
6312
6313 \begin_layout Standard
6314
6315 \series bold
6316 Note:
6317 \series default
6318  When the LaTeX-package 
6319 \series bold
6320 caption
6321 \series default
6322
6323 \begin_inset LatexCommand index
6324 name "LaTeX-packages ! caption"
6325
6326 \end_inset
6327
6328  is used, as in this document, the full page width is used for the caption
6329  when you use the default value of 4\InsetSpace \thinspace{}
6330 in for 
6331 \series bold
6332
6333 \backslash
6334 LTcapwidth
6335 \series default
6336 .
6337  To get in this case exactly a 4\InsetSpace \thinspace{}
6338 in wide caption, you can either use a value
6339  slightly different from 4.0\InsetSpace \thinspace{}
6340 in, e.g.
6341  3.99\InsetSpace \thinspace{}
6342 in, or the LaTeX-command 
6343 \series bold
6344
6345 \backslash
6346 captionsetup{width=value}
6347 \series default
6348  that is provided by the 
6349 \series bold
6350 caption
6351 \series default
6352 -package.
6353 \end_layout
6354
6355 \end_inset
6356
6357
6358 \end_layout
6359
6360 \begin_layout Subsubsection
6361 Different Captions for Table Pages
6362 \begin_inset LatexCommand index
6363 name "Longtables ! Different Captions for Pages"
6364
6365 \end_inset
6366
6367
6368 \end_layout
6369
6370 \begin_layout Standard
6371 When the other captions should differ from the one of the first table page,
6372  insert a caption with a non-empty short title in a dummy caption row marked
6373  as first header.
6374  The caption used for the other table pages is inserted as caption without
6375  a short title in a dummy caption row that is marked as main header.
6376  When this caption shouldn't include the table number, use the command
6377 \end_layout
6378
6379 \begin_layout Standard
6380
6381 \series bold
6382
6383 \backslash
6384 caption*{caption text}
6385 \end_layout
6386
6387 \begin_layout Standard
6388 instead of LyX's caption box.
6389  The label to reference the table is inserted into the caption of the first
6390  header.
6391  Table\InsetSpace ~
6392
6393 \begin_inset LatexCommand ref
6394 reference "tab:DiffCaptions"
6395
6396 \end_inset
6397
6398  is an example for a longtable with different heading where the second caption
6399  doesn't include the table number.
6400 \end_layout
6401
6402 \begin_layout Standard
6403 \align center
6404 \begin_inset Tabular
6405 <lyxtabular version="3" rows="60" columns="3">
6406 <features islongtable="true">
6407 <column alignment="left" valignment="top" leftline="true" width="0cm">
6408 <column alignment="left" valignment="top" rightline="true" width="0pt">
6409 <column alignment="right" valignment="top" rightline="true" width="0pt">
6410 <row endfirsthead="true">
6411 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6412 \begin_inset Text
6413
6414 \begin_layout Standard
6415 \begin_inset Caption
6416
6417 \begin_layout Standard
6418 Example Phone List
6419 \begin_inset LatexCommand label
6420 name "tab:DiffCaptions"
6421
6422 \end_inset
6423
6424
6425 \begin_inset OptArg
6426 status collapsed
6427
6428 \begin_layout Standard
6429 Example Phone List
6430 \end_layout
6431
6432 \end_inset
6433
6434
6435 \end_layout
6436
6437 \end_inset
6438
6439
6440 \begin_inset ERT
6441 status collapsed
6442
6443 \begin_layout Standard
6444
6445
6446 \backslash
6447
6448 \backslash
6449 %
6450 \end_layout
6451
6452 \end_inset
6453
6454
6455 \end_layout
6456
6457 \end_inset
6458 </cell>
6459 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6460 \begin_inset Text
6461
6462 \begin_layout Standard
6463
6464 \end_layout
6465
6466 \end_inset
6467 </cell>
6468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6469 \begin_inset Text
6470
6471 \begin_layout Standard
6472
6473 \end_layout
6474
6475 \end_inset
6476 </cell>
6477 </row>
6478 <row topline="true" bottomline="true" endfirsthead="true">
6479 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6480 \begin_inset Text
6481
6482 \begin_layout Standard
6483
6484 \series bold
6485 Example Phone List (ignore the names)
6486 \end_layout
6487
6488 \end_inset
6489 </cell>
6490 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6491 \begin_inset Text
6492
6493 \begin_layout Standard
6494
6495 \end_layout
6496
6497 \end_inset
6498 </cell>
6499 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6500 \begin_inset Text
6501
6502 \begin_layout Standard
6503
6504 \end_layout
6505
6506 \end_inset
6507 </cell>
6508 </row>
6509 <row topline="true" bottomline="true" endfirsthead="true">
6510 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6511 \begin_inset Text
6512
6513 \begin_layout Standard
6514
6515 \series bold
6516 NAME
6517 \end_layout
6518
6519 \end_inset
6520 </cell>
6521 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6522 \begin_inset Text
6523
6524 \begin_layout Standard
6525
6526 \end_layout
6527
6528 \end_inset
6529 </cell>
6530 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6531 \begin_inset Text
6532
6533 \begin_layout Standard
6534
6535 \series bold
6536 TEL.
6537 \end_layout
6538
6539 \end_inset
6540 </cell>
6541 </row>
6542 <row bottomline="true" endhead="true">
6543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6544 \begin_inset Text
6545
6546 \begin_layout Standard
6547 \begin_inset ERT
6548 status open
6549
6550 \begin_layout Standard
6551
6552
6553 \backslash
6554 caption*{Continued Example Phone List}
6555 \backslash
6556
6557 \backslash
6558 %
6559 \end_layout
6560
6561 \end_inset
6562
6563
6564 \end_layout
6565
6566 \end_inset
6567 </cell>
6568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6569 \begin_inset Text
6570
6571 \begin_layout Standard
6572
6573 \end_layout
6574
6575 \end_inset
6576 </cell>
6577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6578 \begin_inset Text
6579
6580 \begin_layout Standard
6581
6582 \end_layout
6583
6584 \end_inset
6585 </cell>
6586 </row>
6587 <row topline="true" bottomline="true" endhead="true">
6588 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6589 \begin_inset Text
6590
6591 \begin_layout Standard
6592
6593 \series bold
6594 Example Phone List
6595 \end_layout
6596
6597 \end_inset
6598 </cell>
6599 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6600 \begin_inset Text
6601
6602 \begin_layout Standard
6603
6604 \end_layout
6605
6606 \end_inset
6607 </cell>
6608 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6609 \begin_inset Text
6610
6611 \begin_layout Standard
6612
6613 \end_layout
6614
6615 \end_inset
6616 </cell>
6617 </row>
6618 <row topline="true" bottomline="true" endhead="true">
6619 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6620 \begin_inset Text
6621
6622 \begin_layout Standard
6623
6624 \series bold
6625 NAME
6626 \end_layout
6627
6628 \end_inset
6629 </cell>
6630 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6631 \begin_inset Text
6632
6633 \begin_layout Standard
6634
6635 \end_layout
6636
6637 \end_inset
6638 </cell>
6639 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6640 \begin_inset Text
6641
6642 \begin_layout Standard
6643
6644 \series bold
6645 TEL.
6646 \end_layout
6647
6648 \end_inset
6649 </cell>
6650 </row>
6651 <row topline="true" bottomline="true" endfoot="true">
6652 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6653 \begin_inset Text
6654
6655 \begin_layout Standard
6656 continued on next page
6657 \end_layout
6658
6659 \end_inset
6660 </cell>
6661 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6662 \begin_inset Text
6663
6664 \begin_layout Standard
6665
6666 \end_layout
6667
6668 \end_inset
6669 </cell>
6670 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6671 \begin_inset Text
6672
6673 \begin_layout Standard
6674
6675 \end_layout
6676
6677 \end_inset
6678 </cell>
6679 </row>
6680 <row>
6681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6682 \begin_inset Text
6683
6684 \begin_layout Standard
6685
6686 \series bold
6687 Annovi
6688 \end_layout
6689
6690 \end_inset
6691 </cell>
6692 <cell alignment="center" valignment="top" topline="true" usebox="none">
6693 \begin_inset Text
6694
6695 \begin_layout Standard
6696 Silvia
6697 \end_layout
6698
6699 \end_inset
6700 </cell>
6701 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6702 \begin_inset Text
6703
6704 \begin_layout Standard
6705 111
6706 \end_layout
6707
6708 \end_inset
6709 </cell>
6710 </row>
6711 <row>
6712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6713 \begin_inset Text
6714
6715 \begin_layout Standard
6716
6717 \series bold
6718 Bertoli
6719 \end_layout
6720
6721 \end_inset
6722 </cell>
6723 <cell alignment="center" valignment="top" topline="true" usebox="none">
6724 \begin_inset Text
6725
6726 \begin_layout Standard
6727 Stefano
6728 \end_layout
6729
6730 \end_inset
6731 </cell>
6732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6733 \begin_inset Text
6734
6735 \begin_layout Standard
6736 111
6737 \end_layout
6738
6739 \end_inset
6740 </cell>
6741 </row>
6742 <row>
6743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6744 \begin_inset Text
6745
6746 \begin_layout Standard
6747
6748 \series bold
6749 Bozzi
6750 \end_layout
6751
6752 \end_inset
6753 </cell>
6754 <cell alignment="center" valignment="top" topline="true" usebox="none">
6755 \begin_inset Text
6756
6757 \begin_layout Standard
6758 Walter
6759 \end_layout
6760
6761 \end_inset
6762 </cell>
6763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6764 \begin_inset Text
6765
6766 \begin_layout Standard
6767 111
6768 \end_layout
6769
6770 \end_inset
6771 </cell>
6772 </row>
6773 <row>
6774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6775 \begin_inset Text
6776
6777 \begin_layout Standard
6778
6779 \series bold
6780 Cachia
6781 \end_layout
6782
6783 \end_inset
6784 </cell>
6785 <cell alignment="center" valignment="top" topline="true" usebox="none">
6786 \begin_inset Text
6787
6788 \begin_layout Standard
6789 Maria
6790 \end_layout
6791
6792 \end_inset
6793 </cell>
6794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6795 \begin_inset Text
6796
6797 \begin_layout Standard
6798 111
6799 \end_layout
6800
6801 \end_inset
6802 </cell>
6803 </row>
6804 <row>
6805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6806 \begin_inset Text
6807
6808 \begin_layout Standard
6809
6810 \series bold
6811 Cachia
6812 \end_layout
6813
6814 \end_inset
6815 </cell>
6816 <cell alignment="center" valignment="top" topline="true" usebox="none">
6817 \begin_inset Text
6818
6819 \begin_layout Standard
6820 Maurizio
6821 \end_layout
6822
6823 \end_inset
6824 </cell>
6825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6826 \begin_inset Text
6827
6828 \begin_layout Standard
6829 111
6830 \end_layout
6831
6832 \end_inset
6833 </cell>
6834 </row>
6835 <row>
6836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6837 \begin_inset Text
6838
6839 \begin_layout Standard
6840
6841 \series bold
6842 Cinquemani
6843 \end_layout
6844
6845 \end_inset
6846 </cell>
6847 <cell alignment="center" valignment="top" topline="true" usebox="none">
6848 \begin_inset Text
6849
6850 \begin_layout Standard
6851 Giusi
6852 \end_layout
6853
6854 \end_inset
6855 </cell>
6856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6857 \begin_inset Text
6858
6859 \begin_layout Standard
6860 111
6861 \end_layout
6862
6863 \end_inset
6864 </cell>
6865 </row>
6866 <row>
6867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6868 \begin_inset Text
6869
6870 \begin_layout Standard
6871
6872 \series bold
6873 Colin
6874 \end_layout
6875
6876 \end_inset
6877 </cell>
6878 <cell alignment="center" valignment="top" topline="true" usebox="none">
6879 \begin_inset Text
6880
6881 \begin_layout Standard
6882 Bernard
6883 \end_layout
6884
6885 \end_inset
6886 </cell>
6887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6888 \begin_inset Text
6889
6890 \begin_layout Standard
6891 111
6892 \end_layout
6893
6894 \end_inset
6895 </cell>
6896 </row>
6897 <row>
6898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6899 \begin_inset Text
6900
6901 \begin_layout Standard
6902
6903 \series bold
6904 Concli
6905 \end_layout
6906
6907 \end_inset
6908 </cell>
6909 <cell alignment="center" valignment="top" topline="true" usebox="none">
6910 \begin_inset Text
6911
6912 \begin_layout Standard
6913 Gianfranco
6914 \end_layout
6915
6916 \end_inset
6917 </cell>
6918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6919 \begin_inset Text
6920
6921 \begin_layout Standard
6922 111
6923 \end_layout
6924
6925 \end_inset
6926 </cell>
6927 </row>
6928 <row>
6929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6930 \begin_inset Text
6931
6932 \begin_layout Standard
6933
6934 \series bold
6935 Dal Bosco
6936 \end_layout
6937
6938 \end_inset
6939 </cell>
6940 <cell alignment="center" valignment="top" topline="true" usebox="none">
6941 \begin_inset Text
6942
6943 \begin_layout Standard
6944 Carolina
6945 \end_layout
6946
6947 \end_inset
6948 </cell>
6949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6950 \begin_inset Text
6951
6952 \begin_layout Standard
6953 111
6954 \end_layout
6955
6956 \end_inset
6957 </cell>
6958 </row>
6959 <row>
6960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6961 \begin_inset Text
6962
6963 \begin_layout Standard
6964
6965 \series bold
6966 Dalpiaz
6967 \end_layout
6968
6969 \end_inset
6970 </cell>
6971 <cell alignment="center" valignment="top" topline="true" usebox="none">
6972 \begin_inset Text
6973
6974 \begin_layout Standard
6975 Annamaria
6976 \end_layout
6977
6978 \end_inset
6979 </cell>
6980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6981 \begin_inset Text
6982
6983 \begin_layout Standard
6984 111
6985 \end_layout
6986
6987 \end_inset
6988 </cell>
6989 </row>
6990 <row>
6991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6992 \begin_inset Text
6993
6994 \begin_layout Standard
6995
6996 \series bold
6997 Feliciello
6998 \end_layout
6999
7000 \end_inset
7001 </cell>
7002 <cell alignment="center" valignment="top" topline="true" usebox="none">
7003 \begin_inset Text
7004
7005 \begin_layout Standard
7006 Domenico
7007 \end_layout
7008
7009 \end_inset
7010 </cell>
7011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7012 \begin_inset Text
7013
7014 \begin_layout Standard
7015 111
7016 \end_layout
7017
7018 \end_inset
7019 </cell>
7020 </row>
7021 <row>
7022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7023 \begin_inset Text
7024
7025 \begin_layout Standard
7026
7027 \series bold
7028 Focarelli
7029 \end_layout
7030
7031 \end_inset
7032 </cell>
7033 <cell alignment="center" valignment="top" topline="true" usebox="none">
7034 \begin_inset Text
7035
7036 \begin_layout Standard
7037 Paola
7038 \end_layout
7039
7040 \end_inset
7041 </cell>
7042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7043 \begin_inset Text
7044
7045 \begin_layout Standard
7046 111
7047 \end_layout
7048
7049 \end_inset
7050 </cell>
7051 </row>
7052 <row>
7053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7054 \begin_inset Text
7055
7056 \begin_layout Standard
7057
7058 \series bold
7059 Galletti
7060 \end_layout
7061
7062 \end_inset
7063 </cell>
7064 <cell alignment="center" valignment="top" topline="true" usebox="none">
7065 \begin_inset Text
7066
7067 \begin_layout Standard
7068 Oreste
7069 \end_layout
7070
7071 \end_inset
7072 </cell>
7073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7074 \begin_inset Text
7075
7076 \begin_layout Standard
7077 111
7078 \end_layout
7079
7080 \end_inset
7081 </cell>
7082 </row>
7083 <row>
7084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7085 \begin_inset Text
7086
7087 \begin_layout Standard
7088
7089 \series bold
7090 Gasparini
7091 \end_layout
7092
7093 \end_inset
7094 </cell>
7095 <cell alignment="center" valignment="top" topline="true" usebox="none">
7096 \begin_inset Text
7097
7098 \begin_layout Standard
7099 Franca
7100 \end_layout
7101
7102 \end_inset
7103 </cell>
7104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7105 \begin_inset Text
7106
7107 \begin_layout Standard
7108 111
7109 \end_layout
7110
7111 \end_inset
7112 </cell>
7113 </row>
7114 <row>
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7116 \begin_inset Text
7117
7118 \begin_layout Standard
7119
7120 \series bold
7121 Rizzardi
7122 \series default
7123
7124 \begin_inset Foot
7125 status collapsed
7126
7127 \begin_layout Standard
7128 Example footnote
7129 \end_layout
7130
7131 \end_inset
7132
7133
7134 \end_layout
7135
7136 \end_inset
7137 </cell>
7138 <cell alignment="center" valignment="top" topline="true" usebox="none">
7139 \begin_inset Text
7140
7141 \begin_layout Standard
7142 Paola
7143 \end_layout
7144
7145 \end_inset
7146 </cell>
7147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7148 \begin_inset Text
7149
7150 \begin_layout Standard
7151 111
7152 \end_layout
7153
7154 \end_inset
7155 </cell>
7156 </row>
7157 <row>
7158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7159 \begin_inset Text
7160
7161 \begin_layout Standard
7162
7163 \series bold
7164 Lassini
7165 \end_layout
7166
7167 \end_inset
7168 </cell>
7169 <cell alignment="center" valignment="top" topline="true" usebox="none">
7170 \begin_inset Text
7171
7172 \begin_layout Standard
7173 Giancarlo
7174 \end_layout
7175
7176 \end_inset
7177 </cell>
7178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7179 \begin_inset Text
7180
7181 \begin_layout Standard
7182 111
7183 \end_layout
7184
7185 \end_inset
7186 </cell>
7187 </row>
7188 <row>
7189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7190 \begin_inset Text
7191
7192 \begin_layout Standard
7193
7194 \series bold
7195 Malfatti
7196 \end_layout
7197
7198 \end_inset
7199 </cell>
7200 <cell alignment="center" valignment="top" topline="true" usebox="none">
7201 \begin_inset Text
7202
7203 \begin_layout Standard
7204 Luciano
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Standard
7213 111
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 </row>
7219 <row>
7220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7221 \begin_inset Text
7222
7223 \begin_layout Standard
7224
7225 \series bold
7226 Malfatti
7227 \end_layout
7228
7229 \end_inset
7230 </cell>
7231 <cell alignment="center" valignment="top" topline="true" usebox="none">
7232 \begin_inset Text
7233
7234 \begin_layout Standard
7235 Valeriano
7236 \end_layout
7237
7238 \end_inset
7239 </cell>
7240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7241 \begin_inset Text
7242
7243 \begin_layout Standard
7244 111
7245 \end_layout
7246
7247 \end_inset
7248 </cell>
7249 </row>
7250 <row>
7251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7252 \begin_inset Text
7253
7254 \begin_layout Standard
7255
7256 \series bold
7257 Meneguzzo
7258 \end_layout
7259
7260 \end_inset
7261 </cell>
7262 <cell alignment="center" valignment="top" topline="true" usebox="none">
7263 \begin_inset Text
7264
7265 \begin_layout Standard
7266 Roberto
7267 \end_layout
7268
7269 \end_inset
7270 </cell>
7271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7272 \begin_inset Text
7273
7274 \begin_layout Standard
7275 111
7276 \end_layout
7277
7278 \end_inset
7279 </cell>
7280 </row>
7281 <row>
7282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7283 \begin_inset Text
7284
7285 \begin_layout Standard
7286
7287 \series bold
7288 Mezzadra
7289 \end_layout
7290
7291 \end_inset
7292 </cell>
7293 <cell alignment="center" valignment="top" topline="true" usebox="none">
7294 \begin_inset Text
7295
7296 \begin_layout Standard
7297 Roberto
7298 \end_layout
7299
7300 \end_inset
7301 </cell>
7302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7303 \begin_inset Text
7304
7305 \begin_layout Standard
7306 111
7307 \end_layout
7308
7309 \end_inset
7310 </cell>
7311 </row>
7312 <row>
7313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7314 \begin_inset Text
7315
7316 \begin_layout Standard
7317
7318 \series bold
7319 Pirpamer
7320 \end_layout
7321
7322 \end_inset
7323 </cell>
7324 <cell alignment="center" valignment="top" topline="true" usebox="none">
7325 \begin_inset Text
7326
7327 \begin_layout Standard
7328 Erich
7329 \end_layout
7330
7331 \end_inset
7332 </cell>
7333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7334 \begin_inset Text
7335
7336 \begin_layout Standard
7337 111
7338 \end_layout
7339
7340 \end_inset
7341 </cell>
7342 </row>
7343 <row>
7344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7345 \begin_inset Text
7346
7347 \begin_layout Standard
7348
7349 \series bold
7350 Pochiesa
7351 \end_layout
7352
7353 \end_inset
7354 </cell>
7355 <cell alignment="center" valignment="top" topline="true" usebox="none">
7356 \begin_inset Text
7357
7358 \begin_layout Standard
7359 Paolo
7360 \end_layout
7361
7362 \end_inset
7363 </cell>
7364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7365 \begin_inset Text
7366
7367 \begin_layout Standard
7368 111, 222
7369 \end_layout
7370
7371 \end_inset
7372 </cell>
7373 </row>
7374 <row>
7375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7376 \begin_inset Text
7377
7378 \begin_layout Standard
7379
7380 \series bold
7381 Radina
7382 \end_layout
7383
7384 \end_inset
7385 </cell>
7386 <cell alignment="center" valignment="top" topline="true" usebox="none">
7387 \begin_inset Text
7388
7389 \begin_layout Standard
7390 Claudio
7391 \end_layout
7392
7393 \end_inset
7394 </cell>
7395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7396 \begin_inset Text
7397
7398 \begin_layout Standard
7399 111
7400 \end_layout
7401
7402 \end_inset
7403 </cell>
7404 </row>
7405 <row>
7406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7407 \begin_inset Text
7408
7409 \begin_layout Standard
7410
7411 \series bold
7412 Stuffer
7413 \end_layout
7414
7415 \end_inset
7416 </cell>
7417 <cell alignment="center" valignment="top" topline="true" usebox="none">
7418 \begin_inset Text
7419
7420 \begin_layout Standard
7421 Oskar
7422 \end_layout
7423
7424 \end_inset
7425 </cell>
7426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7427 \begin_inset Text
7428
7429 \begin_layout Standard
7430 111
7431 \end_layout
7432
7433 \end_inset
7434 </cell>
7435 </row>
7436 <row>
7437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7438 \begin_inset Text
7439
7440 \begin_layout Standard
7441
7442 \series bold
7443 Tacchelli
7444 \end_layout
7445
7446 \end_inset
7447 </cell>
7448 <cell alignment="center" valignment="top" topline="true" usebox="none">
7449 \begin_inset Text
7450
7451 \begin_layout Standard
7452 Ugo
7453 \end_layout
7454
7455 \end_inset
7456 </cell>
7457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7458 \begin_inset Text
7459
7460 \begin_layout Standard
7461 111
7462 \end_layout
7463
7464 \end_inset
7465 </cell>
7466 </row>
7467 <row>
7468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7469 \begin_inset Text
7470
7471 \begin_layout Standard
7472
7473 \series bold
7474 Tezzele
7475 \end_layout
7476
7477 \end_inset
7478 </cell>
7479 <cell alignment="center" valignment="top" topline="true" usebox="none">
7480 \begin_inset Text
7481
7482 \begin_layout Standard
7483 Margit
7484 \end_layout
7485
7486 \end_inset
7487 </cell>
7488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7489 \begin_inset Text
7490
7491 \begin_layout Standard
7492 111
7493 \end_layout
7494
7495 \end_inset
7496 </cell>
7497 </row>
7498 <row>
7499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7500 \begin_inset Text
7501
7502 \begin_layout Standard
7503
7504 \series bold
7505 Unterkalmsteiner
7506 \end_layout
7507
7508 \end_inset
7509 </cell>
7510 <cell alignment="center" valignment="top" topline="true" usebox="none">
7511 \begin_inset Text
7512
7513 \begin_layout Standard
7514 Frieda
7515 \end_layout
7516
7517 \end_inset
7518 </cell>
7519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7520 \begin_inset Text
7521
7522 \begin_layout Standard
7523 111
7524 \end_layout
7525
7526 \end_inset
7527 </cell>
7528 </row>
7529 <row>
7530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7531 \begin_inset Text
7532
7533 \begin_layout Standard
7534
7535 \series bold
7536 Vieider
7537 \end_layout
7538
7539 \end_inset
7540 </cell>
7541 <cell alignment="center" valignment="top" topline="true" usebox="none">
7542 \begin_inset Text
7543
7544 \begin_layout Standard
7545 Hilde
7546 \end_layout
7547
7548 \end_inset
7549 </cell>
7550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7551 \begin_inset Text
7552
7553 \begin_layout Standard
7554 111
7555 \end_layout
7556
7557 \end_inset
7558 </cell>
7559 </row>
7560 <row>
7561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7562 \begin_inset Text
7563
7564 \begin_layout Standard
7565
7566 \series bold
7567 Vigna
7568 \end_layout
7569
7570 \end_inset
7571 </cell>
7572 <cell alignment="center" valignment="top" topline="true" usebox="none">
7573 \begin_inset Text
7574
7575 \begin_layout Standard
7576 Jürgen
7577 \end_layout
7578
7579 \end_inset
7580 </cell>
7581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7582 \begin_inset Text
7583
7584 \begin_layout Standard
7585 111
7586 \end_layout
7587
7588 \end_inset
7589 </cell>
7590 </row>
7591 <row>
7592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7593 \begin_inset Text
7594
7595 \begin_layout Standard
7596
7597 \series bold
7598 Weber
7599 \end_layout
7600
7601 \end_inset
7602 </cell>
7603 <cell alignment="center" valignment="top" topline="true" usebox="none">
7604 \begin_inset Text
7605
7606 \begin_layout Standard
7607 Maurizio
7608 \end_layout
7609
7610 \end_inset
7611 </cell>
7612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7613 \begin_inset Text
7614
7615 \begin_layout Standard
7616 111
7617 \end_layout
7618
7619 \end_inset
7620 </cell>
7621 </row>
7622 <row bottomline="true">
7623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7624 \begin_inset Text
7625
7626 \begin_layout Standard
7627
7628 \series bold
7629 Winkler
7630 \end_layout
7631
7632 \end_inset
7633 </cell>
7634 <cell alignment="center" valignment="top" topline="true" usebox="none">
7635 \begin_inset Text
7636
7637 \begin_layout Standard
7638 Franz
7639 \end_layout
7640
7641 \end_inset
7642 </cell>
7643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7644 \begin_inset Text
7645
7646 \begin_layout Standard
7647 111
7648 \end_layout
7649
7650 \end_inset
7651 </cell>
7652 </row>
7653 <row bottomline="true">
7654 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7655 \begin_inset Text
7656
7657 \begin_layout Standard
7658  
7659 \end_layout
7660
7661 \end_inset
7662 </cell>
7663 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7664 \begin_inset Text
7665
7666 \begin_layout Standard
7667
7668 \end_layout
7669
7670 \end_inset
7671 </cell>
7672 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7673 \begin_inset Text
7674
7675 \begin_layout Standard
7676
7677 \end_layout
7678
7679 \end_inset
7680 </cell>
7681 </row>
7682 <row>
7683 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7684 \begin_inset Text
7685
7686 \begin_layout Standard
7687
7688 \series bold
7689 Annovi
7690 \end_layout
7691
7692 \end_inset
7693 </cell>
7694 <cell alignment="center" valignment="top" topline="true" usebox="none">
7695 \begin_inset Text
7696
7697 \begin_layout Standard
7698 Silvia
7699 \end_layout
7700
7701 \end_inset
7702 </cell>
7703 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7704 \begin_inset Text
7705
7706 \begin_layout Standard
7707 555
7708 \end_layout
7709
7710 \end_inset
7711 </cell>
7712 </row>
7713 <row>
7714 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7715 \begin_inset Text
7716
7717 \begin_layout Standard
7718
7719 \series bold
7720 Bertoli
7721 \end_layout
7722
7723 \end_inset
7724 </cell>
7725 <cell alignment="center" valignment="top" topline="true" usebox="none">
7726 \begin_inset Text
7727
7728 \begin_layout Standard
7729 Stefano
7730 \end_layout
7731
7732 \end_inset
7733 </cell>
7734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7735 \begin_inset Text
7736
7737 \begin_layout Standard
7738 555
7739 \end_layout
7740
7741 \end_inset
7742 </cell>
7743 </row>
7744 <row>
7745 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7746 \begin_inset Text
7747
7748 \begin_layout Standard
7749
7750 \series bold
7751 Bozzi
7752 \end_layout
7753
7754 \end_inset
7755 </cell>
7756 <cell alignment="center" valignment="top" topline="true" usebox="none">
7757 \begin_inset Text
7758
7759 \begin_layout Standard
7760 Walter
7761 \end_layout
7762
7763 \end_inset
7764 </cell>
7765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7766 \begin_inset Text
7767
7768 \begin_layout Standard
7769 555
7770 \end_layout
7771
7772 \end_inset
7773 </cell>
7774 </row>
7775 <row>
7776 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7777 \begin_inset Text
7778
7779 \begin_layout Standard
7780
7781 \series bold
7782 Cachia
7783 \end_layout
7784
7785 \end_inset
7786 </cell>
7787 <cell alignment="center" valignment="top" topline="true" usebox="none">
7788 \begin_inset Text
7789
7790 \begin_layout Standard
7791 Maria
7792 \end_layout
7793
7794 \end_inset
7795 </cell>
7796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7797 \begin_inset Text
7798
7799 \begin_layout Standard
7800 555
7801 \end_layout
7802
7803 \end_inset
7804 </cell>
7805 </row>
7806 <row>
7807 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7808 \begin_inset Text
7809
7810 \begin_layout Standard
7811
7812 \series bold
7813 Cachia
7814 \end_layout
7815
7816 \end_inset
7817 </cell>
7818 <cell alignment="center" valignment="top" topline="true" usebox="none">
7819 \begin_inset Text
7820
7821 \begin_layout Standard
7822 Maurizio
7823 \end_layout
7824
7825 \end_inset
7826 </cell>
7827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7828 \begin_inset Text
7829
7830 \begin_layout Standard
7831 555
7832 \end_layout
7833
7834 \end_inset
7835 </cell>
7836 </row>
7837 <row>
7838 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7839 \begin_inset Text
7840
7841 \begin_layout Standard
7842
7843 \series bold
7844 Cinquemani
7845 \end_layout
7846
7847 \end_inset
7848 </cell>
7849 <cell alignment="center" valignment="top" topline="true" usebox="none">
7850 \begin_inset Text
7851
7852 \begin_layout Standard
7853 Giusi
7854 \end_layout
7855
7856 \end_inset
7857 </cell>
7858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7859 \begin_inset Text
7860
7861 \begin_layout Standard
7862 555
7863 \end_layout
7864
7865 \end_inset
7866 </cell>
7867 </row>
7868 <row>
7869 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7870 \begin_inset Text
7871
7872 \begin_layout Standard
7873
7874 \series bold
7875 Colin
7876 \end_layout
7877
7878 \end_inset
7879 </cell>
7880 <cell alignment="center" valignment="top" topline="true" usebox="none">
7881 \begin_inset Text
7882
7883 \begin_layout Standard
7884 Bernard
7885 \end_layout
7886
7887 \end_inset
7888 </cell>
7889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7890 \begin_inset Text
7891
7892 \begin_layout Standard
7893 555
7894 \end_layout
7895
7896 \end_inset
7897 </cell>
7898 </row>
7899 <row>
7900 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7901 \begin_inset Text
7902
7903 \begin_layout Standard
7904
7905 \series bold
7906 Concli
7907 \end_layout
7908
7909 \end_inset
7910 </cell>
7911 <cell alignment="center" valignment="top" topline="true" usebox="none">
7912 \begin_inset Text
7913
7914 \begin_layout Standard
7915 Gianfranco
7916 \end_layout
7917
7918 \end_inset
7919 </cell>
7920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7921 \begin_inset Text
7922
7923 \begin_layout Standard
7924 555
7925 \end_layout
7926
7927 \end_inset
7928 </cell>
7929 </row>
7930 <row>
7931 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7932 \begin_inset Text
7933
7934 \begin_layout Standard
7935
7936 \series bold
7937 Dal Bosco
7938 \end_layout
7939
7940 \end_inset
7941 </cell>
7942 <cell alignment="center" valignment="top" topline="true" usebox="none">
7943 \begin_inset Text
7944
7945 \begin_layout Standard
7946 Carolina
7947 \end_layout
7948
7949 \end_inset
7950 </cell>
7951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7952 \begin_inset Text
7953
7954 \begin_layout Standard
7955 555
7956 \end_layout
7957
7958 \end_inset
7959 </cell>
7960 </row>
7961 <row>
7962 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7963 \begin_inset Text
7964
7965 \begin_layout Standard
7966
7967 \series bold
7968 Dalpiaz
7969 \end_layout
7970
7971 \end_inset
7972 </cell>
7973 <cell alignment="center" valignment="top" topline="true" usebox="none">
7974 \begin_inset Text
7975
7976 \begin_layout Standard
7977 Annamaria
7978 \end_layout
7979
7980 \end_inset
7981 </cell>
7982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7983 \begin_inset Text
7984
7985 \begin_layout Standard
7986 555
7987 \end_layout
7988
7989 \end_inset
7990 </cell>
7991 </row>
7992 <row>
7993 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7994 \begin_inset Text
7995
7996 \begin_layout Standard
7997
7998 \series bold
7999 Feliciello
8000 \end_layout
8001
8002 \end_inset
8003 </cell>
8004 <cell alignment="center" valignment="top" topline="true" usebox="none">
8005 \begin_inset Text
8006
8007 \begin_layout Standard
8008 Domenico
8009 \end_layout
8010
8011 \end_inset
8012 </cell>
8013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8014 \begin_inset Text
8015
8016 \begin_layout Standard
8017 555
8018 \end_layout
8019
8020 \end_inset
8021 </cell>
8022 </row>
8023 <row>
8024 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8025 \begin_inset Text
8026
8027 \begin_layout Standard
8028
8029 \series bold
8030 Focarelli
8031 \end_layout
8032
8033 \end_inset
8034 </cell>
8035 <cell alignment="center" valignment="top" topline="true" usebox="none">
8036 \begin_inset Text
8037
8038 \begin_layout Standard
8039 Paola
8040 \end_layout
8041
8042 \end_inset
8043 </cell>
8044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8045 \begin_inset Text
8046
8047 \begin_layout Standard
8048 555
8049 \end_layout
8050
8051 \end_inset
8052 </cell>
8053 </row>
8054 <row>
8055 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8056 \begin_inset Text
8057
8058 \begin_layout Standard
8059
8060 \series bold
8061 Galletti
8062 \end_layout
8063
8064 \end_inset
8065 </cell>
8066 <cell alignment="center" valignment="top" topline="true" usebox="none">
8067 \begin_inset Text
8068
8069 \begin_layout Standard
8070 Oreste
8071 \end_layout
8072
8073 \end_inset
8074 </cell>
8075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8076 \begin_inset Text
8077
8078 \begin_layout Standard
8079 555
8080 \end_layout
8081
8082 \end_inset
8083 </cell>
8084 </row>
8085 <row>
8086 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8087 \begin_inset Text
8088
8089 \begin_layout Standard
8090
8091 \series bold
8092 Gasparini
8093 \end_layout
8094
8095 \end_inset
8096 </cell>
8097 <cell alignment="center" valignment="top" topline="true" usebox="none">
8098 \begin_inset Text
8099
8100 \begin_layout Standard
8101 Franca
8102 \end_layout
8103
8104 \end_inset
8105 </cell>
8106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8107 \begin_inset Text
8108
8109 \begin_layout Standard
8110 555
8111 \end_layout
8112
8113 \end_inset
8114 </cell>
8115 </row>
8116 <row>
8117 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8118 \begin_inset Text
8119
8120 \begin_layout Standard
8121
8122 \series bold
8123 Rizzardi
8124 \end_layout
8125
8126 \end_inset
8127 </cell>
8128 <cell alignment="center" valignment="top" topline="true" usebox="none">
8129 \begin_inset Text
8130
8131 \begin_layout Standard
8132 Paola
8133 \end_layout
8134
8135 \end_inset
8136 </cell>
8137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8138 \begin_inset Text
8139
8140 \begin_layout Standard
8141 555
8142 \end_layout
8143
8144 \end_inset
8145 </cell>
8146 </row>
8147 <row>
8148 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8149 \begin_inset Text
8150
8151 \begin_layout Standard
8152
8153 \series bold
8154 Lassini
8155 \end_layout
8156
8157 \end_inset
8158 </cell>
8159 <cell alignment="center" valignment="top" topline="true" usebox="none">
8160 \begin_inset Text
8161
8162 \begin_layout Standard
8163 Giancarlo
8164 \end_layout
8165
8166 \end_inset
8167 </cell>
8168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8169 \begin_inset Text
8170
8171 \begin_layout Standard
8172 555
8173 \end_layout
8174
8175 \end_inset
8176 </cell>
8177 </row>
8178 <row>
8179 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8180 \begin_inset Text
8181
8182 \begin_layout Standard
8183
8184 \series bold
8185 Malfatti
8186 \end_layout
8187
8188 \end_inset
8189 </cell>
8190 <cell alignment="center" valignment="top" topline="true" usebox="none">
8191 \begin_inset Text
8192
8193 \begin_layout Standard
8194 Luciano
8195 \end_layout
8196
8197 \end_inset
8198 </cell>
8199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8200 \begin_inset Text
8201
8202 \begin_layout Standard
8203 555
8204 \end_layout
8205
8206 \end_inset
8207 </cell>
8208 </row>
8209 <row>
8210 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8211 \begin_inset Text
8212
8213 \begin_layout Standard
8214
8215 \series bold
8216 Malfatti
8217 \end_layout
8218
8219 \end_inset
8220 </cell>
8221 <cell alignment="center" valignment="top" topline="true" usebox="none">
8222 \begin_inset Text
8223
8224 \begin_layout Standard
8225 Valeriano
8226 \end_layout
8227
8228 \end_inset
8229 </cell>
8230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8231 \begin_inset Text
8232
8233 \begin_layout Standard
8234 555
8235 \end_layout
8236
8237 \end_inset
8238 </cell>
8239 </row>
8240 <row>
8241 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8242 \begin_inset Text
8243
8244 \begin_layout Standard
8245
8246 \series bold
8247 Meneguzzo
8248 \end_layout
8249
8250 \end_inset
8251 </cell>
8252 <cell alignment="center" valignment="top" topline="true" usebox="none">
8253 \begin_inset Text
8254
8255 \begin_layout Standard
8256 Roberto
8257 \end_layout
8258
8259 \end_inset
8260 </cell>
8261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8262 \begin_inset Text
8263
8264 \begin_layout Standard
8265 555
8266 \end_layout
8267
8268 \end_inset
8269 </cell>
8270 </row>
8271 <row bottomline="true">
8272 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8273 \begin_inset Text
8274
8275 \begin_layout Standard
8276
8277 \series bold
8278 Mezzadra
8279 \end_layout
8280
8281 \end_inset
8282 </cell>
8283 <cell alignment="center" valignment="top" topline="true" usebox="none">
8284 \begin_inset Text
8285
8286 \begin_layout Standard
8287 Roberto
8288 \end_layout
8289
8290 \end_inset
8291 </cell>
8292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8293 \begin_inset Text
8294
8295 \begin_layout Standard
8296 555
8297 \end_layout
8298
8299 \end_inset
8300 </cell>
8301 </row>
8302 <row bottomline="true" endlastfoot="true">
8303 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8304 \begin_inset Text
8305
8306 \begin_layout Standard
8307
8308 \end_layout
8309
8310 \end_inset
8311 </cell>
8312 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8313 \begin_inset Text
8314
8315 \begin_layout Standard
8316
8317 \end_layout
8318
8319 \end_inset
8320 </cell>
8321 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8322 \begin_inset Text
8323
8324 \begin_layout Standard
8325
8326 \end_layout
8327
8328 \end_inset
8329 </cell>
8330 </row>
8331 </lyxtabular>
8332
8333 \end_inset
8334
8335
8336 \end_layout
8337
8338 \begin_layout Section
8339 Special Longtable Issues
8340 \begin_inset LatexCommand label
8341 name "sec:Special-Longtable-Issues"
8342
8343 \end_inset
8344
8345
8346 \end_layout
8347
8348 \begin_layout Subsection
8349 Longtable Calculation
8350 \begin_inset LatexCommand index
8351 name "Longtables ! Calculation"
8352
8353 \end_inset
8354
8355
8356 \end_layout
8357
8358 \begin_layout Standard
8359 LaTeX calculates the height of table pages and their page breaks using so
8360  called chunks.
8361  Chunks are pieces of the tables that are at once in LaTeX's memory.
8362  The default value is historically set to only 20 table rows.
8363  If you are using longtables with many pages this may slow down the creation
8364  of your document.
8365  You can safely increase the chunk size to values of 100-1000 by adding
8366  this command line to your document preamble:
8367 \end_layout
8368
8369 \begin_layout Standard
8370
8371 \series bold
8372
8373 \backslash
8374 setcounter{LTchunksize}{100}
8375 \end_layout
8376
8377 \begin_layout Subsection
8378 Floats and Longtables
8379 \begin_inset LatexCommand index
8380 name "Longtables ! Floats"
8381
8382 \end_inset
8383
8384
8385 \end_layout
8386
8387 \begin_layout Standard
8388 There might be problems when a float appears on the same page where a longtable
8389  starts.
8390  To avoid such situation, add the command 
8391 \series bold
8392
8393 \backslash
8394 clearpage
8395 \series default
8396  as ERT before your longtable.
8397 \end_layout
8398
8399 \begin_layout Subsection
8400 Forced Page Breaks
8401 \begin_inset LatexCommand index
8402 name "Longtables ! Forced Page Breaks"
8403
8404 \end_inset
8405
8406
8407 \end_layout
8408
8409 \begin_layout Standard
8410 By default tables are only broken between rows.
8411  If you have a cell with multiples lines and want to have a page break within
8412  the cell, insert the new line command 
8413 \begin_inset Quotes eld
8414 \end_inset
8415
8416
8417 \series bold
8418
8419 \backslash
8420
8421 \backslash
8422
8423 \series default
8424
8425 \begin_inset Quotes erd
8426 \end_inset
8427
8428  as ERT at this point of the cell where it should be broken.
8429  Before the 
8430 \series bold
8431
8432 \backslash
8433
8434 \backslash
8435
8436 \series default
8437  command you have to insert in ERT so many 
8438 \begin_inset Quotes eld
8439 \end_inset
8440
8441
8442 \series bold
8443 &
8444 \series default
8445
8446 \begin_inset Quotes erd
8447 \end_inset
8448
8449  characters like the number of the following table columns.
8450  The 
8451 \series bold
8452 &
8453 \series default
8454  is the character to separate table cells.
8455  Write in ERT after each 
8456 \series bold
8457 &
8458 \series default
8459  the content of the corresponding following cell and delete the content
8460  of these cells.
8461 \newline
8462 Behind the the 
8463 \series bold
8464
8465 \backslash
8466
8467 \backslash
8468
8469 \series default
8470  command, insert so many 
8471 \series bold
8472 &
8473 \series default
8474  characters like the number of table columns before the current column.
8475  In Table\InsetSpace ~
8476
8477 \begin_inset LatexCommand ref
8478 reference "tab:ForcedPagebreak"
8479
8480 \end_inset
8481
8482  the cell that should be broken is in the second column followed by another
8483  column.
8484  Therefore the following command was inserted in the cell as ERT behind
8485  
8486 \begin_inset Quotes eld
8487 \end_inset
8488
8489
8490 \emph on
8491 Castelchiodato,
8492 \emph default
8493
8494 \begin_inset Quotes erd
8495 \end_inset
8496
8497 :
8498 \end_layout
8499
8500 \begin_layout Standard
8501
8502 \series bold
8503 & 111
8504 \backslash
8505
8506 \backslash
8507
8508 \newline
8509 &
8510 \end_layout
8511
8512 \begin_layout Standard
8513 The 
8514 \begin_inset Quotes eld
8515 \end_inset
8516
8517 111
8518 \begin_inset Quotes erd
8519 \end_inset
8520
8521  in the third columns of the row was deleted.
8522  If your footer row of the longtable has for a certain reason no upper line
8523  but you would have a horizontal line where the cell is broken, use this
8524  command instead:
8525 \end_layout
8526
8527 \begin_layout Standard
8528
8529 \series bold
8530 & 111
8531 \backslash
8532
8533 \backslash
8534
8535 \newline
8536
8537 \backslash
8538 hline &
8539 \end_layout
8540
8541 \begin_layout Standard
8542 When the cell to be broken is in the last column, the command
8543 \end_layout
8544
8545 \begin_layout Standard
8546
8547 \series bold
8548
8549 \backslash
8550 setlength{
8551 \backslash
8552 parf\SpecialChar \textcompwordmark{}
8553 illskip}{0pt}
8554 \end_layout
8555
8556 \begin_layout Standard
8557 must be inserted as ERT at the beginning of the cell.
8558  This assures that the part of the cell that will be displayed on the new
8559  page appears with the full width.
8560 \end_layout
8561
8562 \begin_layout Standard
8563 \align center
8564 \begin_inset Tabular
8565 <lyxtabular version="3" rows="39" columns="3">
8566 <features islongtable="true">
8567 <column alignment="left" valignment="top" leftline="true" width="0cm">
8568 <column alignment="left" valignment="top" rightline="true" width="3cm">
8569 <column alignment="right" valignment="top" rightline="true" width="0pt">
8570 <row endfirsthead="true">
8571 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8572 \begin_inset Text
8573
8574 \begin_layout Standard
8575 \begin_inset Caption
8576
8577 \begin_layout Standard
8578 Table with forced page break in table cell
8579 \begin_inset LatexCommand label
8580 name "tab:ForcedPagebreak"
8581
8582 \end_inset
8583
8584
8585 \begin_inset OptArg
8586 status collapsed
8587
8588 \begin_layout Standard
8589 Table with forced page break in table cell
8590 \end_layout
8591
8592 \end_inset
8593
8594
8595 \end_layout
8596
8597 \end_inset
8598
8599
8600 \begin_inset ERT
8601 status collapsed
8602
8603 \begin_layout Standard
8604
8605
8606 \backslash
8607
8608 \backslash
8609 %
8610 \end_layout
8611
8612 \end_inset
8613
8614
8615 \end_layout
8616
8617 \end_inset
8618 </cell>
8619 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8620 \begin_inset Text
8621
8622 \begin_layout Standard
8623
8624 \end_layout
8625
8626 \end_inset
8627 </cell>
8628 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8629 \begin_inset Text
8630
8631 \begin_layout Standard
8632
8633 \end_layout
8634
8635 \end_inset
8636 </cell>
8637 </row>
8638 <row topline="true" bottomline="true" endfirsthead="true">
8639 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8640 \begin_inset Text
8641
8642 \begin_layout Standard
8643
8644 \series bold
8645 Example Phone List (ignore the names)
8646 \end_layout
8647
8648 \end_inset
8649 </cell>
8650 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8651 \begin_inset Text
8652
8653 \begin_layout Standard
8654
8655 \end_layout
8656
8657 \end_inset
8658 </cell>
8659 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8660 \begin_inset Text
8661
8662 \begin_layout Standard
8663
8664 \end_layout
8665
8666 \end_inset
8667 </cell>
8668 </row>
8669 <row topline="true" bottomline="true" endfirsthead="true">
8670 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8671 \begin_inset Text
8672
8673 \begin_layout Standard
8674
8675 \series bold
8676 NAME
8677 \end_layout
8678
8679 \end_inset
8680 </cell>
8681 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8682 \begin_inset Text
8683
8684 \begin_layout Standard
8685
8686 \end_layout
8687
8688 \end_inset
8689 </cell>
8690 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8691 \begin_inset Text
8692
8693 \begin_layout Standard
8694
8695 \series bold
8696 TEL.
8697 \end_layout
8698
8699 \end_inset
8700 </cell>
8701 </row>
8702 <row bottomline="true" endhead="true">
8703 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8704 \begin_inset Text
8705
8706 \begin_layout Standard
8707 \begin_inset ERT
8708 status collapsed
8709
8710 \begin_layout Standard
8711
8712
8713 \backslash
8714 caption*{Continued table with forced page break in table cell}
8715 \backslash
8716
8717 \backslash
8718 %
8719 \end_layout
8720
8721 \end_inset
8722
8723
8724 \end_layout
8725
8726 \end_inset
8727 </cell>
8728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8729 \begin_inset Text
8730
8731 \begin_layout Standard
8732
8733 \end_layout
8734
8735 \end_inset
8736 </cell>
8737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8738 \begin_inset Text
8739
8740 \begin_layout Standard
8741
8742 \end_layout
8743
8744 \end_inset
8745 </cell>
8746 </row>
8747 <row topline="true" bottomline="true" endhead="true">
8748 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8749 \begin_inset Text
8750
8751 \begin_layout Standard
8752  
8753 \series bold
8754 Example Phone List
8755 \end_layout
8756
8757 \end_inset
8758 </cell>
8759 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8760 \begin_inset Text
8761
8762 \begin_layout Standard
8763
8764 \end_layout
8765
8766 \end_inset
8767 </cell>
8768 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8769 \begin_inset Text
8770
8771 \begin_layout Standard
8772
8773 \end_layout
8774
8775 \end_inset
8776 </cell>
8777 </row>
8778 <row topline="true" bottomline="true" endhead="true">
8779 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8780 \begin_inset Text
8781
8782 \begin_layout Standard
8783
8784 \series bold
8785 NAME
8786 \end_layout
8787
8788 \end_inset
8789 </cell>
8790 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8791 \begin_inset Text
8792
8793 \begin_layout Standard
8794
8795 \end_layout
8796
8797 \end_inset
8798 </cell>
8799 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8800 \begin_inset Text
8801
8802 \begin_layout Standard
8803
8804 \series bold
8805 TEL.
8806 \end_layout
8807
8808 \end_inset
8809 </cell>
8810 </row>
8811 <row topline="true" bottomline="true" endfoot="true">
8812 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8813 \begin_inset Text
8814
8815 \begin_layout Standard
8816 continued on next page
8817 \end_layout
8818
8819 \end_inset
8820 </cell>
8821 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8822 \begin_inset Text
8823
8824 \begin_layout Standard
8825
8826 \end_layout
8827
8828 \end_inset
8829 </cell>
8830 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8831 \begin_inset Text
8832
8833 \begin_layout Standard
8834
8835 \end_layout
8836
8837 \end_inset
8838 </cell>
8839 </row>
8840 <row>
8841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8842 \begin_inset Text
8843
8844 \begin_layout Standard
8845
8846 \series bold
8847 Annovi
8848 \end_layout
8849
8850 \end_inset
8851 </cell>
8852 <cell alignment="center" valignment="top" topline="true" usebox="none">
8853 \begin_inset Text
8854
8855 \begin_layout Standard
8856 Silvia
8857 \end_layout
8858
8859 \end_inset
8860 </cell>
8861 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8862 \begin_inset Text
8863
8864 \begin_layout Standard
8865 111
8866 \end_layout
8867
8868 \end_inset
8869 </cell>
8870 </row>
8871 <row>
8872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8873 \begin_inset Text
8874
8875 \begin_layout Standard
8876
8877 \series bold
8878 Bertoli
8879 \end_layout
8880
8881 \end_inset
8882 </cell>
8883 <cell alignment="center" valignment="top" topline="true" usebox="none">
8884 \begin_inset Text
8885
8886 \begin_layout Standard
8887 Stefano
8888 \end_layout
8889
8890 \end_inset
8891 </cell>
8892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8893 \begin_inset Text
8894
8895 \begin_layout Standard
8896 111
8897 \end_layout
8898
8899 \end_inset
8900 </cell>
8901 </row>
8902 <row>
8903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8904 \begin_inset Text
8905
8906 \begin_layout Standard
8907
8908 \series bold
8909 Bozzi
8910 \end_layout
8911
8912 \end_inset
8913 </cell>
8914 <cell alignment="center" valignment="top" topline="true" usebox="none">
8915 \begin_inset Text
8916
8917 \begin_layout Standard
8918 Walter
8919 \end_layout
8920
8921 \end_inset
8922 </cell>
8923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8924 \begin_inset Text
8925
8926 \begin_layout Standard
8927 111
8928 \end_layout
8929
8930 \end_inset
8931 </cell>
8932 </row>
8933 <row>
8934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8935 \begin_inset Text
8936
8937 \begin_layout Standard
8938
8939 \series bold
8940 Cachia
8941 \end_layout
8942
8943 \end_inset
8944 </cell>
8945 <cell alignment="center" valignment="top" topline="true" usebox="none">
8946 \begin_inset Text
8947
8948 \begin_layout Standard
8949 Maria
8950 \end_layout
8951
8952 \end_inset
8953 </cell>
8954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8955 \begin_inset Text
8956
8957 \begin_layout Standard
8958 111
8959 \end_layout
8960
8961 \end_inset
8962 </cell>
8963 </row>
8964 <row>
8965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8966 \begin_inset Text
8967
8968 \begin_layout Standard
8969
8970 \series bold
8971 Cachia
8972 \end_layout
8973
8974 \end_inset
8975 </cell>
8976 <cell alignment="center" valignment="top" topline="true" usebox="none">
8977 \begin_inset Text
8978
8979 \begin_layout Standard
8980 Maurizio
8981 \end_layout
8982
8983 \end_inset
8984 </cell>
8985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8986 \begin_inset Text
8987
8988 \begin_layout Standard
8989 111
8990 \end_layout
8991
8992 \end_inset
8993 </cell>
8994 </row>
8995 <row>
8996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8997 \begin_inset Text
8998
8999 \begin_layout Standard
9000
9001 \series bold
9002 Cinquemani
9003 \end_layout
9004
9005 \end_inset
9006 </cell>
9007 <cell alignment="center" valignment="top" topline="true" usebox="none">
9008 \begin_inset Text
9009
9010 \begin_layout Standard
9011 Giusi
9012 \end_layout
9013
9014 \end_inset
9015 </cell>
9016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9017 \begin_inset Text
9018
9019 \begin_layout Standard
9020 111
9021 \end_layout
9022
9023 \end_inset
9024 </cell>
9025 </row>
9026 <row>
9027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9028 \begin_inset Text
9029
9030 \begin_layout Standard
9031
9032 \series bold
9033 Colin
9034 \end_layout
9035
9036 \end_inset
9037 </cell>
9038 <cell alignment="center" valignment="top" topline="true" usebox="none">
9039 \begin_inset Text
9040
9041 \begin_layout Standard
9042 Bernard
9043 \end_layout
9044
9045 \end_inset
9046 </cell>
9047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9048 \begin_inset Text
9049
9050 \begin_layout Standard
9051 111
9052 \end_layout
9053
9054 \end_inset
9055 </cell>
9056 </row>
9057 <row>
9058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9059 \begin_inset Text
9060
9061 \begin_layout Standard
9062
9063 \series bold
9064 Concli
9065 \end_layout
9066
9067 \end_inset
9068 </cell>
9069 <cell alignment="center" valignment="top" topline="true" usebox="none">
9070 \begin_inset Text
9071
9072 \begin_layout Standard
9073 Gianfranco
9074 \end_layout
9075
9076 \end_inset
9077 </cell>
9078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9079 \begin_inset Text
9080
9081 \begin_layout Standard
9082 111
9083 \end_layout
9084
9085 \end_inset
9086 </cell>
9087 </row>
9088 <row>
9089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9090 \begin_inset Text
9091
9092 \begin_layout Standard
9093
9094 \series bold
9095 Dal Bosco
9096 \end_layout
9097
9098 \end_inset
9099 </cell>
9100 <cell alignment="center" valignment="top" topline="true" usebox="none">
9101 \begin_inset Text
9102
9103 \begin_layout Standard
9104 Carolina
9105 \end_layout
9106
9107 \end_inset
9108 </cell>
9109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9110 \begin_inset Text
9111
9112 \begin_layout Standard
9113 111
9114 \end_layout
9115
9116 \end_inset
9117 </cell>
9118 </row>
9119 <row>
9120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9121 \begin_inset Text
9122
9123 \begin_layout Standard
9124
9125 \series bold
9126 Dalpiaz
9127 \end_layout
9128
9129 \end_inset
9130 </cell>
9131 <cell alignment="center" valignment="top" topline="true" usebox="none">
9132 \begin_inset Text
9133
9134 \begin_layout Standard
9135 Annamaria
9136 \end_layout
9137
9138 \end_inset
9139 </cell>
9140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9141 \begin_inset Text
9142
9143 \begin_layout Standard
9144 111
9145 \end_layout
9146
9147 \end_inset
9148 </cell>
9149 </row>
9150 <row>
9151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9152 \begin_inset Text
9153
9154 \begin_layout Standard
9155
9156 \series bold
9157 Feliciello
9158 \end_layout
9159
9160 \end_inset
9161 </cell>
9162 <cell alignment="center" valignment="top" topline="true" usebox="none">
9163 \begin_inset Text
9164
9165 \begin_layout Standard
9166 Domenico
9167 \end_layout
9168
9169 \end_inset
9170 </cell>
9171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9172 \begin_inset Text
9173
9174 \begin_layout Standard
9175 111
9176 \end_layout
9177
9178 \end_inset
9179 </cell>
9180 </row>
9181 <row>
9182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9183 \begin_inset Text
9184
9185 \begin_layout Standard
9186
9187 \series bold
9188 Focarelli
9189 \end_layout
9190
9191 \end_inset
9192 </cell>
9193 <cell alignment="center" valignment="top" topline="true" usebox="none">
9194 \begin_inset Text
9195
9196 \begin_layout Standard
9197 Paola
9198 \end_layout
9199
9200 \end_inset
9201 </cell>
9202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9203 \begin_inset Text
9204
9205 \begin_layout Standard
9206 111
9207 \end_layout
9208
9209 \end_inset
9210 </cell>
9211 </row>
9212 <row>
9213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9214 \begin_inset Text
9215
9216 \begin_layout Standard
9217
9218 \series bold
9219 Galletti
9220 \end_layout
9221
9222 \end_inset
9223 </cell>
9224 <cell alignment="center" valignment="top" topline="true" usebox="none">
9225 \begin_inset Text
9226
9227 \begin_layout Standard
9228 Oreste
9229 \end_layout
9230
9231 \end_inset
9232 </cell>
9233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9234 \begin_inset Text
9235
9236 \begin_layout Standard
9237 111
9238 \end_layout
9239
9240 \end_inset
9241 </cell>
9242 </row>
9243 <row>
9244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9245 \begin_inset Text
9246
9247 \begin_layout Standard
9248
9249 \series bold
9250 Gasparini
9251 \end_layout
9252
9253 \end_inset
9254 </cell>
9255 <cell alignment="center" valignment="top" topline="true" usebox="none">
9256 \begin_inset Text
9257
9258 \begin_layout Standard
9259 Franca
9260 \end_layout
9261
9262 \end_inset
9263 </cell>
9264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9265 \begin_inset Text
9266
9267 \begin_layout Standard
9268 111
9269 \end_layout
9270
9271 \end_inset
9272 </cell>
9273 </row>
9274 <row>
9275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9276 \begin_inset Text
9277
9278 \begin_layout Standard
9279
9280 \series bold
9281 Lassini
9282 \end_layout
9283
9284 \end_inset
9285 </cell>
9286 <cell alignment="center" valignment="top" topline="true" usebox="none">
9287 \begin_inset Text
9288
9289 \begin_layout Standard
9290 Giancarlo
9291 \end_layout
9292
9293 \end_inset
9294 </cell>
9295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9296 \begin_inset Text
9297
9298 \begin_layout Standard
9299 111
9300 \end_layout
9301
9302 \end_inset
9303 </cell>
9304 </row>
9305 <row>
9306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9307 \begin_inset Text
9308
9309 \begin_layout Standard
9310
9311 \series bold
9312 Malfatti
9313 \end_layout
9314
9315 \end_inset
9316 </cell>
9317 <cell alignment="center" valignment="top" topline="true" usebox="none">
9318 \begin_inset Text
9319
9320 \begin_layout Standard
9321 Luciano
9322 \end_layout
9323
9324 \end_inset
9325 </cell>
9326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9327 \begin_inset Text
9328
9329 \begin_layout Standard
9330 111
9331 \end_layout
9332
9333 \end_inset
9334 </cell>
9335 </row>
9336 <row>
9337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9338 \begin_inset Text
9339
9340 \begin_layout Standard
9341
9342 \series bold
9343 Malfatti
9344 \end_layout
9345
9346 \end_inset
9347 </cell>
9348 <cell alignment="center" valignment="top" topline="true" usebox="none">
9349 \begin_inset Text
9350
9351 \begin_layout Standard
9352 Valeriano
9353 \end_layout
9354
9355 \end_inset
9356 </cell>
9357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9358 \begin_inset Text
9359
9360 \begin_layout Standard
9361 111
9362 \end_layout
9363
9364 \end_inset
9365 </cell>
9366 </row>
9367 <row>
9368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9369 \begin_inset Text
9370
9371 \begin_layout Standard
9372
9373 \series bold
9374 Meneguzzo
9375 \end_layout
9376
9377 \end_inset
9378 </cell>
9379 <cell alignment="center" valignment="top" topline="true" usebox="none">
9380 \begin_inset Text
9381
9382 \begin_layout Standard
9383 Roberto
9384 \end_layout
9385
9386 \end_inset
9387 </cell>
9388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9389 \begin_inset Text
9390
9391 \begin_layout Standard
9392 111
9393 \end_layout
9394
9395 \end_inset
9396 </cell>
9397 </row>
9398 <row>
9399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9400 \begin_inset Text
9401
9402 \begin_layout Standard
9403
9404 \series bold
9405 Mezzadra
9406 \end_layout
9407
9408 \end_inset
9409 </cell>
9410 <cell alignment="center" valignment="top" topline="true" usebox="none">
9411 \begin_inset Text
9412
9413 \begin_layout Standard
9414 Roberto
9415 \end_layout
9416
9417 \end_inset
9418 </cell>
9419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9420 \begin_inset Text
9421
9422 \begin_layout Standard
9423 111
9424 \end_layout
9425
9426 \end_inset
9427 </cell>
9428 </row>
9429 <row>
9430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9431 \begin_inset Text
9432
9433 \begin_layout Standard
9434
9435 \series bold
9436 Pirpamer
9437 \end_layout
9438
9439 \end_inset
9440 </cell>
9441 <cell alignment="center" valignment="top" topline="true" usebox="none">
9442 \begin_inset Text
9443
9444 \begin_layout Standard
9445 Erich
9446 \end_layout
9447
9448 \end_inset
9449 </cell>
9450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9451 \begin_inset Text
9452
9453 \begin_layout Standard
9454 111
9455 \end_layout
9456
9457 \end_inset
9458 </cell>
9459 </row>
9460 <row>
9461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9462 \begin_inset Text
9463
9464 \begin_layout Standard
9465
9466 \series bold
9467 Pochiesa
9468 \end_layout
9469
9470 \end_inset
9471 </cell>
9472 <cell alignment="center" valignment="top" topline="true" usebox="none">
9473 \begin_inset Text
9474
9475 \begin_layout Standard
9476 Paolo
9477 \end_layout
9478
9479 \end_inset
9480 </cell>
9481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9482 \begin_inset Text
9483
9484 \begin_layout Standard
9485 111, 222
9486 \end_layout
9487
9488 \end_inset
9489 </cell>
9490 </row>
9491 <row>
9492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9493 \begin_inset Text
9494
9495 \begin_layout Standard
9496
9497 \series bold
9498 Radina
9499 \end_layout
9500
9501 \end_inset
9502 </cell>
9503 <cell alignment="center" valignment="top" topline="true" usebox="none">
9504 \begin_inset Text
9505
9506 \begin_layout Standard
9507 Claudio
9508 \end_layout
9509
9510 \end_inset
9511 </cell>
9512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9513 \begin_inset Text
9514
9515 \begin_layout Standard
9516 111
9517 \end_layout
9518
9519 \end_inset
9520 </cell>
9521 </row>
9522 <row>
9523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9524 \begin_inset Text
9525
9526 \begin_layout Standard
9527
9528 \series bold
9529 Rizzardi
9530 \end_layout
9531
9532 \end_inset
9533 </cell>
9534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9535 \begin_inset Text
9536
9537 \begin_layout Standard
9538 Paolo, 11.
9539  Fürst von Montecompatri, 11.
9540  Fürst von Sulmona und Vivaro, 10.
9541  Fürst von Rossano, 5.
9542  Herzog von Canemorte, 11.
9543  Herzog von Palombara, 5.
9544  Herzog von Castelchiodato,
9545 \begin_inset ERT
9546 status collapsed
9547
9548 \begin_layout Standard
9549
9550 & 111
9551 \backslash
9552
9553 \backslash
9554
9555 \end_layout
9556
9557 \begin_layout Standard
9558
9559 &
9560 \end_layout
9561
9562 \end_inset
9563
9564  11.
9565  Herzog von Poggionativo, 11.
9566  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9567  Graf von Valinfreda, 11.
9568  Baron von Cropalati, 11.
9569  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9570 \end_layout
9571
9572 \end_inset
9573 </cell>
9574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9575 \begin_inset Text
9576
9577 \begin_layout Standard
9578
9579 \end_layout
9580
9581 \end_inset
9582 </cell>
9583 </row>
9584 <row>
9585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9586 \begin_inset Text
9587
9588 \begin_layout Standard
9589
9590 \series bold
9591 Stuffer
9592 \end_layout
9593
9594 \end_inset
9595 </cell>
9596 <cell alignment="center" valignment="top" topline="true" usebox="none">
9597 \begin_inset Text
9598
9599 \begin_layout Standard
9600 Oskar
9601 \end_layout
9602
9603 \end_inset
9604 </cell>
9605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9606 \begin_inset Text
9607
9608 \begin_layout Standard
9609 111
9610 \end_layout
9611
9612 \end_inset
9613 </cell>
9614 </row>
9615 <row>
9616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9617 \begin_inset Text
9618
9619 \begin_layout Standard
9620
9621 \series bold
9622 Tacchelli
9623 \end_layout
9624
9625 \end_inset
9626 </cell>
9627 <cell alignment="center" valignment="top" topline="true" usebox="none">
9628 \begin_inset Text
9629
9630 \begin_layout Standard
9631 Ugo
9632 \end_layout
9633
9634 \end_inset
9635 </cell>
9636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9637 \begin_inset Text
9638
9639 \begin_layout Standard
9640 111
9641 \end_layout
9642
9643 \end_inset
9644 </cell>
9645 </row>
9646 <row>
9647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9648 \begin_inset Text
9649
9650 \begin_layout Standard
9651
9652 \series bold
9653 Tezzele
9654 \end_layout
9655
9656 \end_inset
9657 </cell>
9658 <cell alignment="center" valignment="top" topline="true" usebox="none">
9659 \begin_inset Text
9660
9661 \begin_layout Standard
9662 Margit
9663 \end_layout
9664
9665 \end_inset
9666 </cell>
9667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9668 \begin_inset Text
9669
9670 \begin_layout Standard
9671 111
9672 \end_layout
9673
9674 \end_inset
9675 </cell>
9676 </row>
9677 <row>
9678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9679 \begin_inset Text
9680
9681 \begin_layout Standard
9682
9683 \series bold
9684 Unterkalmsteiner
9685 \end_layout
9686
9687 \end_inset
9688 </cell>
9689 <cell alignment="center" valignment="top" topline="true" usebox="none">
9690 \begin_inset Text
9691
9692 \begin_layout Standard
9693 Frieda
9694 \end_layout
9695
9696 \end_inset
9697 </cell>
9698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9699 \begin_inset Text
9700
9701 \begin_layout Standard
9702 111
9703 \end_layout
9704
9705 \end_inset
9706 </cell>
9707 </row>
9708 <row>
9709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9710 \begin_inset Text
9711
9712 \begin_layout Standard
9713
9714 \series bold
9715 Vieider
9716 \end_layout
9717
9718 \end_inset
9719 </cell>
9720 <cell alignment="center" valignment="top" topline="true" usebox="none">
9721 \begin_inset Text
9722
9723 \begin_layout Standard
9724 Hilde
9725 \end_layout
9726
9727 \end_inset
9728 </cell>
9729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9730 \begin_inset Text
9731
9732 \begin_layout Standard
9733 111
9734 \end_layout
9735
9736 \end_inset
9737 </cell>
9738 </row>
9739 <row>
9740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9741 \begin_inset Text
9742
9743 \begin_layout Standard
9744
9745 \series bold
9746 Vigna
9747 \end_layout
9748
9749 \end_inset
9750 </cell>
9751 <cell alignment="center" valignment="top" topline="true" usebox="none">
9752 \begin_inset Text
9753
9754 \begin_layout Standard
9755 Jürgen
9756 \end_layout
9757
9758 \end_inset
9759 </cell>
9760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9761 \begin_inset Text
9762
9763 \begin_layout Standard
9764 111
9765 \end_layout
9766
9767 \end_inset
9768 </cell>
9769 </row>
9770 <row>
9771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9772 \begin_inset Text
9773
9774 \begin_layout Standard
9775
9776 \series bold
9777 Weber
9778 \end_layout
9779
9780 \end_inset
9781 </cell>
9782 <cell alignment="center" valignment="top" topline="true" usebox="none">
9783 \begin_inset Text
9784
9785 \begin_layout Standard
9786 Maurizio
9787 \end_layout
9788
9789 \end_inset
9790 </cell>
9791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9792 \begin_inset Text
9793
9794 \begin_layout Standard
9795 111
9796 \end_layout
9797
9798 \end_inset
9799 </cell>
9800 </row>
9801 <row bottomline="true">
9802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9803 \begin_inset Text
9804
9805 \begin_layout Standard
9806
9807 \series bold
9808 Winkler
9809 \end_layout
9810
9811 \end_inset
9812 </cell>
9813 <cell alignment="center" valignment="top" topline="true" usebox="none">
9814 \begin_inset Text
9815
9816 \begin_layout Standard
9817 Franz
9818 \end_layout
9819
9820 \end_inset
9821 </cell>
9822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9823 \begin_inset Text
9824
9825 \begin_layout Standard
9826 111
9827 \end_layout
9828
9829 \end_inset
9830 </cell>
9831 </row>
9832 <row endlastfoot="true">
9833 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9834 \begin_inset Text
9835
9836 \begin_layout Standard
9837
9838 \end_layout
9839
9840 \end_inset
9841 </cell>
9842 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9843 \begin_inset Text
9844
9845 \begin_layout Standard
9846
9847 \end_layout
9848
9849 \end_inset
9850 </cell>
9851 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9852 \begin_inset Text
9853
9854 \begin_layout Standard
9855
9856 \end_layout
9857
9858 \end_inset
9859 </cell>
9860 </row>
9861 </lyxtabular>
9862
9863 \end_inset
9864
9865
9866 \end_layout
9867
9868 \begin_layout Section
9869 Multiple Lines Columns and Rows
9870 \end_layout
9871
9872 \begin_layout Subsection
9873 Multiple Lines in Table Cells
9874 \begin_inset LatexCommand label
9875 name "sub:Multiple-Lines-in"
9876
9877 \end_inset
9878
9879
9880 \begin_inset LatexCommand index
9881 name "Multiple Lines in Table Cells"
9882
9883 \end_inset
9884
9885
9886 \begin_inset LatexCommand index
9887 name "Table ! Linebreaks"
9888
9889 \end_inset
9890
9891
9892 \end_layout
9893
9894 \begin_layout Standard
9895 \align center
9896 \begin_inset Float table
9897 placement H
9898 wide false
9899 sideways false
9900 status open
9901
9902 \begin_layout Standard
9903 \begin_inset Caption
9904
9905 \begin_layout Standard
9906 \begin_inset LatexCommand label
9907 name "tab:Table-with-multiple"
9908
9909 \end_inset
9910
9911 Table with multiple lines in cells
9912 \end_layout
9913
9914 \end_inset
9915
9916
9917 \end_layout
9918
9919 \begin_layout Standard
9920 \align center
9921 \begin_inset Tabular
9922 <lyxtabular version="3" rows="3" columns="3">
9923 <features>
9924 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9925 <column alignment="center" valignment="middle" leftline="true" width="0">
9926 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
9927 <row topline="true">
9928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9929 \begin_inset Text
9930
9931 \begin_layout Standard
9932 multiple
9933 \begin_inset ERT
9934 status collapsed
9935
9936 \begin_layout Standard
9937
9938
9939 \backslash
9940 linebreak 
9941 \end_layout
9942
9943 \end_inset
9944
9945  lines
9946 \end_layout
9947
9948 \end_inset
9949 </cell>
9950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9951 \begin_inset Text
9952
9953 \begin_layout Standard
9954 b
9955 \end_layout
9956
9957 \end_inset
9958 </cell>
9959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9960 \begin_inset Text
9961
9962 \begin_layout Standard
9963 c
9964 \end_layout
9965
9966 \end_inset
9967 </cell>
9968 </row>
9969 <row topline="true">
9970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9971 \begin_inset Text
9972
9973 \begin_layout Standard
9974 d
9975 \end_layout
9976
9977 \end_inset
9978 </cell>
9979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9980 \begin_inset Text
9981
9982 \begin_layout Standard
9983 e
9984 \end_layout
9985
9986 \end_inset
9987 </cell>
9988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9989 \begin_inset Text
9990
9991 \begin_layout Standard
9992 f
9993 \end_layout
9994
9995 \end_inset
9996 </cell>
9997 </row>
9998 <row topline="true" bottomline="true">
9999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10000 \begin_inset Text
10001
10002 \begin_layout Standard
10003 g
10004 \end_layout
10005
10006 \end_inset
10007 </cell>
10008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10009 \begin_inset Text
10010
10011 \begin_layout Standard
10012 h
10013 \end_layout
10014
10015 \end_inset
10016 </cell>
10017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10018 \begin_inset Text
10019
10020 \begin_layout Standard
10021 i
10022 \end_layout
10023
10024 \end_inset
10025 </cell>
10026 </row>
10027 </lyxtabular>
10028
10029 \end_inset
10030
10031
10032 \end_layout
10033
10034 \end_inset
10035
10036
10037 \end_layout
10038
10039 \begin_layout Standard
10040 Adjusting a fixed width for a column, enables to enter text as a paragraph
10041  with multiple lines and hyphenations.
10042 \end_layout
10043
10044 \begin_layout Standard
10045 To produce Table\InsetSpace ~
10046
10047 \begin_inset LatexCommand ref
10048 reference "tab:Table-with-multiple"
10049
10050 \end_inset
10051
10052 , create a 3×3 table, mark the first cell and right-click on it.
10053  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10054 cm and choose centered
10055  for the vertical and horizontal alignment.
10056  The vertical alignment is used for all cells of the row.
10057  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10058 cm, only one line will appear.
10059  To get two lines, we add a line break with the command
10060 \end_layout
10061
10062 \begin_layout Standard
10063
10064 \series bold
10065
10066 \backslash
10067 linebreak
10068 \end_layout
10069
10070 \begin_layout Standard
10071 in ERT.
10072  If the text is wider than the set cell width it will automatically be broken
10073  to several lines.
10074 \end_layout
10075
10076 \begin_layout Standard
10077 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10078  by LaTeX if it is the first entry.
10079  Therefore you need to insert something, to make the word not being the
10080  first entry: Add the command
10081 \end_layout
10082
10083 \begin_layout Standard
10084
10085 \series bold
10086
10087 \backslash
10088 hspace{0pt}
10089 \end_layout
10090
10091 \begin_layout Standard
10092 in ERT before the word.
10093  As the space is zero, it doesn't change the output.
10094  Table\InsetSpace ~
10095
10096 \begin_inset LatexCommand ref
10097 reference "tab:Table-with-and"
10098
10099 \end_inset
10100
10101  shows the effect.
10102 \end_layout
10103
10104 \begin_layout Standard
10105 \begin_inset Float table
10106 placement h
10107 wide false
10108 sideways false
10109 status open
10110
10111 \begin_layout Standard
10112 \begin_inset Caption
10113
10114 \begin_layout Standard
10115 \begin_inset LatexCommand label
10116 name "tab:Table-with-and"
10117
10118 \end_inset
10119
10120 Table with and without hyphenation
10121 \end_layout
10122
10123 \end_inset
10124
10125
10126 \end_layout
10127
10128 \begin_layout Standard
10129
10130 \hfill
10131
10132 \begin_inset Tabular
10133 <lyxtabular version="3" rows="3" columns="3">
10134 <features>
10135 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10136 <column alignment="center" valignment="middle" leftline="true" width="0">
10137 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10138 <row topline="true">
10139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10140 \begin_inset Text
10141
10142 \begin_layout Standard
10143 verylongtablecellword
10144 \end_layout
10145
10146 \end_inset
10147 </cell>
10148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10149 \begin_inset Text
10150
10151 \begin_layout Standard
10152 b
10153 \end_layout
10154
10155 \end_inset
10156 </cell>
10157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10158 \begin_inset Text
10159
10160 \begin_layout Standard
10161 c
10162 \end_layout
10163
10164 \end_inset
10165 </cell>
10166 </row>
10167 <row topline="true">
10168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10169 \begin_inset Text
10170
10171 \begin_layout Standard
10172 d
10173 \end_layout
10174
10175 \end_inset
10176 </cell>
10177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10178 \begin_inset Text
10179
10180 \begin_layout Standard
10181 e
10182 \end_layout
10183
10184 \end_inset
10185 </cell>
10186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10187 \begin_inset Text
10188
10189 \begin_layout Standard
10190 f
10191 \end_layout
10192
10193 \end_inset
10194 </cell>
10195 </row>
10196 <row topline="true" bottomline="true">
10197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10198 \begin_inset Text
10199
10200 \begin_layout Standard
10201 g
10202 \end_layout
10203
10204 \end_inset
10205 </cell>
10206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10207 \begin_inset Text
10208
10209 \begin_layout Standard
10210 h
10211 \end_layout
10212
10213 \end_inset
10214 </cell>
10215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10216 \begin_inset Text
10217
10218 \begin_layout Standard
10219 i
10220 \end_layout
10221
10222 \end_inset
10223 </cell>
10224 </row>
10225 </lyxtabular>
10226
10227 \end_inset
10228
10229
10230 \hfill
10231
10232 \begin_inset Tabular
10233 <lyxtabular version="3" rows="3" columns="3">
10234 <features>
10235 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10236 <column alignment="center" valignment="middle" leftline="true" width="0">
10237 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10238 <row topline="true">
10239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10240 \begin_inset Text
10241
10242 \begin_layout Standard
10243 \begin_inset ERT
10244 status collapsed
10245
10246 \begin_layout Standard
10247
10248
10249 \backslash
10250 hspace{0pt}
10251 \end_layout
10252
10253 \end_inset
10254
10255 verylongtablecellword
10256 \end_layout
10257
10258 \end_inset
10259 </cell>
10260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10261 \begin_inset Text
10262
10263 \begin_layout Standard
10264 b
10265 \end_layout
10266
10267 \end_inset
10268 </cell>
10269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10270 \begin_inset Text
10271
10272 \begin_layout Standard
10273 c
10274 \end_layout
10275
10276 \end_inset
10277 </cell>
10278 </row>
10279 <row topline="true">
10280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10281 \begin_inset Text
10282
10283 \begin_layout Standard
10284 d
10285 \end_layout
10286
10287 \end_inset
10288 </cell>
10289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10290 \begin_inset Text
10291
10292 \begin_layout Standard
10293 e
10294 \end_layout
10295
10296 \end_inset
10297 </cell>
10298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10299 \begin_inset Text
10300
10301 \begin_layout Standard
10302 f
10303 \end_layout
10304
10305 \end_inset
10306 </cell>
10307 </row>
10308 <row topline="true" bottomline="true">
10309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10310 \begin_inset Text
10311
10312 \begin_layout Standard
10313 g
10314 \end_layout
10315
10316 \end_inset
10317 </cell>
10318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10319 \begin_inset Text
10320
10321 \begin_layout Standard
10322 h
10323 \end_layout
10324
10325 \end_inset
10326 </cell>
10327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10328 \begin_inset Text
10329
10330 \begin_layout Standard
10331 i
10332 \end_layout
10333
10334 \end_inset
10335 </cell>
10336 </row>
10337 </lyxtabular>
10338
10339 \end_inset
10340
10341
10342 \hfill
10343
10344 \end_layout
10345
10346 \end_inset
10347
10348
10349 \end_layout
10350
10351 \begin_layout Standard
10352
10353 \newpage
10354
10355 \end_layout
10356
10357 \begin_layout Subsection
10358 Multicolumns
10359 \begin_inset LatexCommand label
10360 name "sub:Multicolumns"
10361
10362 \end_inset
10363
10364
10365 \begin_inset LatexCommand index
10366 name "Multicolumns"
10367
10368 \end_inset
10369
10370
10371 \begin_inset LatexCommand index
10372 name "Table ! Multicolumns"
10373
10374 \end_inset
10375
10376
10377 \end_layout
10378
10379 \begin_layout Subsubsection
10380 Multicolumn Basics
10381 \end_layout
10382
10383 \begin_layout Standard
10384 To span a cell over multiple columns, mark as much cells within a line that
10385  should be one spanned cell and use either the table-toolbar button 
10386 \begin_inset Graphics
10387         filename ../images/tabular-feature_multicolumn.xpm
10388         scale 85
10389         scaleBeforeRotation
10390
10391 \end_inset
10392
10393 , or the menu 
10394 \family sans
10395 Edit\SpecialChar \menuseparator
10396 Table\SpecialChar \menuseparator
10397 Multicolumn
10398 \family default
10399 , or right click on the marked cells and choose multicolumn in the appearing
10400  table dialog under the tab 
10401 \family sans
10402 Table Settings
10403 \family default
10404 .
10405 \end_layout
10406
10407 \begin_layout Standard
10408 Multicolumns have there own cell settings.
10409  That means changing cell borders, cell alignment, and the width only affects
10410  the multicolumn.
10411  Here is an example table with a multicolumn cell in the first row and one
10412  in the last row without the upper border:
10413 \end_layout
10414
10415 \begin_layout Standard
10416 \align center
10417 \begin_inset Tabular
10418 <lyxtabular version="3" rows="3" columns="4">
10419 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10420 <column alignment="center" valignment="top" leftline="true" width="0pt">
10421 <column alignment="center" valignment="middle" leftline="true" width="0">
10422 <column alignment="center" valignment="top" leftline="true" width="0in">
10423 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10424 <row topline="true" bottomline="true">
10425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10426 \begin_inset Text
10427
10428 \begin_layout Standard
10429 abc
10430 \end_layout
10431
10432 \end_inset
10433 </cell>
10434 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10435 \begin_inset Text
10436
10437 \begin_layout Standard
10438 def ghi
10439 \end_layout
10440
10441 \end_inset
10442 </cell>
10443 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10444 \begin_inset Text
10445
10446 \begin_layout Standard
10447
10448 \end_layout
10449
10450 \end_inset
10451 </cell>
10452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10453 \begin_inset Text
10454
10455 \begin_layout Standard
10456 jkl
10457 \end_layout
10458
10459 \end_inset
10460 </cell>
10461 </row>
10462 <row topline="true">
10463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10464 \begin_inset Text
10465
10466 \begin_layout Standard
10467
10468 \family roman
10469 \series medium
10470 \shape up
10471 \size normal
10472 \emph off
10473 \bar no
10474 \noun off
10475 \color none
10476 A
10477 \end_layout
10478
10479 \end_inset
10480 </cell>
10481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10482 \begin_inset Text
10483
10484 \begin_layout Standard
10485 B
10486 \end_layout
10487
10488 \end_inset
10489 </cell>
10490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10491 \begin_inset Text
10492
10493 \begin_layout Standard
10494 C
10495 \end_layout
10496
10497 \end_inset
10498 </cell>
10499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10500 \begin_inset Text
10501
10502 \begin_layout Standard
10503 D
10504 \end_layout
10505
10506 \end_inset
10507 </cell>
10508 </row>
10509 <row topline="true" bottomline="true">
10510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10511 \begin_inset Text
10512
10513 \begin_layout Standard
10514 1
10515 \end_layout
10516
10517 \end_inset
10518 </cell>
10519 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10520 \begin_inset Text
10521
10522 \begin_layout Standard
10523 2
10524 \end_layout
10525
10526 \end_inset
10527 </cell>
10528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10529 \begin_inset Text
10530
10531 \begin_layout Standard
10532 3
10533 \end_layout
10534
10535 \end_inset
10536 </cell>
10537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10538 \begin_inset Text
10539
10540 \begin_layout Standard
10541 4
10542 \end_layout
10543
10544 \end_inset
10545 </cell>
10546 </row>
10547 </lyxtabular>
10548
10549 \end_inset
10550
10551
10552 \end_layout
10553
10554 \begin_layout Subsubsection
10555 Multicolumn Calculations
10556 \begin_inset LatexCommand label
10557 name "sub:Multicolumn-Calculations"
10558
10559 \end_inset
10560
10561
10562 \begin_inset LatexCommand index
10563 name "Multicolumns ! Calculations"
10564
10565 \end_inset
10566
10567
10568 \end_layout
10569
10570 \begin_layout Standard
10571 LyX supports multicolumns directly, but we have to take notice of the cell
10572  width of the columns spanned by the multicolumn cell.
10573 \end_layout
10574
10575 \begin_layout Standard
10576 \begin_inset Float table
10577 wide false
10578 sideways false
10579 status open
10580
10581 \begin_layout Standard
10582 \begin_inset Caption
10583
10584 \begin_layout Standard
10585 \begin_inset LatexCommand label
10586 name "tab:Table-with-centered"
10587
10588 \end_inset
10589
10590 Table with centered multicolumn text above two columns that have exactly
10591  half the width of the multicolumn cell
10592 \begin_inset OptArg
10593 status collapsed
10594
10595 \begin_layout Standard
10596 Perfect multicolumn table
10597 \end_layout
10598
10599 \end_inset
10600
10601
10602 \end_layout
10603
10604 \end_inset
10605
10606
10607 \end_layout
10608
10609 \begin_layout Standard
10610 \align center
10611 \begin_inset Tabular
10612 <lyxtabular version="3" rows="3" columns="3">
10613 <features>
10614 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10615 <column alignment="center" valignment="middle" leftline="true" width="0">
10616 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10617 <row topline="true">
10618 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10619 \begin_inset Text
10620
10621 \begin_layout Standard
10622 multiple lines multicolumn
10623 \end_layout
10624
10625 \end_inset
10626 </cell>
10627 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10628 \begin_inset Text
10629
10630 \begin_layout Standard
10631
10632 \end_layout
10633
10634 \end_inset
10635 </cell>
10636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10637 \begin_inset Text
10638
10639 \begin_layout Standard
10640 c
10641 \end_layout
10642
10643 \end_inset
10644 </cell>
10645 </row>
10646 <row topline="true">
10647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10648 \begin_inset Text
10649
10650 \begin_layout Standard
10651 d
10652 \end_layout
10653
10654 \end_inset
10655 </cell>
10656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10657 \begin_inset Text
10658
10659 \begin_layout Standard
10660 e
10661 \end_layout
10662
10663 \end_inset
10664 </cell>
10665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10666 \begin_inset Text
10667
10668 \begin_layout Standard
10669 f
10670 \end_layout
10671
10672 \end_inset
10673 </cell>
10674 </row>
10675 <row topline="true" bottomline="true">
10676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10677 \begin_inset Text
10678
10679 \begin_layout Standard
10680 g
10681 \end_layout
10682
10683 \end_inset
10684 </cell>
10685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10686 \begin_inset Text
10687
10688 \begin_layout Standard
10689 h
10690 \end_layout
10691
10692 \end_inset
10693 </cell>
10694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10695 \begin_inset Text
10696
10697 \begin_layout Standard
10698 i
10699 \end_layout
10700
10701 \end_inset
10702 </cell>
10703 </row>
10704 </lyxtabular>
10705
10706 \end_inset
10707
10708
10709 \end_layout
10710
10711 \end_inset
10712
10713
10714 \end_layout
10715
10716 \begin_layout Standard
10717 To create for example Table\InsetSpace ~
10718
10719 \begin_inset LatexCommand ref
10720 reference "tab:Table-with-centered"
10721
10722 \end_inset
10723
10724 , mark the first two cells in the first row of a 3×3 table and right-click
10725  on them.
10726  Now choose for this cell 
10727 \emph on
10728 multicolumn
10729 \emph default
10730
10731 \emph on
10732 centered alignment
10733 \emph default
10734  and a width of 2.5\InsetSpace \thinspace{}
10735 cm in the table dialog.
10736  The spanned columns should have exactly half the width of the multicolumn
10737  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10738 cm for the first column.
10739  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10740 cm (multicolumn
10741  width - width of first column).
10742  This was done for Table\InsetSpace ~
10743
10744 \begin_inset LatexCommand ref
10745 reference "tab:Table-without-half"
10746
10747 \end_inset
10748
10749 .
10750 \end_layout
10751
10752 \begin_layout Standard
10753 \begin_inset Float table
10754 wide false
10755 sideways false
10756 status open
10757
10758 \begin_layout Standard
10759 \begin_inset Caption
10760
10761 \begin_layout Standard
10762 \begin_inset LatexCommand label
10763 name "tab:Table-without-half"
10764
10765 \end_inset
10766
10767 Table where the spanned table columns have not exactly half the width of
10768  the multicolumn cell
10769 \begin_inset OptArg
10770 status collapsed
10771
10772 \begin_layout Standard
10773 Imperfect multicolumn table
10774 \end_layout
10775
10776 \end_inset
10777
10778
10779 \end_layout
10780
10781 \end_inset
10782
10783
10784 \end_layout
10785
10786 \begin_layout Standard
10787 \align center
10788 \begin_inset Tabular
10789 <lyxtabular version="3" rows="3" columns="3">
10790 <features>
10791 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10792 <column alignment="center" valignment="top" leftline="true" width="0">
10793 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10794 <row topline="true" bottomline="true">
10795 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10796 \begin_inset Text
10797
10798 \begin_layout Standard
10799 multiple lines multicolumn
10800 \end_layout
10801
10802 \end_inset
10803 </cell>
10804 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10805 \begin_inset Text
10806
10807 \begin_layout Standard
10808
10809 \end_layout
10810
10811 \end_inset
10812 </cell>
10813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10814 \begin_inset Text
10815
10816 \begin_layout Standard
10817 c
10818 \end_layout
10819
10820 \end_inset
10821 </cell>
10822 </row>
10823 <row topline="true">
10824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10825 \begin_inset Text
10826
10827 \begin_layout Standard
10828 d
10829 \end_layout
10830
10831 \end_inset
10832 </cell>
10833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10834 \begin_inset Text
10835
10836 \begin_layout Standard
10837 e
10838 \end_layout
10839
10840 \end_inset
10841 </cell>
10842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10843 \begin_inset Text
10844
10845 \begin_layout Standard
10846 f
10847 \end_layout
10848
10849 \end_inset
10850 </cell>
10851 </row>
10852 <row topline="true" bottomline="true">
10853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10854 \begin_inset Text
10855
10856 \begin_layout Standard
10857 g
10858 \end_layout
10859
10860 \end_inset
10861 </cell>
10862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10863 \begin_inset Text
10864
10865 \begin_layout Standard
10866 h
10867 \end_layout
10868
10869 \end_inset
10870 </cell>
10871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10872 \begin_inset Text
10873
10874 \begin_layout Standard
10875 i
10876 \end_layout
10877
10878 \end_inset
10879 </cell>
10880 </row>
10881 </lyxtabular>
10882
10883 \end_inset
10884
10885
10886 \end_layout
10887
10888 \end_inset
10889
10890
10891 \end_layout
10892
10893 \begin_layout Standard
10894 You can see that the first column has not the half width of the multicolumn
10895  cell, it is a bit bigger.
10896  The reason is that the given width of a cell 
10897 \begin_inset Formula $W_{g}$
10898 \end_inset
10899
10900  is not its total width 
10901 \begin_inset Formula $W_{\mathrm{tot}}$
10902 \end_inset
10903
10904  because a cell is always a bit larger than its given width.
10905  Appendix\InsetSpace ~
10906
10907 \begin_inset LatexCommand eqref
10908 reference "cha:Explanation-of-Equation"
10909
10910 \end_inset
10911
10912  explains it in detail.
10913 \end_layout
10914
10915 \begin_layout Standard
10916 The needed given width 
10917 \begin_inset Formula $W_{g\, n}$
10918 \end_inset
10919
10920  when 
10921 \emph on
10922 n
10923 \emph default
10924  columns are spanned can be calculated, so that each column has a total
10925  width of 
10926 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10927 \end_inset
10928
10929 :
10930 \begin_inset Formula \begin{equation}
10931 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10932
10933 \end_inset
10934
10935
10936 \end_layout
10937
10938 \begin_layout Standard
10939 In our case we have 
10940 \begin_inset Formula $n=2$
10941 \end_inset
10942
10943
10944 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10945 \end_inset
10946
10947 cm and the default values for the lengths, so that equation 
10948 \begin_inset LatexCommand ref
10949 reference "eq:Wgn"
10950
10951 \end_inset
10952
10953  becomes
10954 \begin_inset Formula \begin{equation}
10955 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10956
10957 \end_inset
10958
10959
10960 \end_layout
10961
10962 \begin_layout Standard
10963 To enable calculations in LaTeX, the LaTeX-package 
10964 \series bold
10965 calc
10966 \series default
10967  must be loaded with the document preamble line
10968 \begin_inset LatexCommand index
10969 name "LaTeX-packages ! calc"
10970
10971 \end_inset
10972
10973
10974 \end_layout
10975
10976 \begin_layout Standard
10977
10978 \series bold
10979
10980 \backslash
10981 usepackage{calc}
10982 \end_layout
10983
10984 \begin_layout Standard
10985 LyX does not allow to calculate lengths in the width-field of the table
10986  dialog.
10987  Therefore you have to format the column by inserting a LaTeX-argument in
10988  the dialog.
10989  Here is an overview about the arguments:
10990 \end_layout
10991
10992 \begin_layout Itemize
10993
10994 \series bold
10995 p{width}
10996 \series default
10997  creates cell with a fixed width, its text is vertically top-aligned
10998 \end_layout
10999
11000 \begin_layout Itemize
11001
11002 \series bold
11003 m{width}
11004 \series default
11005  creates cell with a fixed width, its text is vertically centered
11006 \end_layout
11007
11008 \begin_layout Itemize
11009
11010 \series bold
11011 b{width}
11012 \series default
11013  creates cell with a fixed width, its text is vertically bottom-aligned
11014 \end_layout
11015
11016 \begin_layout Standard
11017 By entering a LaTeX-argument, all cell settings set in the table dialog
11018  are overwritten.
11019 \end_layout
11020
11021 \begin_layout Standard
11022 \begin_inset Note Greyedout
11023 status open
11024
11025 \begin_layout Standard
11026
11027 \series bold
11028 Note:
11029 \series default
11030  Due to a bug, LyX shows the overwritten settings anyway.
11031 \end_layout
11032
11033 \end_inset
11034
11035
11036 \end_layout
11037
11038 \begin_layout Standard
11039 As the text should be horizontally centered, the command 
11040 \series bold
11041
11042 \backslash
11043 centering
11044 \series default
11045  is added.
11046  You can now enter the following LaTeX-argument for the first spanned column:
11047 \end_layout
11048
11049 \begin_layout Standard
11050
11051 \series bold
11052 >{
11053 \backslash
11054 centering}m{1.25cm-6.2pt}
11055 \end_layout
11056
11057 \begin_layout Standard
11058 The command 
11059 \series bold
11060 >{ }
11061 \series default
11062  means, that the commands inside the braces are applied before the cell
11063  is created.
11064 \end_layout
11065
11066 \begin_layout Standard
11067 Although we have chosen centered alignment for the text of the multicolumn
11068  cell, it is still left aligned.
11069  This is because LyX only applies the alignment to single columns.
11070  So we have to use for the multicolumn the LaTeX-argument
11071 \end_layout
11072
11073 \begin_layout Standard
11074
11075 \series bold
11076 >{
11077 \backslash
11078 centering}m{2.5cm}
11079 \end_layout
11080
11081 \begin_layout Subsection
11082 Multirows
11083 \begin_inset LatexCommand index
11084 name "Multirows"
11085
11086 \end_inset
11087
11088
11089 \begin_inset LatexCommand index
11090 name "Table ! Multirows"
11091
11092 \end_inset
11093
11094
11095 \begin_inset LatexCommand index
11096 name "LaTeX-packages ! multirow"
11097
11098 \end_inset
11099
11100
11101 \end_layout
11102
11103 \begin_layout Standard
11104 In contrary to multicolumns multirows are not yet supported by LyX so a
11105  bit of ERT needs to be used.
11106  To use multirows load the LaTeX-package 
11107 \series bold
11108 multirow
11109 \series default
11110  in your document preamble with the command
11111 \end_layout
11112
11113 \begin_layout Standard
11114
11115 \series bold
11116
11117 \backslash
11118 usepackage{multirow}
11119 \end_layout
11120
11121 \begin_layout Standard
11122 Multirows are created with the command
11123 \end_layout
11124
11125 \begin_layout Standard
11126
11127 \series bold
11128
11129 \backslash
11130 multirow{number of rows}{cell width}{cell entry}
11131 \end_layout
11132
11133 \begin_layout Standard
11134 To create the following table:
11135 \end_layout
11136
11137 \begin_layout Standard
11138 \align center
11139 \begin_inset ERT
11140 status collapsed
11141
11142 \begin_layout Standard
11143
11144
11145 \backslash
11146 renewcommand{
11147 \backslash
11148 multirowsetup}{
11149 \backslash
11150 centering}
11151 \end_layout
11152
11153 \end_inset
11154
11155
11156 \begin_inset Tabular
11157 <lyxtabular version="3" rows="3" columns="3">
11158 <features>
11159 <column alignment="center" valignment="top" leftline="true" width="0">
11160 <column alignment="center" valignment="top" leftline="true" width="0">
11161 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11162 <row topline="true">
11163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11164 \begin_inset Text
11165
11166 \begin_layout Standard
11167 a
11168 \end_layout
11169
11170 \end_inset
11171 </cell>
11172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11173 \begin_inset Text
11174
11175 \begin_layout Standard
11176 b
11177 \end_layout
11178
11179 \end_inset
11180 </cell>
11181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11182 \begin_inset Text
11183
11184 \begin_layout Standard
11185 c
11186 \end_layout
11187
11188 \end_inset
11189 </cell>
11190 </row>
11191 <row topline="true">
11192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11193 \begin_inset Text
11194
11195 \begin_layout Standard
11196 \begin_inset ERT
11197 status collapsed
11198
11199 \begin_layout Standard
11200
11201
11202 \backslash
11203 multirow{2}{2.5cm}{
11204 \end_layout
11205
11206 \end_inset
11207
11208 multirow entry
11209 \begin_inset ERT
11210 status collapsed
11211
11212 \begin_layout Standard
11213
11214 }
11215 \end_layout
11216
11217 \end_inset
11218
11219
11220 \end_layout
11221
11222 \end_inset
11223 </cell>
11224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11225 \begin_inset Text
11226
11227 \begin_layout Standard
11228 e
11229 \end_layout
11230
11231 \end_inset
11232 </cell>
11233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11234 \begin_inset Text
11235
11236 \begin_layout Standard
11237 f
11238 \end_layout
11239
11240 \end_inset
11241 </cell>
11242 </row>
11243 <row topline="true" bottomline="true">
11244 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11245 \begin_inset Text
11246
11247 \begin_layout Standard
11248
11249 \end_layout
11250
11251 \end_inset
11252 </cell>
11253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11254 \begin_inset Text
11255
11256 \begin_layout Standard
11257 h
11258 \end_layout
11259
11260 \end_inset
11261 </cell>
11262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11263 \begin_inset Text
11264
11265 \begin_layout Standard
11266 i
11267 \end_layout
11268
11269 \end_inset
11270 </cell>
11271 </row>
11272 </lyxtabular>
11273
11274 \end_inset
11275
11276
11277 \begin_inset ERT
11278 status collapsed
11279
11280 \begin_layout Standard
11281
11282
11283 \backslash
11284 renewcommand{
11285 \backslash
11286 multirowsetup}{
11287 \backslash
11288 raggedright}
11289 \end_layout
11290
11291 \end_inset
11292
11293
11294 \end_layout
11295
11296 \begin_layout Standard
11297 create a 3×3 table.
11298  To get rid of the line above the last cell in the first column, the cell
11299  is marked as multicolumn and the upper border is unset.
11300  The multirow is now created in the second row of the first column by inserting
11301  there the command
11302 \end_layout
11303
11304 \begin_layout Standard
11305
11306 \series bold
11307
11308 \backslash
11309 multirow{2}{2.5cm}{
11310 \end_layout
11311
11312 \begin_layout Standard
11313 as ERT.
11314  According to the command parameters the multirow spans now two rows and
11315  has a width of 2.5\InsetSpace \thinspace{}
11316 cm.
11317  The content of the multirow cell follows outside the ERT box and the command
11318  is finished with a right brace 
11319 \series bold
11320 }
11321 \series default
11322  in another ERT-box behind the text.
11323 \end_layout
11324
11325 \begin_layout Standard
11326
11327 \series bold
11328
11329 \backslash
11330 multirow
11331 \series default
11332  left-aligns its content by default.
11333  To override the default, renew the command 
11334 \series bold
11335
11336 \backslash
11337 multirowsetup
11338 \series default
11339  with the command
11340 \end_layout
11341
11342 \begin_layout Standard
11343
11344 \series bold
11345
11346 \backslash
11347 renewcommand{
11348 \backslash
11349 multirowsetup}{
11350 \backslash
11351 centering}
11352 \end_layout
11353
11354 \begin_layout Standard
11355 in ERT in the document preamble.
11356  Then all entries of multirow cells in the document are centered.
11357  If centering is only needed for several tables, you can renew the command
11358  in an ERT box just before the table instead of the preamble.
11359  If the text should be right-aligned, replace 
11360 \series bold
11361
11362 \backslash
11363 centering
11364 \series default
11365  by 
11366 \series bold
11367
11368 \backslash
11369 raggedleft
11370 \series default
11371 .
11372  To return to left-alignment 
11373 \series bold
11374
11375 \backslash
11376 raggedright
11377 \series default
11378  is used.
11379 \end_layout
11380
11381 \begin_layout Section
11382 Formal Tables
11383 \begin_inset LatexCommand label
11384 name "sec:Formal-Tables"
11385
11386 \end_inset
11387
11388
11389 \begin_inset LatexCommand index
11390 name "Table ! Formal"
11391
11392 \end_inset
11393
11394
11395 \end_layout
11396
11397 \begin_layout Standard
11398 Tables are often typeset in books similar to Table\InsetSpace ~
11399
11400 \begin_inset LatexCommand ref
11401 reference "tab:Example-booktabs-table"
11402
11403 \end_inset
11404
11405 .
11406  This kind of tables is called 
11407 \begin_inset Quotes eld
11408 \end_inset
11409
11410
11411 \emph on
11412 formal
11413 \emph default
11414
11415 \begin_inset Quotes erd
11416 \end_inset
11417
11418 .
11419  To make a table a formal table use the option 
11420 \family sans
11421 Formal
11422 \family default
11423  in the 
11424 \family sans
11425 Borders
11426 \family default
11427  tab of the table dialog.
11428 \end_layout
11429
11430 \begin_layout Standard
11431 \begin_inset Float table
11432 placement h
11433 wide false
11434 sideways false
11435 status open
11436
11437 \begin_layout Standard
11438 \begin_inset Caption
11439
11440 \begin_layout Standard
11441 \begin_inset LatexCommand label
11442 name "tab:Example-booktabs-table"
11443
11444 \end_inset
11445
11446 Example booktabs-table
11447 \end_layout
11448
11449 \end_inset
11450
11451
11452 \end_layout
11453
11454 \begin_layout Standard
11455 \align center
11456 \begin_inset Tabular
11457 <lyxtabular version="3" rows="8" columns="4">
11458 <features booktabs="true">
11459 <column alignment="center" valignment="top" rightline="true" width="0">
11460 <column alignment="center" valignment="top" width="0">
11461 <column alignment="center" valignment="top" width="0">
11462 <column alignment="center" valignment="top" width="0">
11463 <row topline="true">
11464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11465 \begin_inset Text
11466
11467 \begin_layout Standard
11468 System
11469 \end_layout
11470
11471 \end_inset
11472 </cell>
11473 <cell alignment="center" valignment="top" topline="true" usebox="none">
11474 \begin_inset Text
11475
11476 \begin_layout Standard
11477 Medipix
11478 \begin_inset Formula $\,$
11479 \end_inset
11480
11481 1
11482 \end_layout
11483
11484 \end_inset
11485 </cell>
11486 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11487 \begin_inset Text
11488
11489 \begin_layout Standard
11490 Medipix
11491 \begin_inset Formula $\,$
11492 \end_inset
11493
11494 2
11495 \end_layout
11496
11497 \end_inset
11498 </cell>
11499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11500 \begin_inset Text
11501
11502 \begin_layout Standard
11503
11504 \end_layout
11505
11506 \end_inset
11507 </cell>
11508 </row>
11509 <row>
11510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11511 \begin_inset Text
11512
11513 \begin_layout Standard
11514 \begin_inset ERT
11515 status collapsed
11516
11517 \begin_layout Standard
11518
11519
11520 \backslash
11521 cmidrule(r){2-2}
11522 \end_layout
11523
11524 \end_inset
11525
11526
11527 \begin_inset ERT
11528 status collapsed
11529
11530 \begin_layout Standard
11531
11532
11533 \backslash
11534 cmidrule(l){3-4}
11535 \end_layout
11536
11537 \end_inset
11538
11539 Detector thickness [µm]
11540 \end_layout
11541
11542 \end_inset
11543 </cell>
11544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11545 \begin_inset Text
11546
11547 \begin_layout Standard
11548 300
11549 \end_layout
11550
11551 \end_inset
11552 </cell>
11553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11554 \begin_inset Text
11555
11556 \begin_layout Standard
11557 300
11558 \end_layout
11559
11560 \end_inset
11561 </cell>
11562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11563 \begin_inset Text
11564
11565 \begin_layout Standard
11566 700
11567 \end_layout
11568
11569 \end_inset
11570 </cell>
11571 </row>
11572 <row topline="true">
11573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11574 \begin_inset Text
11575
11576 \begin_layout Standard
11577 Edge angle [°]
11578 \end_layout
11579
11580 \end_inset
11581 </cell>
11582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11583 \begin_inset Text
11584
11585 \begin_layout Standard
11586 3.55
11587 \end_layout
11588
11589 \end_inset
11590 </cell>
11591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11592 \begin_inset Text
11593
11594 \begin_layout Standard
11595 2.71
11596 \end_layout
11597
11598 \end_inset
11599 </cell>
11600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11601 \begin_inset Text
11602
11603 \begin_layout Standard
11604 7.99
11605 \end_layout
11606
11607 \end_inset
11608 </cell>
11609 </row>
11610 <row topspace="default">
11611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11612 \begin_inset Text
11613
11614 \begin_layout Standard
11615 Spatial resolution [µm]
11616 \end_layout
11617
11618 \end_inset
11619 </cell>
11620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11621 \begin_inset Text
11622
11623 \begin_layout Standard
11624 4.26
11625 \end_layout
11626
11627 \end_inset
11628 </cell>
11629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11630 \begin_inset Text
11631
11632 \begin_layout Standard
11633 10.17
11634 \end_layout
11635
11636 \end_inset
11637 </cell>
11638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11639 \begin_inset Text
11640
11641 \begin_layout Standard
11642 10.56
11643 \end_layout
11644
11645 \end_inset
11646 </cell>
11647 </row>
11648 <row topspace="default">
11649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11650 \begin_inset Text
11651
11652 \begin_layout Standard
11653 MTF at 
11654 \begin_inset Formula $f_{\mathrm{max}}$
11655 \end_inset
11656
11657
11658 \end_layout
11659
11660 \end_inset
11661 </cell>
11662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11663 \begin_inset Text
11664
11665 \begin_layout Standard
11666 0.53
11667 \end_layout
11668
11669 \end_inset
11670 </cell>
11671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11672 \begin_inset Text
11673
11674 \begin_layout Standard
11675 0.37
11676 \end_layout
11677
11678 \end_inset
11679 </cell>
11680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11681 \begin_inset Text
11682
11683 \begin_layout Standard
11684 0.39
11685 \end_layout
11686
11687 \end_inset
11688 </cell>
11689 </row>
11690 <row topspace="default">
11691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11692 \begin_inset Text
11693
11694 \begin_layout Standard
11695 \begin_inset ERT
11696 status collapsed
11697
11698 \begin_layout Standard
11699
11700
11701 \backslash
11702 cmidrule(l{10pt}){1-1}
11703 \end_layout
11704
11705 \end_inset
11706
11707 LSF-spatial resolution
11708 \end_layout
11709
11710 \end_inset
11711 </cell>
11712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11713 \begin_inset Text
11714
11715 \begin_layout Standard
11716
11717 \end_layout
11718
11719 \end_inset
11720 </cell>
11721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11722 \begin_inset Text
11723
11724 \begin_layout Standard
11725
11726 \end_layout
11727
11728 \end_inset
11729 </cell>
11730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11731 \begin_inset Text
11732
11733 \begin_layout Standard
11734
11735 \end_layout
11736
11737 \end_inset
11738 </cell>
11739 </row>
11740 <row>
11741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11742 \begin_inset Text
11743
11744 \begin_layout Standard
11745 in µm
11746 \end_layout
11747
11748 \end_inset
11749 </cell>
11750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11751 \begin_inset Text
11752
11753 \begin_layout Standard
11754 129.7
11755 \end_layout
11756
11757 \end_inset
11758 </cell>
11759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11760 \begin_inset Text
11761
11762 \begin_layout Standard
11763 52.75
11764 \end_layout
11765
11766 \end_inset
11767 </cell>
11768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11769 \begin_inset Text
11770
11771 \begin_layout Standard
11772 50.78
11773 \end_layout
11774
11775 \end_inset
11776 </cell>
11777 </row>
11778 <row bottomline="true">
11779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11780 \begin_inset Text
11781
11782 \begin_layout Standard
11783 in % of pixel size
11784 \end_layout
11785
11786 \end_inset
11787 </cell>
11788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11789 \begin_inset Text
11790
11791 \begin_layout Standard
11792 76.3
11793 \end_layout
11794
11795 \end_inset
11796 </cell>
11797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11798 \begin_inset Text
11799
11800 \begin_layout Standard
11801 95.9
11802 \end_layout
11803
11804 \end_inset
11805 </cell>
11806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11807 \begin_inset Text
11808
11809 \begin_layout Standard
11810 92.3
11811 \end_layout
11812
11813 \end_inset
11814 </cell>
11815 </row>
11816 </lyxtabular>
11817
11818 \end_inset
11819
11820
11821 \end_layout
11822
11823 \end_inset
11824
11825
11826 \end_layout
11827
11828 \begin_layout Standard
11829 Spaces to table rows can be added using the 
11830 \family sans
11831 Borders
11832 \family default
11833  tab of the table dialog as described in section\InsetSpace ~
11834
11835 \begin_inset LatexCommand ref
11836 reference "sub:Row-Spacing"
11837
11838 \end_inset
11839
11840 .
11841 \end_layout
11842
11843 \begin_layout Standard
11844 In contrary to normal tables, formal tables have no vertical table lines.
11845  The horizontal table lines can be set like for normal tables but they appear
11846  with different width in the output:
11847 \newline
11848 The first and the last table line have
11849  a default width of 0.08\InsetSpace \thinspace{}
11850 em while the other lines have a default width of
11851  0.05\InsetSpace \thinspace{}
11852 em.
11853 \end_layout
11854
11855 \begin_layout Standard
11856 The default widths can be changed with the following preamble lines
11857 \end_layout
11858
11859 \begin_layout Standard
11860
11861 \series bold
11862
11863 \backslash
11864 let
11865 \backslash
11866 mytoprule
11867 \backslash
11868 toprule
11869 \newline
11870
11871 \backslash
11872 renewcommand{
11873 \backslash
11874 toprule}{
11875 \backslash
11876 mytoprule[width]}
11877 \end_layout
11878
11879 \begin_layout Standard
11880 This example is for the first line, the so called 
11881 \series bold
11882 toprule
11883 \series default
11884 .
11885  If you want to change the width for the last line, replace 
11886 \series bold
11887 toprule
11888 \series default
11889  by 
11890 \series bold
11891 bottomrule
11892 \series default
11893 .
11894  To change the width for the other lines replace 
11895 \series bold
11896 toprule
11897 \series default
11898  by 
11899 \series bold
11900 midrule
11901 \series default
11902 .
11903  You can use all units listed in appendix\InsetSpace ~
11904
11905 \begin_inset LatexCommand ref
11906 reference "cha:Units-available-in"
11907
11908 \end_inset
11909
11910  to set the width.
11911 \end_layout
11912
11913 \begin_layout Standard
11914 Lines that don't span over all table columns can be created by setting a
11915  table line for multicolumn cells.
11916  LyX will then internally use the command 
11917 \series bold
11918
11919 \backslash
11920 cmidrule
11921 \series default
11922  to create this line.
11923  Its full scheme is
11924 \end_layout
11925
11926 \begin_layout Standard
11927
11928 \series bold
11929
11930 \backslash
11931 cmidrule[width](trim){startcol-endcol}
11932 \end_layout
11933
11934 \begin_layout Standard
11935 The options of 
11936 \series bold
11937
11938 \backslash
11939 cmidrule
11940 \series default
11941  are are currently not supported by LyX so you have to use ERT to be able
11942  to use them.
11943  
11944 \series bold
11945
11946 \backslash
11947 cmidrule
11948 \series default
11949 s can manually be created by inserting the command as ERT as first cell
11950  entry of the first cell of a row.
11951  The line is then drawn in the output above the current row.
11952 \end_layout
11953
11954 \begin_layout Standard
11955 The default for the width is 0.03\InsetSpace \thinspace{}
11956 em.
11957  Startcol is the number of the column where the line starts and endcol the
11958  column number where the line ends.
11959  The endcol always needs to be specified, also when the line should span
11960  only one column.
11961  The optional parameter trim could be either 
11962 \emph on
11963 l{trimwidth}
11964 \emph default
11965 , or 
11966 \emph on
11967 r{trimwidth}
11968 \emph default
11969  where the trimwidth is also optional.
11970  Using for example the parameter 
11971 \emph on
11972 l{2pt}
11973 \emph default
11974  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11975 pt.
11976  If you don't specify the trimwidth the lines are trimmed by the default
11977  of 0.5\InsetSpace \thinspace{}
11978 em.
11979 \end_layout
11980
11981 \begin_layout Standard
11982 \begin_inset VSpace bigskip
11983 \end_inset
11984
11985 Table\InsetSpace ~
11986
11987 \begin_inset LatexCommand ref
11988 reference "tab:Example-booktabs-table"
11989
11990 \end_inset
11991
11992  was created using the commands
11993 \end_layout
11994
11995 \begin_layout Standard
11996
11997 \series bold
11998
11999 \backslash
12000 cmidrule(r){2-2}
12001 \backslash
12002 cmidrule(l){3-4}
12003 \end_layout
12004
12005 \begin_layout Standard
12006 at the beginning of the in the second row and
12007 \end_layout
12008
12009 \begin_layout Standard
12010
12011 \series bold
12012
12013 \backslash
12014 cmidrule(l{10pt}){1-1}
12015 \end_layout
12016
12017 \begin_layout Standard
12018 in the sixth row.
12019 \end_layout
12020
12021 \begin_layout Standard
12022 \begin_inset VSpace bigskip
12023 \end_inset
12024
12025
12026 \end_layout
12027
12028 \begin_layout Standard
12029 You might want to have overlapping 
12030 \series bold
12031
12032 \backslash
12033 cmidrule
12034 \series default
12035 s like in Table\InsetSpace ~
12036
12037 \begin_inset LatexCommand ref
12038 reference "tab:Special-booktabs-table"
12039
12040 \end_inset
12041
12042 .
12043  This can be achieved with the ERT command
12044 \end_layout
12045
12046 \begin_layout Standard
12047
12048 \series bold
12049
12050 \backslash
12051 morecmidrules
12052 \end_layout
12053
12054 \begin_layout Standard
12055 The command that was used for the second row of Table\InsetSpace ~
12056
12057 \begin_inset LatexCommand ref
12058 reference "tab:Special-booktabs-table"
12059
12060 \end_inset
12061
12062  is
12063 \end_layout
12064
12065 \begin_layout Standard
12066
12067 \series bold
12068
12069 \backslash
12070 cmidrule(r){2-2}
12071 \backslash
12072 cmidrule(l){3-4}
12073 \backslash
12074 morecmidrules
12075 \backslash
12076 cmidrule{2-4}
12077 \end_layout
12078
12079 \begin_layout Standard
12080 The command for the sixth row is
12081 \end_layout
12082
12083 \begin_layout Standard
12084
12085 \series bold
12086
12087 \backslash
12088 midrule
12089 \backslash
12090 morecmidrules
12091 \backslash
12092 cmidrule{3-4}
12093 \end_layout
12094
12095 \begin_layout Standard
12096 \begin_inset VSpace bigskip
12097 \end_inset
12098
12099
12100 \end_layout
12101
12102 \begin_layout Standard
12103 If you are anyway not satisfied with the border line spacing, you can use
12104  the following command to produce lines that span over all table columns
12105 \series bold
12106 :
12107 \end_layout
12108
12109 \begin_layout Standard
12110
12111 \series bold
12112
12113 \backslash
12114 specialrule{width}{space above}{space below}
12115 \end_layout
12116
12117 \begin_layout Standard
12118 For more informations about these specialties, we refer to the manual of
12119  the LaTeX-package 
12120 \series bold
12121 booktabs
12122 \series default
12123  
12124 \begin_inset LatexCommand cite
12125 key "booktabs"
12126
12127 \end_inset
12128
12129 .
12130 \begin_inset LatexCommand index
12131 name "LaTeX-packages ! booktabs"
12132
12133 \end_inset
12134
12135
12136 \end_layout
12137
12138 \begin_layout Standard
12139 \begin_inset Float table
12140 placement h
12141 wide false
12142 sideways false
12143 status open
12144
12145 \begin_layout Standard
12146 \begin_inset Caption
12147
12148 \begin_layout Standard
12149 \begin_inset LatexCommand label
12150 name "tab:Special-booktabs-table"
12151
12152 \end_inset
12153
12154 Special booktabs-table
12155 \end_layout
12156
12157 \end_inset
12158
12159
12160 \end_layout
12161
12162 \begin_layout Standard
12163 \align center
12164 \begin_inset Tabular
12165 <lyxtabular version="3" rows="8" columns="4">
12166 <features booktabs="true">
12167 <column alignment="center" valignment="top" width="0">
12168 <column alignment="center" valignment="top" width="0">
12169 <column alignment="center" valignment="top" width="0">
12170 <column alignment="center" valignment="top" width="0">
12171 <row topline="true">
12172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12173 \begin_inset Text
12174
12175 \begin_layout Standard
12176 System
12177 \end_layout
12178
12179 \end_inset
12180 </cell>
12181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12182 \begin_inset Text
12183
12184 \begin_layout Standard
12185 Medipix\InsetSpace \thinspace{}
12186 1
12187 \end_layout
12188
12189 \end_inset
12190 </cell>
12191 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12192 \begin_inset Text
12193
12194 \begin_layout Standard
12195 Medipix\InsetSpace \thinspace{}
12196 2
12197 \end_layout
12198
12199 \end_inset
12200 </cell>
12201 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12202 \begin_inset Text
12203
12204 \begin_layout Standard
12205
12206 \end_layout
12207
12208 \end_inset
12209 </cell>
12210 </row>
12211 <row>
12212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12213 \begin_inset Text
12214
12215 \begin_layout Standard
12216 \begin_inset ERT
12217 status collapsed
12218
12219 \begin_layout Standard
12220
12221
12222 \backslash
12223 cmidrule(r){2-2}
12224 \end_layout
12225
12226 \end_inset
12227
12228
12229 \begin_inset ERT
12230 status collapsed
12231
12232 \begin_layout Standard
12233
12234
12235 \backslash
12236 cmidrule(l){3-4}
12237 \end_layout
12238
12239 \end_inset
12240
12241
12242 \begin_inset ERT
12243 status collapsed
12244
12245 \begin_layout Standard
12246
12247
12248 \backslash
12249 morecmidrules 
12250 \end_layout
12251
12252 \end_inset
12253
12254
12255 \begin_inset ERT
12256 status collapsed
12257
12258 \begin_layout Standard
12259
12260
12261 \backslash
12262 cmidrule{2-4}
12263 \end_layout
12264
12265 \end_inset
12266
12267 Detector thickness [µm]
12268 \end_layout
12269
12270 \end_inset
12271 </cell>
12272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12273 \begin_inset Text
12274
12275 \begin_layout Standard
12276 300
12277 \end_layout
12278
12279 \end_inset
12280 </cell>
12281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12282 \begin_inset Text
12283
12284 \begin_layout Standard
12285 300
12286 \end_layout
12287
12288 \end_inset
12289 </cell>
12290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12291 \begin_inset Text
12292
12293 \begin_layout Standard
12294 700
12295 \end_layout
12296
12297 \end_inset
12298 </cell>
12299 </row>
12300 <row topline="true">
12301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12302 \begin_inset Text
12303
12304 \begin_layout Standard
12305 Edge angle [°]
12306 \end_layout
12307
12308 \end_inset
12309 </cell>
12310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12311 \begin_inset Text
12312
12313 \begin_layout Standard
12314 3.55
12315 \end_layout
12316
12317 \end_inset
12318 </cell>
12319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12320 \begin_inset Text
12321
12322 \begin_layout Standard
12323 2.71
12324 \end_layout
12325
12326 \end_inset
12327 </cell>
12328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12329 \begin_inset Text
12330
12331 \begin_layout Standard
12332 7.99
12333 \end_layout
12334
12335 \end_inset
12336 </cell>
12337 </row>
12338 <row topspace="default">
12339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12340 \begin_inset Text
12341
12342 \begin_layout Standard
12343 Spatial resolution [µm]
12344 \end_layout
12345
12346 \end_inset
12347 </cell>
12348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12349 \begin_inset Text
12350
12351 \begin_layout Standard
12352 4.26
12353 \end_layout
12354
12355 \end_inset
12356 </cell>
12357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12358 \begin_inset Text
12359
12360 \begin_layout Standard
12361 10.17
12362 \end_layout
12363
12364 \end_inset
12365 </cell>
12366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12367 \begin_inset Text
12368
12369 \begin_layout Standard
12370 10.56
12371 \end_layout
12372
12373 \end_inset
12374 </cell>
12375 </row>
12376 <row topspace="default">
12377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12378 \begin_inset Text
12379
12380 \begin_layout Standard
12381 MTF at 
12382 \begin_inset Formula $f_{\mathrm{max}}$
12383 \end_inset
12384
12385
12386 \end_layout
12387
12388 \end_inset
12389 </cell>
12390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12391 \begin_inset Text
12392
12393 \begin_layout Standard
12394 0.53
12395 \end_layout
12396
12397 \end_inset
12398 </cell>
12399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12400 \begin_inset Text
12401
12402 \begin_layout Standard
12403 0.37
12404 \end_layout
12405
12406 \end_inset
12407 </cell>
12408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12409 \begin_inset Text
12410
12411 \begin_layout Standard
12412 0.39
12413 \end_layout
12414
12415 \end_inset
12416 </cell>
12417 </row>
12418 <row topline="true">
12419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12420 \begin_inset Text
12421
12422 \begin_layout Standard
12423 \begin_inset ERT
12424 status collapsed
12425
12426 \begin_layout Standard
12427
12428
12429 \backslash
12430 morecmidrules 
12431 \end_layout
12432
12433 \end_inset
12434
12435
12436 \begin_inset ERT
12437 status collapsed
12438
12439 \begin_layout Standard
12440
12441
12442 \backslash
12443 cmidrule{3-4}
12444 \end_layout
12445
12446 \end_inset
12447
12448 LSF-spatial resolution
12449 \end_layout
12450
12451 \end_inset
12452 </cell>
12453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12454 \begin_inset Text
12455
12456 \begin_layout Standard
12457
12458 \end_layout
12459
12460 \end_inset
12461 </cell>
12462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12463 \begin_inset Text
12464
12465 \begin_layout Standard
12466
12467 \end_layout
12468
12469 \end_inset
12470 </cell>
12471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12472 \begin_inset Text
12473
12474 \begin_layout Standard
12475
12476 \end_layout
12477
12478 \end_inset
12479 </cell>
12480 </row>
12481 <row>
12482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12483 \begin_inset Text
12484
12485 \begin_layout Standard
12486 in µm
12487 \end_layout
12488
12489 \end_inset
12490 </cell>
12491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12492 \begin_inset Text
12493
12494 \begin_layout Standard
12495 129.7
12496 \end_layout
12497
12498 \end_inset
12499 </cell>
12500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12501 \begin_inset Text
12502
12503 \begin_layout Standard
12504 52.75
12505 \end_layout
12506
12507 \end_inset
12508 </cell>
12509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12510 \begin_inset Text
12511
12512 \begin_layout Standard
12513 50.78
12514 \end_layout
12515
12516 \end_inset
12517 </cell>
12518 </row>
12519 <row bottomline="true">
12520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12521 \begin_inset Text
12522
12523 \begin_layout Standard
12524 in % of pixel size
12525 \end_layout
12526
12527 \end_inset
12528 </cell>
12529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12530 \begin_inset Text
12531
12532 \begin_layout Standard
12533 76.3
12534 \end_layout
12535
12536 \end_inset
12537 </cell>
12538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12539 \begin_inset Text
12540
12541 \begin_layout Standard
12542 95.9
12543 \end_layout
12544
12545 \end_inset
12546 </cell>
12547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12548 \begin_inset Text
12549
12550 \begin_layout Standard
12551 92.3
12552 \end_layout
12553
12554 \end_inset
12555 </cell>
12556 </row>
12557 </lyxtabular>
12558
12559 \end_inset
12560
12561
12562 \end_layout
12563
12564 \end_inset
12565
12566
12567 \end_layout
12568
12569 \begin_layout Section
12570 Vertical Table Alignment
12571 \begin_inset LatexCommand index
12572 name "Table ! Alignment"
12573
12574 \end_inset
12575
12576
12577 \end_layout
12578
12579 \begin_layout Standard
12580 To align tables vertically in a text line the table must be inside a box.
12581  The box can then be vertically aligned as described in section\InsetSpace ~
12582
12583 \begin_inset LatexCommand ref
12584 reference "sec:Box-Dialog"
12585
12586 \end_inset
12587
12588 .
12589 \end_layout
12590
12591 \begin_layout Standard
12592 In the following example the tables are inside a minipage
12593 \begin_inset Foot
12594 status collapsed
12595
12596 \begin_layout Standard
12597 Minipages are described in section\InsetSpace ~
12598
12599 \begin_inset LatexCommand ref
12600 reference "sec:Minipages"
12601
12602 \end_inset
12603
12604 .
12605 \end_layout
12606
12607 \end_inset
12608
12609  box that has a width of 15\InsetSpace \thinspace{}
12610 col%:
12611 \end_layout
12612
12613 \begin_layout Itemize
12614 test 
12615 \begin_inset Box Frameless
12616 position "t"
12617 hor_pos "c"
12618 has_inner_box 1
12619 inner_pos "c"
12620 use_parbox 0
12621 width "15col%"
12622 special "none"
12623 height "1in"
12624 height_special "totalheight"
12625 status collapsed
12626
12627 \begin_layout Standard
12628 \begin_inset Tabular
12629 <lyxtabular version="3" rows="3" columns="3">
12630 <features>
12631 <column alignment="center" valignment="top" leftline="true" width="0">
12632 <column alignment="center" valignment="top" leftline="true" width="0">
12633 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12634 <row topline="true">
12635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12636 \begin_inset Text
12637
12638 \begin_layout Standard
12639 a
12640 \end_layout
12641
12642 \end_inset
12643 </cell>
12644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12645 \begin_inset Text
12646
12647 \begin_layout Standard
12648 d
12649 \end_layout
12650
12651 \end_inset
12652 </cell>
12653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12654 \begin_inset Text
12655
12656 \begin_layout Standard
12657 g
12658 \end_layout
12659
12660 \end_inset
12661 </cell>
12662 </row>
12663 <row topline="true">
12664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12665 \begin_inset Text
12666
12667 \begin_layout Standard
12668 b
12669 \end_layout
12670
12671 \end_inset
12672 </cell>
12673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12674 \begin_inset Text
12675
12676 \begin_layout Standard
12677 e
12678 \end_layout
12679
12680 \end_inset
12681 </cell>
12682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12683 \begin_inset Text
12684
12685 \begin_layout Standard
12686 h
12687 \end_layout
12688
12689 \end_inset
12690 </cell>
12691 </row>
12692 <row topline="true" bottomline="true">
12693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12694 \begin_inset Text
12695
12696 \begin_layout Standard
12697 c
12698 \end_layout
12699
12700 \end_inset
12701 </cell>
12702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12703 \begin_inset Text
12704
12705 \begin_layout Standard
12706 f
12707 \end_layout
12708
12709 \end_inset
12710 </cell>
12711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12712 \begin_inset Text
12713
12714 \begin_layout Standard
12715 i
12716 \end_layout
12717
12718 \end_inset
12719 </cell>
12720 </row>
12721 </lyxtabular>
12722
12723 \end_inset
12724
12725
12726 \end_layout
12727
12728 \end_inset
12729
12730  test 
12731 \begin_inset ERT
12732 status collapsed
12733
12734 \begin_layout Standard
12735
12736
12737 \backslash
12738 raisebox{0.85
12739 \backslash
12740 baselineskip}{
12741 \end_layout
12742
12743 \end_inset
12744
12745
12746 \begin_inset Box Frameless
12747 position "t"
12748 hor_pos "c"
12749 has_inner_box 1
12750 inner_pos "c"
12751 use_parbox 0
12752 width "15col%"
12753 special "none"
12754 height "1in"
12755 height_special "totalheight"
12756 status collapsed
12757
12758 \begin_layout Standard
12759 \begin_inset Tabular
12760 <lyxtabular version="3" rows="3" columns="3">
12761 <features>
12762 <column alignment="center" valignment="top" leftline="true" width="0">
12763 <column alignment="center" valignment="top" leftline="true" width="0">
12764 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12765 <row topline="true">
12766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12767 \begin_inset Text
12768
12769 \begin_layout Standard
12770 a
12771 \end_layout
12772
12773 \end_inset
12774 </cell>
12775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12776 \begin_inset Text
12777
12778 \begin_layout Standard
12779 d
12780 \end_layout
12781
12782 \end_inset
12783 </cell>
12784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12785 \begin_inset Text
12786
12787 \begin_layout Standard
12788 g
12789 \end_layout
12790
12791 \end_inset
12792 </cell>
12793 </row>
12794 <row topline="true">
12795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12796 \begin_inset Text
12797
12798 \begin_layout Standard
12799 b
12800 \end_layout
12801
12802 \end_inset
12803 </cell>
12804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12805 \begin_inset Text
12806
12807 \begin_layout Standard
12808 e
12809 \end_layout
12810
12811 \end_inset
12812 </cell>
12813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12814 \begin_inset Text
12815
12816 \begin_layout Standard
12817 h
12818 \end_layout
12819
12820 \end_inset
12821 </cell>
12822 </row>
12823 <row topline="true" bottomline="true">
12824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12825 \begin_inset Text
12826
12827 \begin_layout Standard
12828 c
12829 \end_layout
12830
12831 \end_inset
12832 </cell>
12833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12834 \begin_inset Text
12835
12836 \begin_layout Standard
12837 f
12838 \end_layout
12839
12840 \end_inset
12841 </cell>
12842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12843 \begin_inset Text
12844
12845 \begin_layout Standard
12846 i
12847 \end_layout
12848
12849 \end_inset
12850 </cell>
12851 </row>
12852 </lyxtabular>
12853
12854 \end_inset
12855
12856
12857 \end_layout
12858
12859 \end_inset
12860
12861
12862 \begin_inset ERT
12863 status collapsed
12864
12865 \begin_layout Standard
12866
12867 }
12868 \end_layout
12869
12870 \end_inset
12871
12872
12873 \end_layout
12874
12875 \begin_layout Itemize
12876 test 
12877 \begin_inset Box Frameless
12878 position "c"
12879 hor_pos "c"
12880 has_inner_box 1
12881 inner_pos "c"
12882 use_parbox 0
12883 width "15col%"
12884 special "none"
12885 height "1in"
12886 height_special "totalheight"
12887 status collapsed
12888
12889 \begin_layout Standard
12890 \begin_inset Tabular
12891 <lyxtabular version="3" rows="3" columns="3">
12892 <features>
12893 <column alignment="center" valignment="top" leftline="true" width="0">
12894 <column alignment="center" valignment="top" leftline="true" width="0">
12895 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12896 <row topline="true">
12897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12898 \begin_inset Text
12899
12900 \begin_layout Standard
12901 a
12902 \end_layout
12903
12904 \end_inset
12905 </cell>
12906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12907 \begin_inset Text
12908
12909 \begin_layout Standard
12910 d
12911 \end_layout
12912
12913 \end_inset
12914 </cell>
12915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12916 \begin_inset Text
12917
12918 \begin_layout Standard
12919 g
12920 \end_layout
12921
12922 \end_inset
12923 </cell>
12924 </row>
12925 <row topline="true">
12926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12927 \begin_inset Text
12928
12929 \begin_layout Standard
12930 b
12931 \end_layout
12932
12933 \end_inset
12934 </cell>
12935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12936 \begin_inset Text
12937
12938 \begin_layout Standard
12939 e
12940 \end_layout
12941
12942 \end_inset
12943 </cell>
12944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12945 \begin_inset Text
12946
12947 \begin_layout Standard
12948 h
12949 \end_layout
12950
12951 \end_inset
12952 </cell>
12953 </row>
12954 <row topline="true" bottomline="true">
12955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12956 \begin_inset Text
12957
12958 \begin_layout Standard
12959 c
12960 \end_layout
12961
12962 \end_inset
12963 </cell>
12964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12965 \begin_inset Text
12966
12967 \begin_layout Standard
12968 f
12969 \end_layout
12970
12971 \end_inset
12972 </cell>
12973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12974 \begin_inset Text
12975
12976 \begin_layout Standard
12977 i
12978 \end_layout
12979
12980 \end_inset
12981 </cell>
12982 </row>
12983 </lyxtabular>
12984
12985 \end_inset
12986
12987
12988 \end_layout
12989
12990 \end_inset
12991
12992
12993 \end_layout
12994
12995 \begin_layout Itemize
12996 test 
12997 \begin_inset Box Frameless
12998 position "b"
12999 hor_pos "c"
13000 has_inner_box 1
13001 inner_pos "c"
13002 use_parbox 0
13003 width "15col%"
13004 special "none"
13005 height "1in"
13006 height_special "totalheight"
13007 status collapsed
13008
13009 \begin_layout Standard
13010 \begin_inset Tabular
13011 <lyxtabular version="3" rows="3" columns="3">
13012 <features>
13013 <column alignment="center" valignment="top" leftline="true" width="0">
13014 <column alignment="center" valignment="top" leftline="true" width="0">
13015 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13016 <row topline="true">
13017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13018 \begin_inset Text
13019
13020 \begin_layout Standard
13021 a
13022 \end_layout
13023
13024 \end_inset
13025 </cell>
13026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13027 \begin_inset Text
13028
13029 \begin_layout Standard
13030 d
13031 \end_layout
13032
13033 \end_inset
13034 </cell>
13035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13036 \begin_inset Text
13037
13038 \begin_layout Standard
13039 g
13040 \end_layout
13041
13042 \end_inset
13043 </cell>
13044 </row>
13045 <row topline="true">
13046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13047 \begin_inset Text
13048
13049 \begin_layout Standard
13050 b
13051 \end_layout
13052
13053 \end_inset
13054 </cell>
13055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13056 \begin_inset Text
13057
13058 \begin_layout Standard
13059 e
13060 \end_layout
13061
13062 \end_inset
13063 </cell>
13064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13065 \begin_inset Text
13066
13067 \begin_layout Standard
13068 h
13069 \end_layout
13070
13071 \end_inset
13072 </cell>
13073 </row>
13074 <row topline="true" bottomline="true">
13075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13076 \begin_inset Text
13077
13078 \begin_layout Standard
13079 c
13080 \end_layout
13081
13082 \end_inset
13083 </cell>
13084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13085 \begin_inset Text
13086
13087 \begin_layout Standard
13088 f
13089 \end_layout
13090
13091 \end_inset
13092 </cell>
13093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13094 \begin_inset Text
13095
13096 \begin_layout Standard
13097 i
13098 \end_layout
13099
13100 \end_inset
13101 </cell>
13102 </row>
13103 </lyxtabular>
13104
13105 \end_inset
13106
13107
13108 \end_layout
13109
13110 \end_inset
13111
13112  test 
13113 \begin_inset ERT
13114 status collapsed
13115
13116 \begin_layout Standard
13117
13118
13119 \backslash
13120 raisebox{-0.32
13121 \backslash
13122 baselineskip}{
13123 \end_layout
13124
13125 \end_inset
13126
13127
13128 \begin_inset Box Frameless
13129 position "b"
13130 hor_pos "c"
13131 has_inner_box 1
13132 inner_pos "c"
13133 use_parbox 0
13134 width "15col%"
13135 special "none"
13136 height "1in"
13137 height_special "totalheight"
13138 status collapsed
13139
13140 \begin_layout Standard
13141 \begin_inset Tabular
13142 <lyxtabular version="3" rows="3" columns="3">
13143 <features>
13144 <column alignment="center" valignment="top" leftline="true" width="0">
13145 <column alignment="center" valignment="top" leftline="true" width="0">
13146 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13147 <row topline="true">
13148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13149 \begin_inset Text
13150
13151 \begin_layout Standard
13152 a
13153 \end_layout
13154
13155 \end_inset
13156 </cell>
13157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13158 \begin_inset Text
13159
13160 \begin_layout Standard
13161 d
13162 \end_layout
13163
13164 \end_inset
13165 </cell>
13166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13167 \begin_inset Text
13168
13169 \begin_layout Standard
13170 g
13171 \end_layout
13172
13173 \end_inset
13174 </cell>
13175 </row>
13176 <row topline="true">
13177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13178 \begin_inset Text
13179
13180 \begin_layout Standard
13181 b
13182 \end_layout
13183
13184 \end_inset
13185 </cell>
13186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13187 \begin_inset Text
13188
13189 \begin_layout Standard
13190 e
13191 \end_layout
13192
13193 \end_inset
13194 </cell>
13195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13196 \begin_inset Text
13197
13198 \begin_layout Standard
13199 h
13200 \end_layout
13201
13202 \end_inset
13203 </cell>
13204 </row>
13205 <row topline="true" bottomline="true">
13206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13207 \begin_inset Text
13208
13209 \begin_layout Standard
13210 c
13211 \end_layout
13212
13213 \end_inset
13214 </cell>
13215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13216 \begin_inset Text
13217
13218 \begin_layout Standard
13219 f
13220 \end_layout
13221
13222 \end_inset
13223 </cell>
13224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13225 \begin_inset Text
13226
13227 \begin_layout Standard
13228 i
13229 \end_layout
13230
13231 \end_inset
13232 </cell>
13233 </row>
13234 </lyxtabular>
13235
13236 \end_inset
13237
13238
13239 \end_layout
13240
13241 \end_inset
13242
13243
13244 \begin_inset ERT
13245 status collapsed
13246
13247 \begin_layout Standard
13248
13249 }
13250 \end_layout
13251
13252 \end_inset
13253
13254
13255 \end_layout
13256
13257 \begin_layout Standard
13258 As you can see, the content of the first and last table row is not correctly
13259  aligned with the text line where the table is in.
13260  To get this alignment, the minipage box must be set into a raisebox
13261 \begin_inset Foot
13262 status collapsed
13263
13264 \begin_layout Standard
13265 Raiseboxes are described in section\InsetSpace ~
13266
13267 \begin_inset LatexCommand ref
13268 reference "sub:Vertical-Alignment"
13269
13270 \end_inset
13271
13272 .
13273 \end_layout
13274
13275 \end_inset
13276
13277 .
13278  In the example above the second table in the first item is aligned using
13279  the ERT-command
13280 \end_layout
13281
13282 \begin_layout Standard
13283
13284 \series bold
13285
13286 \backslash
13287 raisebox{0.85
13288 \backslash
13289 baselineskip}{
13290 \end_layout
13291
13292 \begin_layout Standard
13293 before the box.
13294  Behind the box the closing brace 
13295 \series bold
13296 }
13297 \series default
13298  is inserted as ERT.
13299  For the second table in the last item the command
13300 \end_layout
13301
13302 \begin_layout Standard
13303
13304 \series bold
13305
13306 \backslash
13307 raisebox{-0.32
13308 \backslash
13309 baselineskip}{
13310 \end_layout
13311
13312 \begin_layout Standard
13313 is used.
13314 \end_layout
13315
13316 \begin_layout Standard
13317 \begin_inset Note Greyedout
13318 status open
13319
13320 \begin_layout Standard
13321
13322 \series bold
13323 Note:
13324 \series default
13325  The alignment of the table row content to the surrounding text line is
13326  not exact.
13327  The needed factor of the 
13328 \series bold
13329
13330 \backslash
13331 raisebox
13332 \series default
13333  command for this alignment depends on the document font, the font size,
13334  and the table line thickness.
13335 \end_layout
13336
13337 \end_inset
13338
13339
13340 \end_layout
13341
13342 \begin_layout Section
13343 Colored Tables
13344 \begin_inset LatexCommand label
13345 name "sec:Colored-Tables"
13346
13347 \end_inset
13348
13349
13350 \begin_inset LatexCommand index
13351 name "Table ! Color"
13352
13353 \end_inset
13354
13355
13356 \end_layout
13357
13358 \begin_layout Subsection
13359 Colored Cells
13360 \begin_inset LatexCommand index
13361 name "Table Color ! for Cells"
13362
13363 \end_inset
13364
13365
13366 \begin_inset LatexCommand index
13367 name "Color ! for Table Cells"
13368
13369 \end_inset
13370
13371
13372 \end_layout
13373
13374 \begin_layout Standard
13375 \begin_inset Float table
13376 placement h
13377 wide false
13378 sideways false
13379 status open
13380
13381 \begin_layout Standard
13382 \begin_inset Caption
13383
13384 \begin_layout Standard
13385 \begin_inset LatexCommand label
13386 name "tab:Table-colored-without"
13387
13388 \end_inset
13389
13390 Table colored without using the package 
13391 \series bold
13392 colortbl
13393 \series default
13394
13395 \begin_inset OptArg
13396 status collapsed
13397
13398 \begin_layout Standard
13399 Table without colortbl
13400 \end_layout
13401
13402 \end_inset
13403
13404
13405 \end_layout
13406
13407 \end_inset
13408
13409
13410 \end_layout
13411
13412 \begin_layout Standard
13413 \align center
13414 \begin_inset Tabular
13415 <lyxtabular version="3" rows="3" columns="3">
13416 <features>
13417 <column alignment="center" valignment="top" leftline="true" width="0">
13418 <column alignment="center" valignment="top" leftline="true" width="0">
13419 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13420 <row topline="true">
13421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13422 \begin_inset Text
13423
13424 \begin_layout Standard
13425
13426 \color green
13427 a
13428 \end_layout
13429
13430 \end_inset
13431 </cell>
13432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13433 \begin_inset Text
13434
13435 \begin_layout Standard
13436
13437 \color red
13438 b
13439 \end_layout
13440
13441 \end_inset
13442 </cell>
13443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13444 \begin_inset Text
13445
13446 \begin_layout Standard
13447
13448 \color red
13449 c
13450 \end_layout
13451
13452 \end_inset
13453 </cell>
13454 </row>
13455 <row topline="true">
13456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13457 \begin_inset Text
13458
13459 \begin_layout Standard
13460
13461 \color green
13462 d
13463 \end_layout
13464
13465 \end_inset
13466 </cell>
13467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13468 \begin_inset Text
13469
13470 \begin_layout Standard
13471
13472 \color blue
13473 e
13474 \end_layout
13475
13476 \end_inset
13477 </cell>
13478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13479 \begin_inset Text
13480
13481 \begin_layout Standard
13482
13483 \color blue
13484 f
13485 \end_layout
13486
13487 \end_inset
13488 </cell>
13489 </row>
13490 <row topline="true" bottomline="true">
13491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13492 \begin_inset Text
13493
13494 \begin_layout Standard
13495
13496 \color green
13497 g
13498 \end_layout
13499
13500 \end_inset
13501 </cell>
13502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13503 \begin_inset Text
13504
13505 \begin_layout Standard
13506
13507 \color blue
13508 h
13509 \end_layout
13510
13511 \end_inset
13512 </cell>
13513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13514 \begin_inset Text
13515
13516 \begin_layout Standard
13517
13518 \color blue
13519 i
13520 \end_layout
13521
13522 \end_inset
13523 </cell>
13524 </row>
13525 </lyxtabular>
13526
13527 \end_inset
13528
13529
13530 \end_layout
13531
13532 \end_inset
13533
13534
13535 \end_layout
13536
13537 \begin_layout Standard
13538 If you only need colored text, mark the cells and choose a color in the
13539  menu 
13540 \family sans
13541 Edit\SpecialChar \menuseparator
13542 Text\InsetSpace ~
13543 Style
13544 \family default
13545 .
13546  This was used to create Table\InsetSpace ~
13547
13548 \begin_inset LatexCommand ref
13549 reference "tab:Table-colored-without"
13550
13551 \end_inset
13552
13553 .
13554  In any other case you have to use the LaTeX-package 
13555 \series bold
13556 colortbl
13557 \series default
13558 .
13559 \begin_inset LatexCommand index
13560 name "LaTeX-packages ! colortbl"
13561
13562 \end_inset
13563
13564
13565 \end_layout
13566
13567 \begin_layout Standard
13568 To create colored tables, 
13569 \series bold
13570 colortbl
13571 \series default
13572  must be loaded in the preamble with the line
13573 \end_layout
13574
13575 \begin_layout Standard
13576
13577 \series bold
13578
13579 \backslash
13580 usepackage{colortbl}
13581 \end_layout
13582
13583 \begin_layout Standard
13584 The color of a column is adjusted with the command
13585 \end_layout
13586
13587 \begin_layout Standard
13588
13589 \series bold
13590
13591 \backslash
13592 columncolor{name of color}
13593 \end_layout
13594
13595 \begin_layout Standard
13596 inside the command 
13597 \series bold
13598 >{ }
13599 \series default
13600 .
13601  More about the command 
13602 \series bold
13603 >{}
13604 \series default
13605  is described in section\InsetSpace ~
13606
13607 \begin_inset LatexCommand ref
13608 reference "sub:Multicolumn-Calculations"
13609
13610 \end_inset
13611
13612 .
13613 \end_layout
13614
13615 \begin_layout Standard
13616 The following color names are predefined:
13617 \end_layout
13618
13619 \begin_layout Standard
13620
13621 \family sans
13622 red
13623 \family default
13624
13625 \family sans
13626 green
13627 \family default
13628
13629 \family sans
13630 yellow
13631 \family default
13632
13633 \family sans
13634 blue
13635 \family default
13636
13637 \family sans
13638 cyan
13639 \family default
13640
13641 \family sans
13642 magenta
13643 \family default
13644
13645 \family sans
13646 black
13647 \family default
13648  and 
13649 \family sans
13650 white
13651 \end_layout
13652
13653 \begin_layout Standard
13654 \begin_inset VSpace medskip
13655 \end_inset
13656
13657
13658 \end_layout
13659
13660 \begin_layout Standard
13661 You can also define your own color with the command
13662 \end_layout
13663
13664 \begin_layout Standard
13665
13666 \series bold
13667
13668 \backslash
13669 def\SpecialChar \textcompwordmark{}
13670 inecolor{color name}{color model}{color values}
13671 \end_layout
13672
13673 \begin_layout Standard
13674 The color model can be
13675 \end_layout
13676
13677 \begin_layout Labeling
13678 \labelwidthstring 00.00.0000
13679 cmyk: cyan, magenta, yellow, black
13680 \end_layout
13681
13682 \begin_layout Labeling
13683 \labelwidthstring 00.00.0000
13684 rgb: red, green blue
13685 \end_layout
13686
13687 \begin_layout Labeling
13688 \labelwidthstring 00.00.0000
13689 gray gray
13690 \end_layout
13691
13692 \begin_layout Standard
13693 and the color values are comma separated numbers between 0 and 1 describing
13694  the factor for the corresponding color of the color model.
13695 \end_layout
13696
13697 \begin_layout Standard
13698 You can e.\InsetSpace \thinspace{}
13699 g.\InsetSpace ~
13700 define the color "
13701 \emph on
13702 darkgreen
13703 \emph default
13704 " in the preamble with
13705 \end_layout
13706
13707 \begin_layout Standard
13708
13709 \series bold
13710
13711 \backslash
13712 def\SpecialChar \textcompwordmark{}
13713 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13714 \end_layout
13715
13716 \begin_layout Standard
13717 and the color "
13718 \emph on
13719 lightgray
13720 \emph default
13721 " with
13722 \end_layout
13723
13724 \begin_layout Standard
13725
13726 \series bold
13727
13728 \backslash
13729 def\SpecialChar \textcompwordmark{}
13730 inecolor{lightgray}{gray}{0.8}
13731 \end_layout
13732
13733 \begin_layout Standard
13734 \begin_inset VSpace medskip
13735 \end_inset
13736
13737
13738 \end_layout
13739
13740 \begin_layout Standard
13741 Lines are colored with the command
13742 \end_layout
13743
13744 \begin_layout Standard
13745
13746 \series bold
13747
13748 \backslash
13749 rowcolor{name of color}
13750 \end_layout
13751
13752 \begin_layout Standard
13753 and cells are colored with the command
13754 \end_layout
13755
13756 \begin_layout Standard
13757
13758 \series bold
13759
13760 \backslash
13761 cellcolor{name of color}
13762 \end_layout
13763
13764 \begin_layout Standard
13765 Both commands are inserted at the beginning of a cell as ERT.
13766 \end_layout
13767
13768 \begin_layout Standard
13769 To color characters in the table, mark the cells and use the LyX menu 
13770 \family sans
13771 Edit\SpecialChar \menuseparator
13772 Text\InsetSpace ~
13773 Style
13774 \family default
13775 .
13776  If a cell contains ERT mark only the characters, otherwise the colored
13777  ERT will cause LaTeX-errors.
13778 \end_layout
13779
13780 \begin_layout Standard
13781 \begin_inset Note Greyedout
13782 status open
13783
13784 \begin_layout Standard
13785
13786 \series bold
13787 Note:
13788 \series default
13789  Not all DVI-viewers are able to display self-defined colors.
13790 \end_layout
13791
13792 \end_inset
13793
13794
13795 \end_layout
13796
13797 \begin_layout Standard
13798 \begin_inset VSpace bigskip
13799 \end_inset
13800
13801
13802 \end_layout
13803
13804 \begin_layout Standard
13805 To create Table\InsetSpace ~
13806
13807 \begin_inset LatexCommand ref
13808 reference "tab:Table-colored-using"
13809
13810 \end_inset
13811
13812  do the following: The color of the first column should be 
13813 \emph on
13814 darkgreen
13815 \emph default
13816 .
13817  So insert
13818 \end_layout
13819
13820 \begin_layout Standard
13821
13822 \series bold
13823 >{
13824 \backslash
13825 columncolor{darkgreen}
13826 \backslash
13827 centering}c
13828 \end_layout
13829
13830 \begin_layout Standard
13831 as LaTeX-argument for this column.
13832  The first row should be blue, therefore the ERT command
13833 \end_layout
13834
13835 \begin_layout Standard
13836
13837 \series bold
13838
13839 \backslash
13840 rowcolow{cyan}
13841 \end_layout
13842
13843 \begin_layout Standard
13844 is inserted to the first cell of this row.
13845  Note that this overwrites the column color for the first cell.
13846  The last cell of the last row is colored magenta by inserting the ERT command
13847 \end_layout
13848
13849 \begin_layout Standard
13850
13851 \series bold
13852
13853 \backslash
13854 cellcolor{magenta}
13855 \end_layout
13856
13857 \begin_layout Standard
13858 The characters could now be colored using the menu 
13859 \family sans
13860 Edit\SpecialChar \menuseparator
13861 Text\InsetSpace ~
13862 Style
13863 \family default
13864 .
13865 \end_layout
13866
13867 \begin_layout Standard
13868 \begin_inset Float table
13869 placement h
13870 wide false
13871 sideways false
13872 status open
13873
13874 \begin_layout Standard
13875 \begin_inset Caption
13876
13877 \begin_layout Standard
13878 \begin_inset LatexCommand label
13879 name "tab:Table-colored-using"
13880
13881 \end_inset
13882
13883 Table colored using the package 
13884 \series bold
13885 colortbl
13886 \series default
13887
13888 \begin_inset OptArg
13889 status collapsed
13890
13891 \begin_layout Standard
13892 Table with colortbl
13893 \end_layout
13894
13895 \end_inset
13896
13897
13898 \end_layout
13899
13900 \end_inset
13901
13902
13903 \end_layout
13904
13905 \begin_layout Standard
13906 \align center
13907 \begin_inset Tabular
13908 <lyxtabular version="3" rows="3" columns="3">
13909 <features>
13910 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13911 <column alignment="center" valignment="top" width="0">
13912 <column alignment="center" valignment="top" width="0">
13913 <row>
13914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13915 \begin_inset Text
13916
13917 \begin_layout Standard
13918 \begin_inset ERT
13919 status collapsed
13920
13921 \begin_layout Standard
13922
13923
13924 \backslash
13925 rowcolor{cyan}
13926 \end_layout
13927
13928 \end_inset
13929
13930
13931 \color magenta
13932 a
13933 \end_layout
13934
13935 \end_inset
13936 </cell>
13937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13938 \begin_inset Text
13939
13940 \begin_layout Standard
13941
13942 \color red
13943 b
13944 \end_layout
13945
13946 \end_inset
13947 </cell>
13948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13949 \begin_inset Text
13950
13951 \begin_layout Standard
13952
13953 \color red
13954 c
13955 \end_layout
13956
13957 \end_inset
13958 </cell>
13959 </row>
13960 <row>
13961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13962 \begin_inset Text
13963
13964 \begin_layout Standard
13965
13966 \color yellow
13967 d
13968 \end_layout
13969
13970 \end_inset
13971 </cell>
13972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13973 \begin_inset Text
13974
13975 \begin_layout Standard
13976
13977 \color blue
13978 e
13979 \end_layout
13980
13981 \end_inset
13982 </cell>
13983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13984 \begin_inset Text
13985
13986 \begin_layout Standard
13987
13988 \color blue
13989 f
13990 \end_layout
13991
13992 \end_inset
13993 </cell>
13994 </row>
13995 <row>
13996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13997 \begin_inset Text
13998
13999 \begin_layout Standard
14000
14001 \color yellow
14002 g
14003 \end_layout
14004
14005 \end_inset
14006 </cell>
14007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14008 \begin_inset Text
14009
14010 \begin_layout Standard
14011
14012 \color blue
14013 h
14014 \end_layout
14015
14016 \end_inset
14017 </cell>
14018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14019 \begin_inset Text
14020
14021 \begin_layout Standard
14022 \begin_inset ERT
14023 status collapsed
14024
14025 \begin_layout Standard
14026
14027
14028 \backslash
14029 cellcolor{magenta}
14030 \end_layout
14031
14032 \end_inset
14033
14034
14035 \color green
14036 i
14037 \end_layout
14038
14039 \end_inset
14040 </cell>
14041 </row>
14042 </lyxtabular>
14043
14044 \end_inset
14045
14046
14047 \end_layout
14048
14049 \end_inset
14050
14051
14052 \end_layout
14053
14054 \begin_layout Subsection
14055 Colored Lines
14056 \begin_inset LatexCommand index
14057 name "Table Color ! for Lines"
14058
14059 \end_inset
14060
14061
14062 \begin_inset LatexCommand index
14063 name "Color ! for Table Lines"
14064
14065 \end_inset
14066
14067
14068 \end_layout
14069
14070 \begin_layout Standard
14071 As described in section\InsetSpace ~
14072
14073 \begin_inset LatexCommand ref
14074 reference "sub:Line-Thickness"
14075
14076 \end_inset
14077
14078 , the line thickness for all lines in a table can be adjusted with the length
14079  
14080 \series bold
14081
14082 \backslash
14083 arrayrulewidth
14084 \series default
14085 .
14086  It is set to 1.5\InsetSpace \thinspace{}
14087 pt for all tables of this section.
14088 \begin_inset ERT
14089 status collapsed
14090
14091 \begin_layout Standard
14092
14093
14094 \backslash
14095 setlength{
14096 \backslash
14097 arrayrulewidth}{1.5pt}
14098 \end_layout
14099
14100 \end_inset
14101
14102
14103 \end_layout
14104
14105 \begin_layout Standard
14106 To color vertical lines for example with green, create the following column
14107  format in the document preamble, according to the description in section\InsetSpace ~
14108
14109 \begin_inset LatexCommand ref
14110 reference "sub:Customized-Format"
14111
14112 \end_inset
14113
14114 :
14115 \end_layout
14116
14117 \begin_layout Standard
14118
14119 \series bold
14120
14121 \backslash
14122 newcolumntype{W}{!{
14123 \backslash
14124 color{green}
14125 \backslash
14126 vline}}
14127 \end_layout
14128
14129 \begin_layout Standard
14130 For Table\InsetSpace ~
14131
14132 \begin_inset LatexCommand ref
14133 reference "tab:Table-with-vertical-colored"
14134
14135 \end_inset
14136
14137  the LaTeX-argument
14138 \series bold
14139  WcW
14140 \series default
14141  was used for the last column and
14142 \series bold
14143  Wc
14144 \series default
14145  for the other columns.
14146 \end_layout
14147
14148 \begin_layout Standard
14149 If you want to have several colors, define more column formats.
14150 \end_layout
14151
14152 \begin_layout Standard
14153 \begin_inset Float table
14154 wide false
14155 sideways false
14156 status open
14157
14158 \begin_layout Standard
14159 \begin_inset Caption
14160
14161 \begin_layout Standard
14162 \begin_inset LatexCommand label
14163 name "tab:Table-with-vertical-colored"
14164
14165 \end_inset
14166
14167 Table with colored vertical lines
14168 \end_layout
14169
14170 \end_inset
14171
14172
14173 \end_layout
14174
14175 \begin_layout Standard
14176 \align center
14177 \begin_inset Tabular
14178 <lyxtabular version="3" rows="3" columns="3">
14179 <features>
14180 <column alignment="center" valignment="top" width="0" special="Wc">
14181 <column alignment="center" valignment="top" width="0" special="Wc">
14182 <column alignment="center" valignment="top" width="0" special="WcW">
14183 <row topline="true">
14184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14185 \begin_inset Text
14186
14187 \begin_layout Standard
14188 sd
14189 \end_layout
14190
14191 \end_inset
14192 </cell>
14193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14194 \begin_inset Text
14195
14196 \begin_layout Standard
14197
14198 \end_layout
14199
14200 \end_inset
14201 </cell>
14202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14203 \begin_inset Text
14204
14205 \begin_layout Standard
14206
14207 \end_layout
14208
14209 \end_inset
14210 </cell>
14211 </row>
14212 <row topline="true">
14213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14214 \begin_inset Text
14215
14216 \begin_layout Standard
14217
14218 \end_layout
14219
14220 \end_inset
14221 </cell>
14222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14223 \begin_inset Text
14224
14225 \begin_layout Standard
14226 sd
14227 \end_layout
14228
14229 \end_inset
14230 </cell>
14231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14232 \begin_inset Text
14233
14234 \begin_layout Standard
14235
14236 \end_layout
14237
14238 \end_inset
14239 </cell>
14240 </row>
14241 <row topline="true" bottomline="true">
14242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14243 \begin_inset Text
14244
14245 \begin_layout Standard
14246
14247 \end_layout
14248
14249 \end_inset
14250 </cell>
14251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14252 \begin_inset Text
14253
14254 \begin_layout Standard
14255
14256 \end_layout
14257
14258 \end_inset
14259 </cell>
14260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14261 \begin_inset Text
14262
14263 \begin_layout Standard
14264 sd
14265 \end_layout
14266
14267 \end_inset
14268 </cell>
14269 </row>
14270 </lyxtabular>
14271
14272 \end_inset
14273
14274
14275 \end_layout
14276
14277 \end_inset
14278
14279
14280 \end_layout
14281
14282 \begin_layout Standard
14283 \begin_inset VSpace bigskip
14284 \end_inset
14285
14286 To color horizontal lines for example with red, like in Table\InsetSpace ~
14287
14288 \begin_inset LatexCommand ref
14289 reference "tab:Table-with-horizontal-colored"
14290
14291 \end_inset
14292
14293 , insert these commands in ERT before the table or table float:
14294 \end_layout
14295
14296 \begin_layout Standard
14297
14298 \series bold
14299
14300 \backslash
14301 let
14302 \backslash
14303 myHlineC
14304 \backslash
14305 hline
14306 \newline
14307
14308 \backslash
14309 renewcommand{
14310 \backslash
14311 hline}
14312 \newline
14313
14314 \begin_inset ERT
14315 status collapsed
14316
14317 \begin_layout Standard
14318
14319
14320 \backslash
14321 hphantom{ }
14322 \end_layout
14323
14324 \end_inset
14325
14326 {
14327 \backslash
14328 arrayrulecolor{red}
14329 \backslash
14330 myHlineC
14331 \backslash
14332 arrayrulecolor{black}}
14333 \end_layout
14334
14335 \begin_layout Standard
14336 \begin_inset ERT
14337 status collapsed
14338
14339 \begin_layout Standard
14340
14341
14342 \backslash
14343 let
14344 \backslash
14345 myHlineC
14346 \backslash
14347 hline
14348 \end_layout
14349
14350 \begin_layout Standard
14351
14352
14353 \backslash
14354 renewcommand{
14355 \backslash
14356 hline}
14357 \end_layout
14358
14359 \begin_layout Standard
14360
14361  {
14362 \backslash
14363 arrayrulecolor{red}
14364 \backslash
14365 myHlineC
14366 \backslash
14367 arrayrulecolor{black}}
14368 \end_layout
14369
14370 \end_inset
14371
14372
14373 \begin_inset Float table
14374 wide false
14375 sideways false
14376 status open
14377
14378 \begin_layout Standard
14379 \begin_inset Caption
14380
14381 \begin_layout Standard
14382 \begin_inset LatexCommand label
14383 name "tab:Table-with-horizontal-colored"
14384
14385 \end_inset
14386
14387 Table with colored horizontal lines
14388 \end_layout
14389
14390 \end_inset
14391
14392
14393 \end_layout
14394
14395 \begin_layout Standard
14396 \align center
14397 \begin_inset Tabular
14398 <lyxtabular version="3" rows="3" columns="3">
14399 <features>
14400 <column alignment="center" valignment="top" leftline="true" width="0">
14401 <column alignment="center" valignment="top" leftline="true" width="0">
14402 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14403 <row topline="true">
14404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14405 \begin_inset Text
14406
14407 \begin_layout Standard
14408 sd
14409 \end_layout
14410
14411 \end_inset
14412 </cell>
14413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14414 \begin_inset Text
14415
14416 \begin_layout Standard
14417
14418 \end_layout
14419
14420 \end_inset
14421 </cell>
14422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14423 \begin_inset Text
14424
14425 \begin_layout Standard
14426
14427 \end_layout
14428
14429 \end_inset
14430 </cell>
14431 </row>
14432 <row topline="true">
14433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14434 \begin_inset Text
14435
14436 \begin_layout Standard
14437
14438 \end_layout
14439
14440 \end_inset
14441 </cell>
14442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14443 \begin_inset Text
14444
14445 \begin_layout Standard
14446 sd
14447 \end_layout
14448
14449 \end_inset
14450 </cell>
14451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14452 \begin_inset Text
14453
14454 \begin_layout Standard
14455
14456 \end_layout
14457
14458 \end_inset
14459 </cell>
14460 </row>
14461 <row topline="true" bottomline="true">
14462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14463 \begin_inset Text
14464
14465 \begin_layout Standard
14466
14467 \end_layout
14468
14469 \end_inset
14470 </cell>
14471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14472 \begin_inset Text
14473
14474 \begin_layout Standard
14475
14476 \end_layout
14477
14478 \end_inset
14479 </cell>
14480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14481 \begin_inset Text
14482
14483 \begin_layout Standard
14484 sd
14485 \end_layout
14486
14487 \end_inset
14488 </cell>
14489 </row>
14490 </lyxtabular>
14491
14492 \end_inset
14493
14494
14495 \end_layout
14496
14497 \end_inset
14498
14499
14500 \end_layout
14501
14502 \begin_layout Standard
14503 \begin_inset ERT
14504 status collapsed
14505
14506 \begin_layout Standard
14507
14508
14509 \backslash
14510 pagebreak 
14511 \end_layout
14512
14513 \end_inset
14514
14515
14516 \end_layout
14517
14518 \begin_layout Standard
14519 To return to the default line color black, insert this command in ERT behind
14520  the table or table float:
14521 \end_layout
14522
14523 \begin_layout Standard
14524
14525 \series bold
14526
14527 \backslash
14528 renewcommand{
14529 \backslash
14530 hline}{
14531 \backslash
14532 myHlineC}
14533 \end_layout
14534
14535 \begin_layout Standard
14536 Table\InsetSpace ~
14537
14538 \begin_inset LatexCommand ref
14539 reference "tab:Table-with-colored"
14540
14541 \end_inset
14542
14543  is an example with colored vertical and horizontal lines.
14544 \end_layout
14545
14546 \begin_layout Standard
14547 \begin_inset Float table
14548 placement h
14549 wide false
14550 sideways false
14551 status open
14552
14553 \begin_layout Standard
14554 \begin_inset Caption
14555
14556 \begin_layout Standard
14557 \begin_inset LatexCommand label
14558 name "tab:Table-with-colored"
14559
14560 \end_inset
14561
14562 Table with colored lines
14563 \end_layout
14564
14565 \end_inset
14566
14567
14568 \end_layout
14569
14570 \begin_layout Standard
14571 \align center
14572 \begin_inset Tabular
14573 <lyxtabular version="3" rows="3" columns="3">
14574 <features>
14575 <column alignment="center" valignment="top" width="0" special="Wc">
14576 <column alignment="center" valignment="top" width="0" special="Wc">
14577 <column alignment="center" valignment="top" width="0" special="WcW">
14578 <row topline="true">
14579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14580 \begin_inset Text
14581
14582 \begin_layout Standard
14583 sd
14584 \end_layout
14585
14586 \end_inset
14587 </cell>
14588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14589 \begin_inset Text
14590
14591 \begin_layout Standard
14592
14593 \end_layout
14594
14595 \end_inset
14596 </cell>
14597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14598 \begin_inset Text
14599
14600 \begin_layout Standard
14601
14602 \end_layout
14603
14604 \end_inset
14605 </cell>
14606 </row>
14607 <row topline="true">
14608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14609 \begin_inset Text
14610
14611 \begin_layout Standard
14612
14613 \end_layout
14614
14615 \end_inset
14616 </cell>
14617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14618 \begin_inset Text
14619
14620 \begin_layout Standard
14621 sd
14622 \end_layout
14623
14624 \end_inset
14625 </cell>
14626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14627 \begin_inset Text
14628
14629 \begin_layout Standard
14630
14631 \end_layout
14632
14633 \end_inset
14634 </cell>
14635 </row>
14636 <row topline="true" bottomline="true" topspace="default">
14637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14638 \begin_inset Text
14639
14640 \begin_layout Standard
14641
14642 \end_layout
14643
14644 \end_inset
14645 </cell>
14646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14647 \begin_inset Text
14648
14649 \begin_layout Standard
14650
14651 \end_layout
14652
14653 \end_inset
14654 </cell>
14655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14656 \begin_inset Text
14657
14658 \begin_layout Standard
14659 sd
14660 \end_layout
14661
14662 \end_inset
14663 </cell>
14664 </row>
14665 </lyxtabular>
14666
14667 \end_inset
14668
14669
14670 \end_layout
14671
14672 \end_inset
14673
14674
14675 \end_layout
14676
14677 \begin_layout Standard
14678 \begin_inset ERT
14679 status collapsed
14680
14681 \begin_layout Standard
14682
14683
14684 \backslash
14685 renewcommand{
14686 \backslash
14687 hline}{
14688 \backslash
14689 myHlineC}
14690 \end_layout
14691
14692 \end_inset
14693
14694
14695 \end_layout
14696
14697 \begin_layout Standard
14698 \begin_inset ERT
14699 status collapsed
14700
14701 \begin_layout Standard
14702
14703
14704 \backslash
14705 setlength{
14706 \backslash
14707 arrayrulewidth}{0.4pt}
14708 \end_layout
14709
14710 \end_inset
14711
14712
14713 \end_layout
14714
14715 \begin_layout Section
14716 Table Customization
14717 \begin_inset LatexCommand index
14718 name "Table Customization"
14719
14720 \end_inset
14721
14722
14723 \begin_inset LatexCommand index
14724 name "Table ! Customization"
14725
14726 \end_inset
14727
14728
14729 \end_layout
14730
14731 \begin_layout Subsection
14732 Row Spacing
14733 \begin_inset LatexCommand label
14734 name "sub:Row-Spacing"
14735
14736 \end_inset
14737
14738
14739 \begin_inset LatexCommand index
14740 name "Table Customization ! Row Spacing"
14741
14742 \end_inset
14743
14744
14745 \end_layout
14746
14747 \begin_layout Standard
14748 You can add vertical space to table rows in the 
14749 \family sans
14750 Borders
14751 \family default
14752  tab of the table dialog.
14753  You find there three possibilities:
14754 \end_layout
14755
14756 \begin_layout Description
14757 Top\InsetSpace ~
14758 of\InsetSpace ~
14759 row will add space above the characters of the table row.
14760  If the table is a formal table
14761 \begin_inset Foot
14762 status collapsed
14763
14764 \begin_layout Standard
14765 Formal tables are explained in section\InsetSpace ~
14766
14767 \begin_inset LatexCommand ref
14768 reference "sec:Formal-Tables"
14769
14770 \end_inset
14771
14772 .
14773 \end_layout
14774
14775 \end_inset
14776
14777  LyX will insert as default 0.5\InsetSpace \thinspace{}
14778 em space.
14779  For normal tables the inserted space will unfortunately destroy the vertical
14780  table lines as in the following table:
14781 \begin_inset VSpace medskip
14782 \end_inset
14783
14784
14785 \newline
14786
14787 \begin_inset ERT
14788 status collapsed
14789
14790 \begin_layout Standard
14791
14792
14793 \backslash
14794 hspace*{0pt}
14795 \end_layout
14796
14797 \end_inset
14798
14799
14800 \hfill
14801
14802 \begin_inset Tabular
14803 <lyxtabular version="3" rows="3" columns="1">
14804 <features>
14805 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14806 <row topline="true">
14807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14808 \begin_inset Text
14809
14810 \begin_layout Standard
14811 A
14812 \end_layout
14813
14814 \end_inset
14815 </cell>
14816 </row>
14817 <row topline="true" topspace="3mm">
14818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14819 \begin_inset Text
14820
14821 \begin_layout Standard
14822 3\InsetSpace \thinspace{}
14823 mm space top of row
14824 \end_layout
14825
14826 \end_inset
14827 </cell>
14828 </row>
14829 <row topline="true" bottomline="true">
14830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14831 \begin_inset Text
14832
14833 \begin_layout Standard
14834 C
14835 \end_layout
14836
14837 \end_inset
14838 </cell>
14839 </row>
14840 </lyxtabular>
14841
14842 \end_inset
14843
14844
14845 \hfill
14846
14847 \begin_inset ERT
14848 status collapsed
14849
14850 \begin_layout Standard
14851
14852
14853 \backslash
14854 hspace*{0pt}
14855 \end_layout
14856
14857 \end_inset
14858
14859
14860 \begin_inset VSpace medskip
14861 \end_inset
14862
14863
14864 \newline
14865 So inserting space to the top of row for normal tables is only useful when
14866  you don't have vertical lines.
14867 \end_layout
14868
14869 \begin_layout Description
14870 Bottom\InsetSpace ~
14871 of\InsetSpace ~
14872 row will add space below the characters of the table row.
14873  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14874 em space, for
14875  normal tables the default size is 2\InsetSpace \thinspace{}
14876 pt.
14877 \end_layout
14878
14879 \begin_layout Description
14880 Between\InsetSpace ~
14881 rows adds space between the current and the following row.
14882  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14883 em space.
14884  For normal tables the inserted space will unfortunately destroy the vertical
14885  table lines as in the following table:
14886 \begin_inset VSpace medskip
14887 \end_inset
14888
14889
14890 \newline
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 \hfill
14906
14907 \begin_inset Tabular
14908 <lyxtabular version="3" rows="3" columns="1">
14909 <features>
14910 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14911 <row topline="true">
14912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14913 \begin_inset Text
14914
14915 \begin_layout Standard
14916 A
14917 \end_layout
14918
14919 \end_inset
14920 </cell>
14921 </row>
14922 <row topline="true" interlinespace="3mm">
14923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14924 \begin_inset Text
14925
14926 \begin_layout Standard
14927 \begin_inset Formula $\downarrow$
14928 \end_inset
14929
14930  3\InsetSpace \thinspace{}
14931 mm space between row 
14932 \begin_inset Formula $\downarrow$
14933 \end_inset
14934
14935
14936 \end_layout
14937
14938 \end_inset
14939 </cell>
14940 </row>
14941 <row topline="true" bottomline="true">
14942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14943 \begin_inset Text
14944
14945 \begin_layout Standard
14946 \begin_inset Formula $\uparrow$
14947 \end_inset
14948
14949  3\InsetSpace \thinspace{}
14950 mm space between row 
14951 \begin_inset Formula $\uparrow$
14952 \end_inset
14953
14954
14955 \end_layout
14956
14957 \end_inset
14958 </cell>
14959 </row>
14960 </lyxtabular>
14961
14962 \end_inset
14963
14964
14965 \hfill
14966
14967 \begin_inset ERT
14968 status collapsed
14969
14970 \begin_layout Standard
14971
14972
14973 \backslash
14974 hspace*{0pt}
14975 \end_layout
14976
14977 \end_inset
14978
14979
14980 \begin_inset VSpace medskip
14981 \end_inset
14982
14983
14984 \newline
14985 So inserting space between rows for normal tables is only useful when you
14986  don't have vertical lines.
14987 \end_layout
14988
14989 \begin_layout Standard
14990 \begin_inset VSpace bigskip
14991 \end_inset
14992
14993 When you want to add extra height to all cells of all tables, you can do
14994  this with the following preamble lines:
14995 \end_layout
14996
14997 \begin_layout Standard
14998
14999 \series bold
15000
15001 \backslash
15002 @ifundef\SpecialChar \textcompwordmark{}
15003 ined{extrarowheight}
15004 \newline
15005
15006 \begin_inset ERT
15007 status collapsed
15008
15009 \begin_layout Standard
15010
15011
15012 \backslash
15013 hphantom{ }
15014 \end_layout
15015
15016 \end_inset
15017
15018 {
15019 \backslash
15020 usepackage{array}}{}
15021 \newline
15022
15023 \backslash
15024 setlength{
15025 \backslash
15026 extrarowheight}{height}
15027 \end_layout
15028
15029 \begin_layout Standard
15030 But this has the disadvantage that the cell texts are no longer exactly
15031  vertically centered.
15032  (The package 
15033 \series bold
15034 array
15035 \series default
15036  will be loaded automatically by LyX when you use self defined table formats.
15037  To avoid that it is loaded twice the command 
15038 \series bold
15039
15040 \backslash
15041 @ifundef\SpecialChar \textcompwordmark{}
15042 ined
15043 \series default
15044  is used in the above command.)
15045 \end_layout
15046
15047 \begin_layout Subsection
15048 Special Cell Alignment
15049 \begin_inset LatexCommand index
15050 name "Table Customization ! Special Cell Alignment"
15051
15052 \end_inset
15053
15054
15055 \end_layout
15056
15057 \begin_layout Standard
15058 Sometimes it looks better when the cell entries of a column are aligned
15059  with a special character, e.\InsetSpace \thinspace{}
15060 g.\InsetSpace ~
15061 with the decimal separator as in Table\InsetSpace ~
15062
15063 \begin_inset LatexCommand ref
15064 reference "tab:Table-cells-of"
15065
15066 \end_inset
15067
15068 .
15069 \end_layout
15070
15071 \begin_layout Standard
15072 \begin_inset Float table
15073 placement h
15074 wide false
15075 sideways false
15076 status open
15077
15078 \begin_layout Standard
15079 \begin_inset Caption
15080
15081 \begin_layout Standard
15082 \begin_inset LatexCommand label
15083 name "tab:Table-cells-of"
15084
15085 \end_inset
15086
15087 Table cells of a column aligned with the decimal separator.
15088 \end_layout
15089
15090 \end_inset
15091
15092
15093 \end_layout
15094
15095 \begin_layout Standard
15096 \align center
15097 \begin_inset Tabular
15098 <lyxtabular version="3" rows="4" columns="2">
15099 <features>
15100 <column alignment="right" valignment="top" width="0">
15101 <column alignment="left" valignment="top" width="0" special="@{}l">
15102 <row bottomline="true">
15103 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15104 \begin_inset Text
15105
15106 \begin_layout Standard
15107 heading
15108 \end_layout
15109
15110 \end_inset
15111 </cell>
15112 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15113 \begin_inset Text
15114
15115 \begin_layout Standard
15116
15117 \end_layout
15118
15119 \end_inset
15120 </cell>
15121 </row>
15122 <row>
15123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15124 \begin_inset Text
15125
15126 \begin_layout Standard
15127 12.
15128 \end_layout
15129
15130 \end_inset
15131 </cell>
15132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15133 \begin_inset Text
15134
15135 \begin_layout Standard
15136 6
15137 \end_layout
15138
15139 \end_inset
15140 </cell>
15141 </row>
15142 <row>
15143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15144 \begin_inset Text
15145
15146 \begin_layout Standard
15147 0.
15148 \end_layout
15149
15150 \end_inset
15151 </cell>
15152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15153 \begin_inset Text
15154
15155 \begin_layout Standard
15156 68
15157 \end_layout
15158
15159 \end_inset
15160 </cell>
15161 </row>
15162 <row>
15163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15164 \begin_inset Text
15165
15166 \begin_layout Standard
15167 -123.
15168 \end_layout
15169
15170 \end_inset
15171 </cell>
15172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15173 \begin_inset Text
15174
15175 \begin_layout Standard
15176 0
15177 \end_layout
15178
15179 \end_inset
15180 </cell>
15181 </row>
15182 </lyxtabular>
15183
15184 \end_inset
15185
15186
15187 \end_layout
15188
15189 \end_inset
15190
15191
15192 \end_layout
15193
15194 \begin_layout Standard
15195 This table was created with a 4×2 table.
15196  The heading is a centered multicolumn.
15197  The first column is right-aligned and contains the digits before the decimal
15198  point and the decimal point.
15199  The second column is left aligned and contains the digits after the decimal
15200  point.
15201  To omit the space that is normally between two table columns, use the following
15202  LaTeX-argument for the second column:
15203 \end_layout
15204
15205 \begin_layout Standard
15206
15207 \series bold
15208 @{}l
15209 \end_layout
15210
15211 \begin_layout Standard
15212 Table\InsetSpace ~
15213
15214 \begin_inset LatexCommand ref
15215 reference "tab:Several-table-cell"
15216
15217 \end_inset
15218
15219  shows some example alignments.
15220  For the alignment with the relation sign, you must add the second smallest
15221  math-space at the beginning of the last column to get the correct space
15222  surrounding the relation sign.
15223 \end_layout
15224
15225 \begin_layout Standard
15226 \begin_inset Float table
15227 wide false
15228 sideways false
15229 status open
15230
15231 \begin_layout Standard
15232 \begin_inset Caption
15233
15234 \begin_layout Standard
15235 \begin_inset LatexCommand label
15236 name "tab:Several-table-cell"
15237
15238 \end_inset
15239
15240 Several table cell alignments.
15241 \end_layout
15242
15243 \end_inset
15244
15245
15246 \end_layout
15247
15248 \begin_layout Standard
15249 \align center
15250 \begin_inset Tabular
15251 <lyxtabular version="3" rows="4" columns="6">
15252 <features>
15253 <column alignment="right" valignment="top" width="0">
15254 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15255 <column alignment="right" valignment="top" width="0">
15256 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15257 <column alignment="right" valignment="top" width="0">
15258 <column alignment="left" valignment="top" width="0" special="@{}l">
15259 <row bottomline="true">
15260 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15261 \begin_inset Text
15262
15263 \begin_layout Standard
15264 units
15265 \end_layout
15266
15267 \end_inset
15268 </cell>
15269 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15270 \begin_inset Text
15271
15272 \begin_layout Standard
15273
15274 \end_layout
15275
15276 \end_inset
15277 </cell>
15278 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15279 \begin_inset Text
15280
15281 \begin_layout Standard
15282 exponents
15283 \end_layout
15284
15285 \end_inset
15286 </cell>
15287 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15288 \begin_inset Text
15289
15290 \begin_layout Standard
15291
15292 \end_layout
15293
15294 \end_inset
15295 </cell>
15296 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15297 \begin_inset Text
15298
15299 \begin_layout Standard
15300 relations
15301 \end_layout
15302
15303 \end_inset
15304 </cell>
15305 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15306 \begin_inset Text
15307
15308 \begin_layout Standard
15309
15310 \end_layout
15311
15312 \end_inset
15313 </cell>
15314 </row>
15315 <row>
15316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15317 \begin_inset Text
15318
15319 \begin_layout Standard
15320 12×
15321 \end_layout
15322
15323 \end_inset
15324 </cell>
15325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15326 \begin_inset Text
15327
15328 \begin_layout Standard
15329 24\InsetSpace \thinspace{}
15330 bottles
15331 \end_layout
15332
15333 \end_inset
15334 </cell>
15335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15336 \begin_inset Text
15337
15338 \begin_layout Standard
15339 \begin_inset Formula $10\cdot$
15340 \end_inset
15341
15342
15343 \end_layout
15344
15345 \end_inset
15346 </cell>
15347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15348 \begin_inset Text
15349
15350 \begin_layout Standard
15351 \begin_inset Formula $10^{\mbox{-}17}$
15352 \end_inset
15353
15354
15355 \end_layout
15356
15357 \end_inset
15358 </cell>
15359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15360 \begin_inset Text
15361
15362 \begin_layout Standard
15363 \begin_inset Formula $\Gamma(t)\propto$
15364 \end_inset
15365
15366
15367 \end_layout
15368
15369 \end_inset
15370 </cell>
15371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15372 \begin_inset Text
15373
15374 \begin_layout Standard
15375 \begin_inset Formula $\:\Upsilon(t)$
15376 \end_inset
15377
15378
15379 \end_layout
15380
15381 \end_inset
15382 </cell>
15383 </row>
15384 <row>
15385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15386 \begin_inset Text
15387
15388 \begin_layout Standard
15389 1024×
15390 \end_layout
15391
15392 \end_inset
15393 </cell>
15394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15395 \begin_inset Text
15396
15397 \begin_layout Standard
15398 768\InsetSpace \thinspace{}
15399 Pixels
15400 \end_layout
15401
15402 \end_inset
15403 </cell>
15404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15405 \begin_inset Text
15406
15407 \begin_layout Standard
15408 \begin_inset Formula $5.78\cdot$
15409 \end_inset
15410
15411
15412 \end_layout
15413
15414 \end_inset
15415 </cell>
15416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15417 \begin_inset Text
15418
15419 \begin_layout Standard
15420 \begin_inset Formula $10^{7}$
15421 \end_inset
15422
15423
15424 \end_layout
15425
15426 \end_inset
15427 </cell>
15428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15429 \begin_inset Text
15430
15431 \begin_layout Standard
15432 \begin_inset Formula $A\ne$
15433 \end_inset
15434
15435
15436 \end_layout
15437
15438 \end_inset
15439 </cell>
15440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15441 \begin_inset Text
15442
15443 \begin_layout Standard
15444 \begin_inset Formula $\: B_{\mathrm{red}}$
15445 \end_inset
15446
15447
15448 \end_layout
15449
15450 \end_inset
15451 </cell>
15452 </row>
15453 <row>
15454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15455 \begin_inset Text
15456
15457 \begin_layout Standard
15458 32×
15459 \end_layout
15460
15461 \end_inset
15462 </cell>
15463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15464 \begin_inset Text
15465
15466 \begin_layout Standard
15467 6\InsetSpace \thinspace{}
15468 cm
15469 \end_layout
15470
15471 \end_inset
15472 </cell>
15473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15474 \begin_inset Text
15475
15476 \begin_layout Standard
15477 -
15478 \begin_inset Formula $33.5\cdot$
15479 \end_inset
15480
15481
15482 \end_layout
15483
15484 \end_inset
15485 </cell>
15486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15487 \begin_inset Text
15488
15489 \begin_layout Standard
15490 \begin_inset Formula $10^{4}$
15491 \end_inset
15492
15493
15494 \end_layout
15495
15496 \end_inset
15497 </cell>
15498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15499 \begin_inset Text
15500
15501 \begin_layout Standard
15502 \begin_inset Formula $\sin(\alpha)\ge$
15503 \end_inset
15504
15505
15506 \end_layout
15507
15508 \end_inset
15509 </cell>
15510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15511 \begin_inset Text
15512
15513 \begin_layout Standard
15514 \begin_inset Formula $\:\sin(\beta)$
15515 \end_inset
15516
15517
15518 \end_layout
15519
15520 \end_inset
15521 </cell>
15522 </row>
15523 </lyxtabular>
15524
15525 \end_inset
15526
15527
15528 \end_layout
15529
15530 \end_inset
15531
15532
15533 \end_layout
15534
15535 \begin_layout Standard
15536 \begin_inset VSpace bigskip
15537 \end_inset
15538
15539 There is also the LaTeX-package 
15540 \series bold
15541 dcolumn
15542 \series default
15543
15544 \begin_inset LatexCommand index
15545 name "LaTeX-packages ! dcolumn"
15546
15547 \end_inset
15548
15549  that provides table cell alignments.
15550  But this unfortunately treats the cell entries as math and doesn't allow
15551  formulas in table cells: The first column of Table\InsetSpace ~
15552
15553 \begin_inset LatexCommand ref
15554 reference "tab:Several-table-cell"
15555
15556 \end_inset
15557
15558  will look with 
15559 \series bold
15560 dcolumn
15561 \series default
15562  like the first column in Table\InsetSpace ~
15563
15564 \begin_inset LatexCommand ref
15565 reference "tab:Alignments-when"
15566
15567 \end_inset
15568
15569  and only with some tricks like the expected.
15570  The alignment of the second and third column of Table\InsetSpace ~
15571
15572 \begin_inset LatexCommand ref
15573 reference "tab:Several-table-cell"
15574
15575 \end_inset
15576
15577  is not possible with 
15578 \series bold
15579 dcolumn
15580 \series default
15581 .
15582 \end_layout
15583
15584 \begin_layout Standard
15585 \begin_inset Float table
15586 placement h
15587 wide false
15588 sideways false
15589 status open
15590
15591 \begin_layout Standard
15592 \begin_inset Caption
15593
15594 \begin_layout Standard
15595 \begin_inset LatexCommand label
15596 name "tab:Alignments-when"
15597
15598 \end_inset
15599
15600 Alignments when LaTeX-package dcolumn is used.
15601  For all column alignments tricks have to be used to get the output.
15602 \end_layout
15603
15604 \end_inset
15605
15606
15607 \end_layout
15608
15609 \begin_layout Standard
15610 \align center
15611 \begin_inset Tabular
15612 <lyxtabular version="3" rows="4" columns="3">
15613 <features>
15614 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15615 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15616 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15617 <row bottomline="true">
15618 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15619 \begin_inset Text
15620
15621 \begin_layout Standard
15622 units
15623 \end_layout
15624
15625 \end_inset
15626 </cell>
15627 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15628 \begin_inset Text
15629
15630 \begin_layout Standard
15631 units
15632 \end_layout
15633
15634 \end_inset
15635 </cell>
15636 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15637 \begin_inset Text
15638
15639 \begin_layout Standard
15640 units
15641 \end_layout
15642
15643 \end_inset
15644 </cell>
15645 </row>
15646 <row>
15647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15648 \begin_inset Text
15649
15650 \begin_layout Standard
15651 12x24\InsetSpace \thinspace{}
15652 bottles
15653 \end_layout
15654
15655 \end_inset
15656 </cell>
15657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15658 \begin_inset Text
15659
15660 \begin_layout Standard
15661 12x24\InsetSpace \thinspace{}
15662
15663 \begin_inset Formula $\mbox{bottles}$
15664 \end_inset
15665
15666
15667 \end_layout
15668
15669 \end_inset
15670 </cell>
15671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15672 \begin_inset Text
15673
15674 \begin_layout Standard
15675 12
15676 \begin_inset ERT
15677 status collapsed
15678
15679 \begin_layout Standard
15680
15681
15682 \backslash
15683 times 
15684 \end_layout
15685
15686 \end_inset
15687
15688 24~
15689 \begin_inset Formula $\mbox{bottles}$
15690 \end_inset
15691
15692
15693 \end_layout
15694
15695 \end_inset
15696 </cell>
15697 </row>
15698 <row>
15699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15700 \begin_inset Text
15701
15702 \begin_layout Standard
15703 1024x768\InsetSpace \thinspace{}
15704 Pixels
15705 \end_layout
15706
15707 \end_inset
15708 </cell>
15709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15710 \begin_inset Text
15711
15712 \begin_layout Standard
15713 1024x768\InsetSpace \thinspace{}
15714
15715 \begin_inset Formula $\mbox{Pixels}$
15716 \end_inset
15717
15718
15719 \end_layout
15720
15721 \end_inset
15722 </cell>
15723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15724 \begin_inset Text
15725
15726 \begin_layout Standard
15727 1024
15728 \begin_inset ERT
15729 status collapsed
15730
15731 \begin_layout Standard
15732
15733
15734 \backslash
15735 times 
15736 \end_layout
15737
15738 \end_inset
15739
15740 768~
15741 \begin_inset Formula $\mbox{Pixels}$
15742 \end_inset
15743
15744
15745 \end_layout
15746
15747 \end_inset
15748 </cell>
15749 </row>
15750 <row>
15751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15752 \begin_inset Text
15753
15754 \begin_layout Standard
15755 32x6\InsetSpace \thinspace{}
15756 cm
15757 \end_layout
15758
15759 \end_inset
15760 </cell>
15761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15762 \begin_inset Text
15763
15764 \begin_layout Standard
15765 32x6\InsetSpace \thinspace{}
15766
15767 \begin_inset Formula $\mbox{cm}$
15768 \end_inset
15769
15770
15771 \end_layout
15772
15773 \end_inset
15774 </cell>
15775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15776 \begin_inset Text
15777
15778 \begin_layout Standard
15779 32
15780 \begin_inset ERT
15781 status collapsed
15782
15783 \begin_layout Standard
15784
15785
15786 \backslash
15787 times 
15788 \end_layout
15789
15790 \end_inset
15791
15792 6~
15793 \begin_inset Formula $\mbox{cm}$
15794 \end_inset
15795
15796
15797 \end_layout
15798
15799 \end_inset
15800 </cell>
15801 </row>
15802 </lyxtabular>
15803
15804 \end_inset
15805
15806
15807 \end_layout
15808
15809 \end_inset
15810
15811
15812 \end_layout
15813
15814 \begin_layout Subsection
15815 Customized Cell/Column Format
15816 \begin_inset LatexCommand label
15817 name "sub:Customized-Format"
15818
15819 \end_inset
15820
15821
15822 \begin_inset LatexCommand index
15823 name "Table Customization ! Cell/Column Format"
15824
15825 \end_inset
15826
15827
15828 \end_layout
15829
15830 \begin_layout Standard
15831 Calculating the needed width for spanned columns like in section\InsetSpace ~
15832
15833 \begin_inset LatexCommand ref
15834 reference "sub:Multicolumn-Calculations"
15835
15836 \end_inset
15837
15838  is very annoying if you have several tables with multicolumn cells.
15839  To make life easier, you can define a cell/column format in the preamble,
15840  so that it can be used in all tables of the document.
15841  The format is defined with the command
15842 \end_layout
15843
15844 \begin_layout Standard
15845
15846 \series bold
15847
15848 \backslash
15849 newcolumntype{name of format}[number of arguments]{commands}
15850 \end_layout
15851
15852 \begin_layout Standard
15853 The format name may only consist of one letter.
15854  The letters 
15855 \emph on
15856 b
15857 \emph default
15858
15859 \emph on
15860 c
15861 \emph default
15862
15863 \emph on
15864 l
15865 \emph default
15866
15867 \emph on
15868 m
15869 \emph default
15870
15871 \emph on
15872 p
15873 \emph default
15874  and 
15875 \emph on
15876 r
15877 \emph default
15878  are predefined and cannot be used.
15879  But all letters are allowed as capitals.
15880 \end_layout
15881
15882 \begin_layout Standard
15883 \begin_inset VSpace medskip
15884 \end_inset
15885
15886
15887 \end_layout
15888
15889 \begin_layout Standard
15890 For vertically and horizontally centered multicolumn cells with a fixed
15891  width you can define the cell format
15892 \end_layout
15893
15894 \begin_layout Standard
15895
15896 \series bold
15897
15898 \backslash
15899 newcolumntype{M}[1]{>{
15900 \backslash
15901 centering
15902 \backslash
15903 hspace{0pt}}m{#1}}
15904 \end_layout
15905
15906 \begin_layout Standard
15907 where 
15908 \series bold
15909
15910 \backslash
15911 hspace{0pt}
15912 \series default
15913  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15914
15915 \begin_inset LatexCommand ref
15916 reference "sub:Multiple-Lines-in"
15917
15918 \end_inset
15919
15920 .
15921  Now you can simply enter
15922 \end_layout
15923
15924 \begin_layout Standard
15925
15926 \series bold
15927 M{width}
15928 \end_layout
15929
15930 \begin_layout Standard
15931 as LaTeX-argument in the table dialog to create a multicolumn.
15932 \end_layout
15933
15934 \begin_layout Standard
15935 \begin_inset VSpace bigskip
15936 \end_inset
15937
15938
15939 \end_layout
15940
15941 \begin_layout Standard
15942 For cells spanned by a multicolumn cell, you can define the format
15943 \end_layout
15944
15945 \begin_layout Standard
15946
15947 \series bold
15948
15949 \backslash
15950 newcolumntype{S}[2]{>{
15951 \backslash
15952 centering
15953 \backslash
15954 hspace{0pt}}
15955 \newline
15956
15957 \begin_inset ERT
15958 status collapsed
15959
15960 \begin_layout Standard
15961
15962
15963 \backslash
15964 phantom{
15965 \end_layout
15966
15967 \end_inset
15968
15969
15970 \backslash
15971 newcolumntype{S}[2]
15972 \begin_inset ERT
15973 status collapsed
15974
15975 \begin_layout Standard
15976
15977 }
15978 \end_layout
15979
15980 \end_inset
15981
15982 m{(#1+(2
15983 \backslash
15984 tabcolsep+
15985 \backslash
15986 arrayrulewidth)*(1-#2))/#2}}
15987 \end_layout
15988
15989 \begin_layout Standard
15990 This format uses equation 
15991 \begin_inset LatexCommand eqref
15992 reference "eq:Wgn"
15993
15994 \end_inset
15995
15996  to calculate the needed width so that each spanned cell has the same width.
15997 \end_layout
15998
15999 \begin_layout Standard
16000 You can now enter
16001 \end_layout
16002
16003 \begin_layout Standard
16004
16005 \series bold
16006 S{width of multicolumn cell}{number of spanned columns}
16007 \end_layout
16008
16009 \begin_layout Standard
16010 as LaTeX-argument of the column.
16011 \end_layout
16012
16013 \begin_layout Standard
16014 \begin_inset VSpace bigskip
16015 \end_inset
16016
16017
16018 \end_layout
16019
16020 \begin_layout Standard
16021 For colored columns, you can define
16022 \end_layout
16023
16024 \begin_layout Standard
16025
16026 \series bold
16027
16028 \backslash
16029 newcolumntype{K}[1]{>{
16030 \backslash
16031 columncolor{#1}
16032 \backslash
16033 hspace{0pt}}c}
16034 \end_layout
16035
16036 \begin_layout Standard
16037 The 
16038 \begin_inset Quotes eld
16039 \end_inset
16040
16041 c
16042 \begin_inset Quotes erd
16043 \end_inset
16044
16045  at the end creates a column with a flexible width whose text is horizontally
16046  centered.
16047  You can now enter
16048 \end_layout
16049
16050 \begin_layout Standard
16051
16052 \series bold
16053 K{color name}
16054 \end_layout
16055
16056 \begin_layout Standard
16057 as LaTeX-argument.
16058 \end_layout
16059
16060 \begin_layout Standard
16061 \begin_inset VSpace bigskip
16062 \end_inset
16063
16064
16065 \end_layout
16066
16067 \begin_layout Standard
16068 To create Table\InsetSpace ~
16069
16070 \begin_inset LatexCommand ref
16071 reference "tab:Table-using-user-defined"
16072
16073 \end_inset
16074
16075  use the LaTeX-arguments
16076 \end_layout
16077
16078 \begin_layout Standard
16079
16080 \series bold
16081 M{2.5cm}
16082 \end_layout
16083
16084 \begin_layout Standard
16085 for the first column and the multicolumn,
16086 \end_layout
16087
16088 \begin_layout Standard
16089
16090 \series bold
16091 K{red}
16092 \end_layout
16093
16094 \begin_layout Standard
16095 for the the last column, and
16096 \end_layout
16097
16098 \begin_layout Standard
16099
16100 \series bold
16101 S{2.5cm}{2}
16102 \end_layout
16103
16104 \begin_layout Standard
16105 for the cells in the second column.
16106 \end_layout
16107
16108 \begin_layout Standard
16109 \begin_inset Float table
16110 placement h
16111 wide false
16112 sideways false
16113 status open
16114
16115 \begin_layout Standard
16116 \begin_inset Caption
16117
16118 \begin_layout Standard
16119 \begin_inset LatexCommand label
16120 name "tab:Table-using-user-defined"
16121
16122 \end_inset
16123
16124 Table using user-defined table formats
16125 \end_layout
16126
16127 \end_inset
16128
16129
16130 \end_layout
16131
16132 \begin_layout Standard
16133 \align center
16134 \begin_inset Tabular
16135 <lyxtabular version="3" rows="3" columns="4">
16136 <features>
16137 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16138 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16139 <column alignment="center" valignment="middle" leftline="true" width="0">
16140 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16141 <row topline="true">
16142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16143 \begin_inset Text
16144
16145 \begin_layout Standard
16146 verylongtablecellword
16147 \end_layout
16148
16149 \end_inset
16150 </cell>
16151 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16152 \begin_inset Text
16153
16154 \begin_layout Standard
16155 multiple lines multicolumn
16156 \end_layout
16157
16158 \end_inset
16159 </cell>
16160 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16161 \begin_inset Text
16162
16163 \begin_layout Standard
16164
16165 \end_layout
16166
16167 \end_inset
16168 </cell>
16169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16170 \begin_inset Text
16171
16172 \begin_layout Standard
16173 c
16174 \end_layout
16175
16176 \end_inset
16177 </cell>
16178 </row>
16179 <row topline="true">
16180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16181 \begin_inset Text
16182
16183 \begin_layout Standard
16184 d
16185 \end_layout
16186
16187 \end_inset
16188 </cell>
16189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16190 \begin_inset Text
16191
16192 \begin_layout Standard
16193 e
16194 \end_layout
16195
16196 \end_inset
16197 </cell>
16198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16199 \begin_inset Text
16200
16201 \begin_layout Standard
16202 f
16203 \end_layout
16204
16205 \end_inset
16206 </cell>
16207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16208 \begin_inset Text
16209
16210 \begin_layout Standard
16211 g
16212 \end_layout
16213
16214 \end_inset
16215 </cell>
16216 </row>
16217 <row topline="true" bottomline="true">
16218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16219 \begin_inset Text
16220
16221 \begin_layout Standard
16222 h
16223 \end_layout
16224
16225 \end_inset
16226 </cell>
16227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16228 \begin_inset Text
16229
16230 \begin_layout Standard
16231 i
16232 \end_layout
16233
16234 \end_inset
16235 </cell>
16236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16237 \begin_inset Text
16238
16239 \begin_layout Standard
16240 j
16241 \end_layout
16242
16243 \end_inset
16244 </cell>
16245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16246 \begin_inset Text
16247
16248 \begin_layout Standard
16249 k
16250 \end_layout
16251
16252 \end_inset
16253 </cell>
16254 </row>
16255 </lyxtabular>
16256
16257 \end_inset
16258
16259
16260 \end_layout
16261
16262 \end_inset
16263
16264
16265 \end_layout
16266
16267 \begin_layout Subsection
16268 Line Thickness
16269 \begin_inset LatexCommand label
16270 name "sub:Line-Thickness"
16271
16272 \end_inset
16273
16274
16275 \begin_inset LatexCommand index
16276 name "Table Customization ! Line Thickness"
16277
16278 \end_inset
16279
16280
16281 \end_layout
16282
16283 \begin_layout Standard
16284 The line thickness for all lines in a table can be adjusted with the length
16285  
16286 \series bold
16287
16288 \backslash
16289 arrayrulewidth
16290 \series default
16291 .
16292  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16293 pt, like in Table\InsetSpace ~
16294
16295 \begin_inset LatexCommand ref
16296 reference "tab:Table-with-1.5"
16297
16298 \end_inset
16299
16300 , insert the command
16301 \end_layout
16302
16303 \begin_layout Standard
16304
16305 \series bold
16306
16307 \backslash
16308 setlength{
16309 \backslash
16310 arrayrulewidth}{1.5pt}
16311 \end_layout
16312
16313 \begin_layout Standard
16314 in ERT before the table or table float.
16315  The changed thickness is valid for all following tables.
16316  To use the default value again, set 
16317 \series bold
16318
16319 \backslash
16320 arrayrulewidth
16321 \series default
16322  to 0.4\InsetSpace \thinspace{}
16323 pt in ERT behind the table or table float.
16324 \end_layout
16325
16326 \begin_layout Standard
16327 \begin_inset ERT
16328 status collapsed
16329
16330 \begin_layout Standard
16331
16332
16333 \backslash
16334 setlength{
16335 \backslash
16336 arrayrulewidth}{1.5pt}
16337 \end_layout
16338
16339 \end_inset
16340
16341
16342 \begin_inset Float table
16343 wide false
16344 sideways false
16345 status open
16346
16347 \begin_layout Standard
16348 \begin_inset Caption
16349
16350 \begin_layout Standard
16351 \begin_inset LatexCommand label
16352 name "tab:Table-with-1.5"
16353
16354 \end_inset
16355
16356 Table with 1.5\InsetSpace \thinspace{}
16357 pt thick lines
16358 \end_layout
16359
16360 \end_inset
16361
16362
16363 \end_layout
16364
16365 \begin_layout Standard
16366 \align center
16367 \begin_inset Tabular
16368 <lyxtabular version="3" rows="3" columns="3">
16369 <features>
16370 <column alignment="center" valignment="top" leftline="true" width="0">
16371 <column alignment="center" valignment="top" leftline="true" width="0">
16372 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16373 <row topline="true">
16374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16375 \begin_inset Text
16376
16377 \begin_layout Standard
16378 sd
16379 \end_layout
16380
16381 \end_inset
16382 </cell>
16383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16384 \begin_inset Text
16385
16386 \begin_layout Standard
16387
16388 \end_layout
16389
16390 \end_inset
16391 </cell>
16392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16393 \begin_inset Text
16394
16395 \begin_layout Standard
16396
16397 \end_layout
16398
16399 \end_inset
16400 </cell>
16401 </row>
16402 <row topline="true">
16403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16404 \begin_inset Text
16405
16406 \begin_layout Standard
16407
16408 \end_layout
16409
16410 \end_inset
16411 </cell>
16412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16413 \begin_inset Text
16414
16415 \begin_layout Standard
16416 sd
16417 \end_layout
16418
16419 \end_inset
16420 </cell>
16421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16422 \begin_inset Text
16423
16424 \begin_layout Standard
16425
16426 \end_layout
16427
16428 \end_inset
16429 </cell>
16430 </row>
16431 <row topline="true" bottomline="true">
16432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16433 \begin_inset Text
16434
16435 \begin_layout Standard
16436
16437 \end_layout
16438
16439 \end_inset
16440 </cell>
16441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16442 \begin_inset Text
16443
16444 \begin_layout Standard
16445
16446 \end_layout
16447
16448 \end_inset
16449 </cell>
16450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16451 \begin_inset Text
16452
16453 \begin_layout Standard
16454 sd
16455 \end_layout
16456
16457 \end_inset
16458 </cell>
16459 </row>
16460 </lyxtabular>
16461
16462 \end_inset
16463
16464
16465 \end_layout
16466
16467 \end_inset
16468
16469
16470 \begin_inset ERT
16471 status collapsed
16472
16473 \begin_layout Standard
16474
16475
16476 \backslash
16477 setlength{
16478 \backslash
16479 arrayrulewidth}{0.4pt}
16480 \end_layout
16481
16482 \end_inset
16483
16484
16485 \end_layout
16486
16487 \begin_layout Standard
16488 \begin_inset VSpace bigskip
16489 \end_inset
16490
16491 To set the line thickness to 1.5\InsetSpace \thinspace{}
16492 pt only for horizontal lines, like in Table\InsetSpace ~
16493
16494 \begin_inset LatexCommand ref
16495 reference "tab:Table-with-horizontal"
16496
16497 \end_inset
16498
16499 , insert these commands in ERT before the table or table float:
16500 \end_layout
16501
16502 \begin_layout Standard
16503
16504 \series bold
16505
16506 \backslash
16507 let
16508 \backslash
16509 myHline
16510 \backslash
16511 hline
16512 \newline
16513
16514 \backslash
16515 renewcommand{
16516 \backslash
16517 hline}
16518 \newline
16519  {
16520 \backslash
16521 noalign{
16522 \backslash
16523 global
16524 \backslash
16525 arrayrulewidth 1.5pt}
16526 \newline
16527  
16528 \backslash
16529 myHline
16530 \backslash
16531 noalign{
16532 \backslash
16533 global
16534 \backslash
16535 arrayrulewidth 0.4pt}}
16536 \end_layout
16537
16538 \begin_layout Standard
16539 To return to the default line thickness, insert this command in ERT behind
16540  the table or table float:
16541 \end_layout
16542
16543 \begin_layout Standard
16544
16545 \series bold
16546
16547 \backslash
16548 renewcommand{
16549 \backslash
16550 hline}{
16551 \backslash
16552 myHline}
16553 \end_layout
16554
16555 \begin_layout Standard
16556 \begin_inset ERT
16557 status collapsed
16558
16559 \begin_layout Standard
16560
16561
16562 \backslash
16563 let
16564 \backslash
16565 myHline
16566 \backslash
16567 hline
16568 \end_layout
16569
16570 \begin_layout Standard
16571
16572
16573 \backslash
16574 renewcommand{
16575 \backslash
16576 hline}
16577 \end_layout
16578
16579 \begin_layout Standard
16580
16581  {
16582 \backslash
16583 noalign{
16584 \backslash
16585 global
16586 \backslash
16587 arrayrulewidth 1.5pt}
16588 \end_layout
16589
16590 \begin_layout Standard
16591
16592   
16593 \backslash
16594 myHline
16595 \backslash
16596 noalign{
16597 \backslash
16598 global
16599 \backslash
16600 arrayrulewidth 0.4pt}}
16601 \end_layout
16602
16603 \end_inset
16604
16605
16606 \begin_inset Float table
16607 wide false
16608 sideways false
16609 status open
16610
16611 \begin_layout Standard
16612 \begin_inset Caption
16613
16614 \begin_layout Standard
16615 \begin_inset LatexCommand label
16616 name "tab:Table-with-horizontal"
16617
16618 \end_inset
16619
16620 Table with 1.5\InsetSpace \thinspace{}
16621 pt thick horizontal lines
16622 \end_layout
16623
16624 \end_inset
16625
16626
16627 \end_layout
16628
16629 \begin_layout Standard
16630 \align center
16631 \begin_inset Tabular
16632 <lyxtabular version="3" rows="3" columns="3">
16633 <features>
16634 <column alignment="center" valignment="top" leftline="true" width="0">
16635 <column alignment="center" valignment="top" leftline="true" width="0">
16636 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16637 <row topline="true">
16638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16639 \begin_inset Text
16640
16641 \begin_layout Standard
16642 sd
16643 \end_layout
16644
16645 \end_inset
16646 </cell>
16647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16648 \begin_inset Text
16649
16650 \begin_layout Standard
16651
16652 \end_layout
16653
16654 \end_inset
16655 </cell>
16656 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16657 \begin_inset Text
16658
16659 \begin_layout Standard
16660
16661 \end_layout
16662
16663 \end_inset
16664 </cell>
16665 </row>
16666 <row topline="true">
16667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16668 \begin_inset Text
16669
16670 \begin_layout Standard
16671
16672 \end_layout
16673
16674 \end_inset
16675 </cell>
16676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16677 \begin_inset Text
16678
16679 \begin_layout Standard
16680 sd
16681 \end_layout
16682
16683 \end_inset
16684 </cell>
16685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16686 \begin_inset Text
16687
16688 \begin_layout Standard
16689
16690 \end_layout
16691
16692 \end_inset
16693 </cell>
16694 </row>
16695 <row topline="true" bottomline="true">
16696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16697 \begin_inset Text
16698
16699 \begin_layout Standard
16700
16701 \end_layout
16702
16703 \end_inset
16704 </cell>
16705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16706 \begin_inset Text
16707
16708 \begin_layout Standard
16709
16710 \end_layout
16711
16712 \end_inset
16713 </cell>
16714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16715 \begin_inset Text
16716
16717 \begin_layout Standard
16718 sd
16719 \end_layout
16720
16721 \end_inset
16722 </cell>
16723 </row>
16724 </lyxtabular>
16725
16726 \end_inset
16727
16728
16729 \end_layout
16730
16731 \end_inset
16732
16733
16734 \begin_inset ERT
16735 status collapsed
16736
16737 \begin_layout Standard
16738
16739
16740 \backslash
16741 renewcommand{
16742 \backslash
16743 hline}{
16744 \backslash
16745 myHline}
16746 \end_layout
16747
16748 \end_inset
16749
16750
16751 \end_layout
16752
16753 \begin_layout Standard
16754 \begin_inset VSpace bigskip
16755 \end_inset
16756
16757 To set the line thickness to 1.5\InsetSpace \thinspace{}
16758 pt only for vertical lines, create the following
16759  column format in the document preamble, according to the description in
16760  section\InsetSpace ~
16761
16762 \begin_inset LatexCommand ref
16763 reference "sub:Customized-Format"
16764
16765 \end_inset
16766
16767 :
16768 \end_layout
16769
16770 \begin_layout Standard
16771
16772 \series bold
16773
16774 \backslash
16775 newcolumntype{V}{!{
16776 \backslash
16777 vrule width 1.5pt}}
16778 \end_layout
16779
16780 \begin_layout Standard
16781 For Table\InsetSpace ~
16782
16783 \begin_inset LatexCommand ref
16784 reference "tab:Table-with-vertical"
16785
16786 \end_inset
16787
16788  the LaTeX-argument
16789 \end_layout
16790
16791 \begin_layout Standard
16792
16793 \series bold
16794 VcV
16795 \end_layout
16796
16797 \begin_layout Standard
16798 was used for the last column and
16799 \end_layout
16800
16801 \begin_layout Standard
16802
16803 \series bold
16804 Vc
16805 \end_layout
16806
16807 \begin_layout Standard
16808 for the other columns.
16809 \end_layout
16810
16811 \begin_layout Standard
16812 \begin_inset Float table
16813 wide false
16814 sideways false
16815 status open
16816
16817 \begin_layout Standard
16818 \begin_inset Caption
16819
16820 \begin_layout Standard
16821 \begin_inset LatexCommand label
16822 name "tab:Table-with-vertical"
16823
16824 \end_inset
16825
16826 Table with 1.5\InsetSpace \thinspace{}
16827 pt thick vertical lines
16828 \end_layout
16829
16830 \end_inset
16831
16832
16833 \end_layout
16834
16835 \begin_layout Standard
16836 \align center
16837 \begin_inset Tabular
16838 <lyxtabular version="3" rows="3" columns="3">
16839 <features>
16840 <column alignment="center" valignment="top" width="0" special="Vc">
16841 <column alignment="center" valignment="top" width="0" special="Vc">
16842 <column alignment="center" valignment="top" width="0" special="VcV">
16843 <row topline="true">
16844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16845 \begin_inset Text
16846
16847 \begin_layout Standard
16848 sd
16849 \end_layout
16850
16851 \end_inset
16852 </cell>
16853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16854 \begin_inset Text
16855
16856 \begin_layout Standard
16857
16858 \end_layout
16859
16860 \end_inset
16861 </cell>
16862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16863 \begin_inset Text
16864
16865 \begin_layout Standard
16866
16867 \end_layout
16868
16869 \end_inset
16870 </cell>
16871 </row>
16872 <row topline="true">
16873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16874 \begin_inset Text
16875
16876 \begin_layout Standard
16877
16878 \end_layout
16879
16880 \end_inset
16881 </cell>
16882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16883 \begin_inset Text
16884
16885 \begin_layout Standard
16886 sd
16887 \end_layout
16888
16889 \end_inset
16890 </cell>
16891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16892 \begin_inset Text
16893
16894 \begin_layout Standard
16895
16896 \end_layout
16897
16898 \end_inset
16899 </cell>
16900 </row>
16901 <row topline="true" bottomline="true">
16902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16903 \begin_inset Text
16904
16905 \begin_layout Standard
16906
16907 \end_layout
16908
16909 \end_inset
16910 </cell>
16911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16912 \begin_inset Text
16913
16914 \begin_layout Standard
16915
16916 \end_layout
16917
16918 \end_inset
16919 </cell>
16920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16921 \begin_inset Text
16922
16923 \begin_layout Standard
16924 sd
16925 \end_layout
16926
16927 \end_inset
16928 </cell>
16929 </row>
16930 </lyxtabular>
16931
16932 \end_inset
16933
16934
16935 \end_layout
16936
16937 \end_inset
16938
16939
16940 \end_layout
16941
16942 \begin_layout Subsection
16943 Dashed Lines
16944 \begin_inset LatexCommand index
16945 name "Table Customization ! Dashed Lines"
16946
16947 \end_inset
16948
16949
16950 \end_layout
16951
16952 \begin_layout Standard
16953 \begin_inset ERT
16954 status collapsed
16955
16956 \begin_layout Standard
16957
16958
16959 \backslash
16960 ifarydshln
16961 \end_layout
16962
16963 \end_inset
16964
16965
16966 \begin_inset Note Note
16967 status open
16968
16969 \begin_layout Standard
16970 The following section will only be displayed when you have the LaTeX-package
16971  
16972 \series bold
16973 arydshln
16974 \series default
16975  is installed.
16976 \end_layout
16977
16978 \end_inset
16979
16980
16981 \end_layout
16982
16983 \begin_layout Standard
16984 \begin_inset Float table
16985 placement H
16986 wide false
16987 sideways false
16988 status open
16989
16990 \begin_layout Standard
16991 \begin_inset Caption
16992
16993 \begin_layout Standard
16994 \begin_inset LatexCommand label
16995 name "tab:Table-with-dashed"
16996
16997 \end_inset
16998
16999 Table with dashed lines
17000 \end_layout
17001
17002 \end_inset
17003
17004
17005 \end_layout
17006
17007 \begin_layout Standard
17008 \align center
17009 \begin_inset Tabular
17010 <lyxtabular version="3" rows="5" columns="5">
17011 <features>
17012 <column alignment="center" valignment="top" leftline="true" width="0">
17013 <column alignment="center" valignment="top" leftline="true" width="0">
17014 <column alignment="center" valignment="top" width="0" special=":c">
17015 <column alignment="center" valignment="top" leftline="true" width="0">
17016 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17017 <row topline="true" bottomline="true">
17018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17019 \begin_inset Text
17020
17021 \begin_layout Standard
17022 a
17023 \end_layout
17024
17025 \end_inset
17026 </cell>
17027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17028 \begin_inset Text
17029
17030 \begin_layout Standard
17031 b
17032 \end_layout
17033
17034 \end_inset
17035 </cell>
17036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17037 \begin_inset Text
17038
17039 \begin_layout Standard
17040 c
17041 \end_layout
17042
17043 \end_inset
17044 </cell>
17045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17046 \begin_inset Text
17047
17048 \begin_layout Standard
17049 d
17050 \end_layout
17051
17052 \end_inset
17053 </cell>
17054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17055 \begin_inset Text
17056
17057 \begin_layout Standard
17058 e
17059 \end_layout
17060
17061 \end_inset
17062 </cell>
17063 </row>
17064 <row topline="true">
17065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17066 \begin_inset Text
17067
17068 \begin_layout Standard
17069 f
17070 \end_layout
17071
17072 \end_inset
17073 </cell>
17074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17075 \begin_inset Text
17076
17077 \begin_layout Standard
17078 g
17079 \end_layout
17080
17081 \end_inset
17082 </cell>
17083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17084 \begin_inset Text
17085
17086 \begin_layout Standard
17087 h
17088 \end_layout
17089
17090 \end_inset
17091 </cell>
17092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17093 \begin_inset Text
17094
17095 \begin_layout Standard
17096 i
17097 \end_layout
17098
17099 \end_inset
17100 </cell>
17101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17102 \begin_inset Text
17103
17104 \begin_layout Standard
17105 j
17106 \end_layout
17107
17108 \end_inset
17109 </cell>
17110 </row>
17111 <row>
17112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17113 \begin_inset Text
17114
17115 \begin_layout Standard
17116 \begin_inset ERT
17117 status collapsed
17118
17119 \begin_layout Standard
17120
17121
17122 \backslash
17123 hdashline 
17124 \end_layout
17125
17126 \end_inset
17127
17128 k
17129 \end_layout
17130
17131 \end_inset
17132 </cell>
17133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17134 \begin_inset Text
17135
17136 \begin_layout Standard
17137 l
17138 \end_layout
17139
17140 \end_inset
17141 </cell>
17142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17143 \begin_inset Text
17144
17145 \begin_layout Standard
17146 m
17147 \end_layout
17148
17149 \end_inset
17150 </cell>
17151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17152 \begin_inset Text
17153
17154 \begin_layout Standard
17155 n
17156 \end_layout
17157
17158 \end_inset
17159 </cell>
17160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17161 \begin_inset Text
17162
17163 \begin_layout Standard
17164 o
17165 \end_layout
17166
17167 \end_inset
17168 </cell>
17169 </row>
17170 <row topline="true">
17171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17172 \begin_inset Text
17173
17174 \begin_layout Standard
17175 \begin_inset ERT
17176 status collapsed
17177
17178 \begin_layout Standard
17179
17180
17181 \backslash
17182 cdashline{4-5}
17183 \end_layout
17184
17185 \end_inset
17186
17187 p
17188 \end_layout
17189
17190 \end_inset
17191 </cell>
17192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17193 \begin_inset Text
17194
17195 \begin_layout Standard
17196 q
17197 \end_layout
17198
17199 \end_inset
17200 </cell>
17201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17202 \begin_inset Text
17203
17204 \begin_layout Standard
17205 r
17206 \end_layout
17207
17208 \end_inset
17209 </cell>
17210 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17211 \begin_inset Text
17212
17213 \begin_layout Standard
17214 s
17215 \end_layout
17216
17217 \end_inset
17218 </cell>
17219 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17220 \begin_inset Text
17221
17222 \begin_layout Standard
17223
17224 \end_layout
17225
17226 \end_inset
17227 </cell>
17228 </row>
17229 <row topline="true" bottomline="true">
17230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17231 \begin_inset Text
17232
17233 \begin_layout Standard
17234 t
17235 \end_layout
17236
17237 \end_inset
17238 </cell>
17239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17240 \begin_inset Text
17241
17242 \begin_layout Standard
17243 u
17244 \end_layout
17245
17246 \end_inset
17247 </cell>
17248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17249 \begin_inset Text
17250
17251 \begin_layout Standard
17252 v
17253 \end_layout
17254
17255 \end_inset
17256 </cell>
17257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17258 \begin_inset Text
17259
17260 \begin_layout Standard
17261 w
17262 \end_layout
17263
17264 \end_inset
17265 </cell>
17266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17267 \begin_inset Text
17268
17269 \begin_layout Standard
17270 x
17271 \end_layout
17272
17273 \end_inset
17274 </cell>
17275 </row>
17276 </lyxtabular>
17277
17278 \end_inset
17279
17280
17281 \end_layout
17282
17283 \end_inset
17284
17285
17286 \end_layout
17287
17288 \begin_layout Standard
17289 LyX doesn't natively support dashed lines, so you have to use ERT.
17290  As prerequisite the LaTeX-package 
17291 \series bold
17292 arydshln
17293 \series default
17294
17295 \begin_inset LatexCommand index
17296 name "LaTeX-packages ! arydshln"
17297
17298 \end_inset
17299
17300  must be loaded in the document preamble with the command
17301 \end_layout
17302
17303 \begin_layout Standard
17304
17305 \series bold
17306
17307 \backslash
17308 usepackage{arydshln}
17309 \end_layout
17310
17311 \begin_layout Standard
17312 To make a vertical line dashed, enter the colon 
17313 \begin_inset Quotes eld
17314 \end_inset
17315
17316 :
17317 \begin_inset Quotes erd
17318 \end_inset
17319
17320  together with the character for the horizontal alignment as LaTeX-argument
17321  in the table cell dialog.
17322 \end_layout
17323
17324 \begin_layout Standard
17325 For a horizontal dashed line add the command
17326 \end_layout
17327
17328 \begin_layout Standard
17329
17330 \series bold
17331
17332 \backslash
17333 hdashline
17334 \end_layout
17335
17336 \begin_layout Standard
17337 in ERT as first element of the first cell in the table row.
17338 \end_layout
17339
17340 \begin_layout Standard
17341 For dashed multicolumn lines use the command
17342 \end_layout
17343
17344 \begin_layout Standard
17345
17346 \series bold
17347
17348 \backslash
17349 cdashline{line number
17350 \series default
17351 }
17352 \end_layout
17353
17354 \begin_layout Standard
17355 in ERT as first element of the first cell in the table row.
17356  If you have for example a multicolumn spanning over columns 2 to 4 and
17357  you want to have a dashed line above, add the command
17358 \end_layout
17359
17360 \begin_layout Standard
17361
17362 \series bold
17363
17364 \backslash
17365 cdashline{2-4}
17366 \end_layout
17367
17368 \begin_layout Standard
17369 as first element of the first cell in the row of the multicolumn.
17370 \end_layout
17371
17372 \begin_layout Standard
17373 \begin_inset VSpace bigskip
17374 \end_inset
17375
17376
17377 \end_layout
17378
17379 \begin_layout Standard
17380 Table\InsetSpace ~
17381
17382 \begin_inset LatexCommand ref
17383 reference "tab:Table-with-dashed"
17384
17385 \end_inset
17386
17387  was created using 
17388 \begin_inset Quotes eld
17389 \end_inset
17390
17391
17392 \series bold
17393 :c
17394 \series default
17395
17396 \begin_inset Quotes erd
17397 \end_inset
17398
17399  as LaTeX-argument of the third column.
17400  The ERT command 
17401 \series bold
17402
17403 \backslash
17404 hdashline
17405 \series default
17406  was inserted to the first cell of the third row and the the ERT command
17407 \newline
17408
17409  
17410 \series bold
17411
17412 \backslash
17413 cdashline{4-5}
17414 \series default
17415  was inserted to the first cell of the fourth row.
17416 \end_layout
17417
17418 \begin_layout Standard
17419 \begin_inset Note Greyedout
17420 status open
17421
17422 \begin_layout Standard
17423
17424 \series bold
17425 Note:
17426 \series default
17427  The used LaTeX-package 
17428 \series bold
17429 arydshln
17430 \series default
17431  is apparently not compatible with the LaTeX-package 
17432 \series bold
17433 colortbl
17434 \series default
17435
17436 \begin_inset LatexCommand index
17437 name "LaTeX-packages ! colortbl"
17438
17439 \end_inset
17440
17441  that is used for colored tables in section\InsetSpace ~
17442
17443 \begin_inset LatexCommand ref
17444 reference "sec:Colored-Tables"
17445
17446 \end_inset
17447
17448 .
17449  That means colored tables cannot have dashed lines.
17450 \end_layout
17451
17452 \end_inset
17453
17454
17455 \end_layout
17456
17457 \begin_layout Standard
17458 \begin_inset ERT
17459 status collapsed
17460
17461 \begin_layout Standard
17462
17463
17464 \backslash
17465 else
17466 \end_layout
17467
17468 \end_inset
17469
17470
17471 \begin_inset Note Note
17472 status open
17473
17474 \begin_layout Standard
17475 The following will be displayed when the LaTeX-package 
17476 \series bold
17477 arydshln
17478 \series default
17479  is not installed:
17480 \end_layout
17481
17482 \end_inset
17483
17484
17485 \end_layout
17486
17487 \begin_layout Standard
17488 You need to install the package 
17489 \series bold
17490 arydshln
17491 \series default
17492  to see the contents of this section in the output.
17493 \end_layout
17494
17495 \begin_layout Standard
17496 \begin_inset ERT
17497 status collapsed
17498
17499 \begin_layout Standard
17500
17501
17502 \backslash
17503 fi
17504 \end_layout
17505
17506 \end_inset
17507
17508
17509 \end_layout
17510
17511 \begin_layout Chapter
17512 Floats
17513 \begin_inset LatexCommand index
17514 name "Floats"
17515
17516 \end_inset
17517
17518
17519 \begin_inset LatexCommand label
17520 name "cha:Floats"
17521
17522 \end_inset
17523
17524
17525 \end_layout
17526
17527 \begin_layout Section
17528 Introduction
17529 \begin_inset LatexCommand label
17530 name "sec:FloatIntroduction"
17531
17532 \end_inset
17533
17534
17535 \begin_inset LatexCommand index
17536 name "Floats ! Introduction"
17537
17538 \end_inset
17539
17540
17541 \end_layout
17542
17543 \begin_layout Standard
17544 A float is a block of text associated with some sort of label, which doesn't
17545  have a fixed location.
17546  It can 
17547 \begin_inset Quotes eld
17548 \end_inset
17549
17550 float
17551 \begin_inset Quotes erd
17552 \end_inset
17553
17554  forward or backward a page or two, to wherever it fits best.
17555  
17556 \family sans
17557 Footnotes
17558 \family default
17559  and 
17560 \family sans
17561 Margin\InsetSpace ~
17562 Notes
17563 \family default
17564  are also floats, because they can float to the next page when there are
17565  too many notes at the page.
17566 \end_layout
17567
17568 \begin_layout Standard
17569 Floats allow a high quality layout.
17570  Images and tables can evenly be spread to the pages to avoid white space
17571  and pages without text.
17572  As the floating often destroys the context between the text and the image/table
17573 , every float can be referenced in the text.
17574  Floats are therefore numbered.
17575  Referencing is described in section\InsetSpace ~
17576
17577 \begin_inset LatexCommand ref
17578 reference "sec:Referencing-Floats"
17579
17580 \end_inset
17581
17582 .
17583 \end_layout
17584
17585 \begin_layout Standard
17586 To insert a float, use the menu 
17587 \family sans
17588 Insert\SpecialChar \menuseparator
17589 Float
17590 \family default
17591 .
17592  This inserts the 
17593 \family sans
17594 Caption
17595 \family default
17596  inset, a box with a label.
17597  The label will automatically be translated to the document language in
17598  the output.
17599  Behind the label you can insert the caption text.
17600  The image or table is inserted above or below the caption in a separate
17601  paragraph within the float.
17602  More about the caption placement is described in section\InsetSpace ~
17603
17604 \begin_inset LatexCommand ref
17605 reference "sec:Caption-Placement"
17606
17607 \end_inset
17608
17609 .
17610  To keep your LyX-document readable, you can open and close the float box
17611  by left-clicking on the box label.
17612  A closed float box looks like this: 
17613 \begin_inset Graphics
17614         filename clipart/floatQt4.png
17615         scale 70
17616         scaleBeforeRotation
17617
17618 \end_inset
17619
17620  -- a gray button with a red label.
17621 \end_layout
17622
17623 \begin_layout Standard
17624 It is recommended to insert floats as a separate paragraph to avoid possible
17625  LaTeX-errors that can occur when the surrounding text is specially formatted.
17626 \end_layout
17627
17628 \begin_layout Standard
17629 Existing figures or tables can be put into a float by marking them and then
17630  pressing the corresponding toolbar button for a new float.
17631 \end_layout
17632
17633 \begin_layout Section
17634 Float Types
17635 \end_layout
17636
17637 \begin_layout Standard
17638 Besides figure and table floats that are described in section\InsetSpace ~
17639
17640 \begin_inset LatexCommand ref
17641 reference "sec:Figure-Floats"
17642
17643 \end_inset
17644
17645  and 
17646 \begin_inset LatexCommand ref
17647 reference "sec:Table-Floats"
17648
17649 \end_inset
17650
17651 , respectively, LyX offers the float types 
17652 \series bold
17653 Algorithm
17654 \series default
17655  and 
17656 \series bold
17657 Text\InsetSpace ~
17658 Wrap\InsetSpace ~
17659 Float
17660 \series default
17661 .
17662 \end_layout
17663
17664 \begin_layout Subsection
17665 Algorithm Floats
17666 \begin_inset LatexCommand index
17667 name "Floats ! Algorithms"
17668
17669 \end_inset
17670
17671
17672 \end_layout
17673
17674 \begin_layout Standard
17675 \begin_inset Float algorithm
17676 placement h
17677 wide false
17678 sideways false
17679 status open
17680
17681 \begin_layout Standard
17682 \begin_inset Caption
17683
17684 \begin_layout Standard
17685 \begin_inset LatexCommand label
17686 name "alg:Example-Algorithm-float"
17687
17688 \end_inset
17689
17690 Example Algorithm float
17691 \end_layout
17692
17693 \end_inset
17694
17695
17696 \end_layout
17697
17698 \begin_layout LyX-Code
17699 for I in 1..N loop
17700 \newline
17701  Sum:= Sum + A(I); /*comment*/
17702 \newline
17703 end loop
17704 \begin_inset VSpace -4mm
17705 \end_inset
17706
17707
17708 \end_layout
17709
17710 \end_inset
17711
17712
17713 \end_layout
17714
17715 \begin_layout Standard
17716 This float type is inserted with the menu 
17717 \family sans
17718 Insert\SpecialChar \menuseparator
17719 Floats\SpecialChar \menuseparator
17720 Algorithm
17721 \family default
17722 .
17723  It is used for program codes and descriptions of algorithms.
17724  A possible environment for algorithms is the 
17725 \family sans
17726 LyX-Code
17727 \family default
17728 , described in LyX's 
17729 \emph on
17730 Userguide
17731 \emph default
17732 .
17733  Algorithm\InsetSpace ~
17734
17735 \begin_inset LatexCommand ref
17736 reference "alg:Example-Algorithm-float"
17737
17738 \end_inset
17739
17740  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17741 mm vertical space was added
17742  at the end of the float to have the bottom rule exactly below the last
17743  text line.
17744 \end_layout
17745
17746 \begin_layout Standard
17747 The float label is not automatically translated into the document language.
17748  If your document is not in English, you have to do this manually by adding
17749  the following line to the document preamble
17750 \series bold
17751 :
17752 \end_layout
17753
17754 \begin_layout Standard
17755
17756 \series bold
17757
17758 \backslash
17759 floatname{algorithm}{your\InsetSpace ~
17760 name}
17761 \end_layout
17762
17763 \begin_layout Standard
17764
17765 \family sans
17766 your\InsetSpace ~
17767 name
17768 \family default
17769  is the word 
17770 \begin_inset Quotes eld
17771 \end_inset
17772
17773
17774 \emph on
17775 algorithm
17776 \emph default
17777
17778 \begin_inset Quotes erd
17779 \end_inset
17780
17781  in your language.
17782 \end_layout
17783
17784 \begin_layout Description
17785
17786 \series bold
17787 Note:
17788 \series default
17789  When the LaTeX-package 
17790 \series bold
17791 hyperref
17792 \series default
17793
17794 \begin_inset LatexCommand index
17795 name "LaTeX-packages ! hyperref"
17796
17797 \end_inset
17798
17799  is used to link cross-references to floats in the PDF-output, it must be
17800  loaded in the document preamble before the definition of floats to be able
17801  to reference floats.
17802  As LyX sets the float definition for algorithm floats automatically before
17803  the user editable part of the document preamble, you need to insert the
17804  following preamble lines 
17805 \emph on
17806 after
17807 \emph default
17808  the loading command of 
17809 \series bold
17810 hyperref
17811 \series default
17812 :
17813 \series bold
17814
17815 \begin_inset VSpace defskip
17816 \end_inset
17817
17818
17819 \newline
17820
17821 \backslash
17822 newfloat{Xalgorithm}{tbp}{loa}
17823 \newline
17824
17825 \backslash
17826 floatname{Xalgorithm}{your\InsetSpace ~
17827 name}
17828 \newline
17829
17830 \backslash
17831 newcommand{
17832 \backslash
17833 theHalgorithm}{
17834 \backslash
17835 theHXalgorithm}
17836 \newline
17837
17838 \backslash
17839 renewenvironment{algorithm}[1][tbp]
17840 \newline
17841
17842 \begin_inset ERT
17843 status collapsed
17844
17845 \begin_layout Standard
17846
17847
17848 \backslash
17849 hphantom{ }
17850 \end_layout
17851
17852 \end_inset
17853
17854 {
17855 \backslash
17856 begin{Xalgorithm}[#1]}{
17857 \backslash
17858 end{Xalgorithm}}
17859 \begin_inset VSpace defskip
17860 \end_inset
17861
17862
17863 \end_layout
17864
17865 \begin_layout Standard
17866 Algorithm floats are not by default numbered in the scheme 
17867 \begin_inset Quotes eld
17868 \end_inset
17869
17870 chapter.algorithm
17871 \begin_inset Quotes erd
17872 \end_inset
17873
17874  like it is the case for table and figure floats in many document-classes.
17875  To number algorithm floats in the same scheme, add this command to your
17876  document preamble:
17877 \end_layout
17878
17879 \begin_layout Standard
17880
17881 \series bold
17882
17883 \backslash
17884 numberwithin{algorithm}{chapter}
17885 \end_layout
17886
17887 \begin_layout Standard
17888 If you use the LaTeX-package 
17889 \series bold
17890 hyperref
17891 \series default
17892 , add this line instead 
17893 \emph on
17894 after
17895 \emph default
17896  the definition of 
17897 \family sans
17898 Xalgorithm
17899 \family default
17900  (the commands from above) to the preamble:
17901 \end_layout
17902
17903 \begin_layout Standard
17904
17905 \series bold
17906
17907 \backslash
17908 numberwithin{Xalgorithm}{chapter}
17909 \end_layout
17910
17911 \begin_layout Standard
17912 To be able to use the command 
17913 \series bold
17914
17915 \backslash
17916 numberwithin
17917 \series default
17918 , set in the tab 
17919 \family sans
17920 Math\InsetSpace ~
17921 Options
17922 \family default
17923  in the document settings the option 
17924 \family sans
17925 Use\InsetSpace ~
17926 AMS\InsetSpace ~
17927 math\InsetSpace ~
17928 package
17929 \family default
17930 .
17931 \end_layout
17932
17933 \begin_layout Subsection
17934 Text Wrap Floats
17935 \begin_inset LatexCommand index
17936 name "Floats ! Text Wrap Floats"
17937
17938 \end_inset
17939
17940
17941 \begin_inset LatexCommand label
17942 name "sub:floatflt-wrap-float"
17943
17944 \end_inset
17945
17946
17947 \end_layout
17948
17949 \begin_layout Standard
17950 This float type is used if you want to 
17951 \begin_inset Quotes eld
17952 \end_inset
17953
17954 wrap
17955 \begin_inset Quotes erd
17956 \end_inset
17957
17958  text around a figure so that it only occupies some fraction of the column
17959  width.
17960  It can be inserted using the menu 
17961 \begin_inset Wrap figure
17962 placement l
17963 width "40col%"
17964 status open
17965
17966 \begin_layout Standard
17967 \begin_inset Graphics
17968         filename clipart/mobius.eps
17969         display color
17970         width 40col%
17971         scaleBeforeRotation
17972         rotateOrigin center
17973
17974 \end_inset
17975
17976
17977 \end_layout
17978
17979 \begin_layout Standard
17980 \begin_inset Caption
17981
17982 \begin_layout Standard
17983 \begin_inset LatexCommand label
17984 name "fig:This-is-a"
17985
17986 \end_inset
17987
17988 This is a wrapped figure, and this is the brilliant caption that describes
17989  it.
17990 \begin_inset VSpace medskip
17991 \end_inset
17992
17993
17994 \end_layout
17995
17996 \end_inset
17997
17998
17999 \end_layout
18000
18001 \end_inset
18002
18003  
18004 \family sans
18005 Insert\SpecialChar \menuseparator
18006 Floats\SpecialChar \menuseparator
18007 Text\InsetSpace ~
18008 Wrap\InsetSpace ~
18009 Float
18010 \family default
18011  if the LaTeX-package 
18012 \series bold
18013 f\SpecialChar \textcompwordmark{}
18014 loatf\SpecialChar \textcompwordmark{}
18015 lt
18016 \series default
18017
18018 \begin_inset LatexCommand index
18019 name "LaTeX-packages ! floatflt"
18020
18021 \end_inset
18022
18023  is installed.
18024 \begin_inset Foot
18025 status collapsed
18026
18027 \begin_layout Standard
18028 Installing a LaTeX-package is explained it in the 
18029 \emph on
18030 LaTeX\InsetSpace ~
18031 Configuration
18032 \emph default
18033  manual.
18034 \end_layout
18035
18036 \end_inset
18037
18038  The width and placement of the float is adjusted by right-clicking on the
18039  float box.
18040  Figure\InsetSpace ~
18041
18042 \begin_inset LatexCommand ref
18043 reference "fig:This-is-a"
18044
18045 \end_inset
18046
18047  is an example text wrap float with a width of 40
18048 \begin_inset Formula $\,$
18049 \end_inset
18050
18051 col%.
18052 \begin_inset Foot
18053 status collapsed
18054
18055 \begin_layout Standard
18056 Available units are explained in 
18057 \begin_inset LatexCommand ref
18058 reference "cha:Units-available-in"
18059
18060 \end_inset
18061
18062 .
18063 \end_layout
18064
18065 \end_inset
18066
18067  Some space was added under the caption to separate it better from the surroundi
18068 ng text.
18069 \end_layout
18070
18071 \begin_layout Standard
18072 The LaTeX-package 
18073 \series bold
18074 f\SpecialChar \textcompwordmark{}
18075 loatf\SpecialChar \textcompwordmark{}
18076 lt
18077 \series default
18078  also supports table wrap floats, but they are not yet supported by LyX.
18079  If you need this, read the documentation of 
18080 \series bold
18081 f\SpecialChar \textcompwordmark{}
18082 loatf\SpecialChar \textcompwordmark{}
18083 lt
18084 \series default
18085  
18086 \begin_inset LatexCommand cite
18087 key "floatflt"
18088
18089 \end_inset
18090
18091 .
18092 \end_layout
18093
18094 \begin_layout Standard
18095 \begin_inset Note Greyedout
18096 status open
18097
18098 \begin_layout Standard
18099
18100 \series bold
18101 Note:
18102 \series default
18103  Text\InsetSpace ~
18104 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18105 g.\InsetSpace ~
18106 having a figure too close to the bottom
18107  of the page can mess things up in the way that the float doesn't appear
18108  in the output or that it is placed over some other text.
18109 \begin_inset Foot
18110 status open
18111
18112 \begin_layout Standard
18113 The better solution is to use the LaTeX-package 
18114 \series bold
18115 wrapf\SpecialChar \textcompwordmark{}
18116 ig
18117 \series default
18118
18119 \begin_inset LatexCommand index
18120 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18121
18122 \end_inset
18123
18124  instead of 
18125 \series bold
18126 f\SpecialChar \textcompwordmark{}
18127 loatf\SpecialChar \textcompwordmark{}
18128 lt
18129 \series default
18130 , but it is currently not supported by LyX.
18131 \end_layout
18132
18133 \end_inset
18134
18135
18136 \end_layout
18137
18138 \end_inset
18139
18140
18141 \end_layout
18142
18143 \begin_layout Standard
18144 In general:
18145 \end_layout
18146
18147 \begin_layout Itemize
18148 Wrap floats should not be placed in paragraphs that run over a page break.
18149  That means that wrap floats should better be inserted to the exact place
18150  when the document is nearly finished and you are able to estimate where
18151  page breaks will appear.
18152 \end_layout
18153
18154 \begin_layout Itemize
18155 Wrap floats should either be placed in an own paragraph before the paragraph
18156  where they should wrap into or within a paragraph.
18157 \end_layout
18158
18159 \begin_layout Itemize
18160 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18161  there is a text paragraph between them as separator.
18162 \end_layout
18163
18164 \begin_layout Itemize
18165 Wrap floats are not allowed in section headings or tables.
18166 \end_layout
18167
18168 \begin_layout Section
18169 Float Numbering
18170 \begin_inset LatexCommand label
18171 name "sec:Float-Numbering"
18172
18173 \end_inset
18174
18175
18176 \begin_inset LatexCommand index
18177 name "Floats ! Numbering"
18178
18179 \end_inset
18180
18181
18182 \end_layout
18183
18184 \begin_layout Standard
18185 Floats are usually numbered either independent from the sections the floats
18186  are in, or in the scheme 
18187 \begin_inset Quotes eld
18188 \end_inset
18189
18190 chapter.number
18191 \begin_inset Quotes erd
18192 \end_inset
18193
18194  or 
18195 \begin_inset Quotes eld
18196 \end_inset
18197
18198 section.number
18199 \begin_inset Quotes erd
18200 \end_inset
18201
18202 .
18203  This depends on the used document class.
18204 \end_layout
18205
18206 \begin_layout Standard
18207 To change the section independent numbering, you can use this command in
18208  the document preamble:
18209 \end_layout
18210
18211 \begin_layout Standard
18212
18213 \series bold
18214
18215 \backslash
18216 renewcommand{
18217 \backslash
18218 thetable}{
18219 \backslash
18220 roman{table}}
18221 \end_layout
18222
18223 \begin_layout Standard
18224
18225 \series bold
18226
18227 \backslash
18228 thetable
18229 \series default
18230  is the command that prints the table number, for figure floats, the command
18231  would be 
18232 \series bold
18233
18234 \backslash
18235 thefigure
18236 \series default
18237 .
18238  The command 
18239 \series bold
18240
18241 \backslash
18242 roman
18243 \series default
18244  prints in the command above the table number as small roman number.
18245 \end_layout
18246
18247 \begin_layout Standard
18248 To change the numbering scheme for example to 
18249 \begin_inset Quotes eld
18250 \end_inset
18251
18252 subsection.number
18253 \begin_inset Quotes erd
18254 \end_inset
18255
18256 , use this command in the preamble:
18257 \end_layout
18258
18259 \begin_layout Standard
18260
18261 \series bold
18262
18263 \backslash
18264 numberwithin{table}{subsection}
18265 \end_layout
18266
18267 \begin_layout Standard
18268 To be able to use the command 
18269 \series bold
18270
18271 \backslash
18272 numberwithin
18273 \series default
18274 , set in the tab 
18275 \family sans
18276 Math\InsetSpace ~
18277 Options
18278 \family default
18279  in the document settings the option 
18280 \family sans
18281 Use\InsetSpace ~
18282 AMS\InsetSpace ~
18283 math\InsetSpace ~
18284 package
18285 \family default
18286 .
18287 \end_layout
18288
18289 \begin_layout Standard
18290 Please also have a look at section\InsetSpace ~
18291
18292 \begin_inset LatexCommand ref
18293 reference "sub:Footnote-Numbering"
18294
18295 \end_inset
18296
18297  for the details and important notes about the numbering commands.
18298 \end_layout
18299
18300 \begin_layout Section
18301 Referencing Floats
18302 \begin_inset LatexCommand label
18303 name "sec:Referencing-Floats"
18304
18305 \end_inset
18306
18307
18308 \begin_inset LatexCommand index
18309 name "Floats ! References"
18310
18311 \end_inset
18312
18313
18314 \begin_inset LatexCommand index
18315 name "References"
18316
18317 \end_inset
18318
18319
18320 \end_layout
18321
18322 \begin_layout Standard
18323 To reference a float, insert a label into its caption using the menu 
18324 \family sans
18325 Insert\SpecialChar \menuseparator
18326 Label
18327 \family default
18328  or the toolbar button 
18329 \begin_inset Graphics
18330         filename ../images/label-insert.xpm
18331         scale 85
18332         scaleBeforeRotation
18333
18334 \end_inset
18335
18336 .
18337  A grey label box like this one: 
18338 \begin_inset Graphics
18339         filename clipart/labelQt4.png
18340         scale 85
18341         scaleBeforeRotation
18342
18343 \end_inset
18344
18345  will be inserted and the label window pops up asking for the label text.
18346  LyX offers as text the first words of the caption with a prefix.
18347  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18348 g.\InsetSpace ~
18349 for figure floats the prefix will
18350  be "
18351 \family sans
18352 fig:
18353 \family default
18354 ".
18355 \end_layout
18356
18357 \begin_layout Standard
18358 The label is used as anchor and name for the reference.
18359  You can refer to the label using the menu 
18360 \family sans
18361 Insert\SpecialChar \menuseparator
18362 Cross-reference
18363 \family default
18364  or the toolbar button 
18365 \begin_inset Graphics
18366         filename ../images/dialog-show-new-inset_ref.xpm
18367         scale 85
18368         scaleBeforeRotation
18369
18370 \end_inset
18371
18372 .
18373  A grey cross-reference box like this one: 
18374 \begin_inset Graphics
18375         filename clipart/referenceQt4.png
18376         scale 85
18377         scaleBeforeRotation
18378
18379 \end_inset
18380
18381  will be inserted and the cross-reference window appear showing all labels
18382  of the document.
18383  If you have multiple LyX-documents opened, choose the one you are working
18384  on from the drop-list at the top of the dialog.
18385  You can now sort the labels alphabetically and then choose one.
18386  At the position of the cross-reference box the float number will appear
18387  in the output.
18388 \end_layout
18389
18390 \begin_layout Standard
18391 It is recommended to use a protected space between the cross-reference name
18392  and its number to avoid line breaks between them.
18393  If a cross-reference refers to a non-existing label, you will see two question
18394  marks in the output instead of the reference.
18395 \end_layout
18396
18397 \begin_layout Standard
18398 You can change labels at any time by clicking on the label box.
18399  References to the changed label will automatically change its link to the
18400  new label text, so that you don't need to take care about this.
18401 \end_layout
18402
18403 \begin_layout Standard
18404 The button 
18405 \family sans
18406 Go\InsetSpace ~
18407 to\InsetSpace ~
18408 Label
18409 \family default
18410  in the cross-reference window sets the cursor before the referred label.
18411  The button text changes then to Go\InsetSpace ~
18412 Back and you can use it to set the cursor
18413  back to the cross-reference.
18414  Right-clicking on a cross-reference box also sets the cursor before the
18415  referenced label but without a possibility to go back.
18416 \end_layout
18417
18418 \begin_layout Subsection
18419 Cross-Reference Formats
18420 \begin_inset LatexCommand label
18421 name "sub:Cross-Reference-Formats"
18422
18423 \end_inset
18424
18425
18426 \begin_inset LatexCommand index
18427 name "References ! Formats"
18428
18429 \end_inset
18430
18431
18432 \end_layout
18433
18434 \begin_layout Standard
18435 There are six varieties of cross-references:
18436 \end_layout
18437
18438 \begin_layout Description
18439 <reference>: prints the float number, this is the default: 
18440 \begin_inset LatexCommand ref
18441 reference "fig:Two-distorted-images"
18442
18443 \end_inset
18444
18445
18446 \end_layout
18447
18448 \begin_layout Description
18449 (<reference>): prints the float number within two parentheses, this is the
18450  style normally used to reference formulas, especially when the reference
18451  name 
18452 \begin_inset Quotes eld
18453 \end_inset
18454
18455 Equation
18456 \begin_inset Quotes erd
18457 \end_inset
18458
18459  is omitted: 
18460 \begin_inset LatexCommand eqref
18461 reference "eq:Wgn"
18462
18463 \end_inset
18464
18465
18466 \end_layout
18467
18468 \begin_layout Description
18469 <page>: prints the page number: Page\InsetSpace ~
18470
18471 \begin_inset LatexCommand pageref
18472 reference "fig:Two-distorted-images"
18473
18474 \end_inset
18475
18476
18477 \end_layout
18478
18479 \begin_layout Description
18480 on\InsetSpace ~
18481 page\InsetSpace ~
18482 <page>: prints the text "on page" and the page number: 
18483 \begin_inset LatexCommand vpageref
18484 reference "fig:Two-distorted-images"
18485
18486 \end_inset
18487
18488
18489 \end_layout
18490
18491 \begin_layout Description
18492 <reference>\InsetSpace ~
18493 on\InsetSpace ~
18494 page\InsetSpace ~
18495 <page>: prints the float number, the text "on page", and
18496  the page number: 
18497 \begin_inset LatexCommand vref
18498 reference "fig:Two-distorted-images"
18499
18500 \end_inset
18501
18502
18503 \end_layout
18504
18505 \begin_layout Description
18506 Formatted\InsetSpace ~
18507 reference: prints a self defined cross-reference format.
18508  
18509 \begin_inset Note Greyedout
18510 status open
18511
18512 \begin_layout Standard
18513
18514 \series bold
18515 Note:
18516 \series default
18517  This feature is only available when you have the LaTeX-package 
18518 \series bold
18519 prettyref
18520 \series default
18521  installed.
18522 \end_layout
18523
18524 \end_inset
18525
18526
18527 \end_layout
18528
18529 \begin_layout Standard
18530 Note that the style <page> won't print the page number if the label is on
18531  the previous, the same, or the next page.
18532  You will e.\InsetSpace \thinspace{}
18533 g.\InsetSpace ~
18534 see the text 
18535 \begin_inset Quotes eld
18536 \end_inset
18537
18538
18539 \family sans
18540 on this page
18541 \family default
18542
18543 \begin_inset Quotes erd
18544 \end_inset
18545
18546  instead.
18547 \end_layout
18548
18549 \begin_layout Standard
18550 The number and current page of the referred document part in the output,
18551  is automatically calculated by LaTeX.
18552  The varieties are adjusted in the field 
18553 \family sans
18554 Format
18555 \family default
18556  of the cross-reference window, that appear when you click on the cross-referenc
18557 e box.
18558 \end_layout
18559
18560 \begin_layout Subsection
18561 Referencing Subfigures
18562 \begin_inset LatexCommand label
18563 name "sub:Referencing-Subfigures"
18564
18565 \end_inset
18566
18567
18568 \begin_inset LatexCommand index
18569 name "References ! to Subfigures"
18570
18571 \end_inset
18572
18573
18574 \end_layout
18575
18576 \begin_layout Standard
18577 Currently referencing subfigures is not supported by LyX, so you have to
18578  use LaTeX-commands.
18579  The label is the created with the command
18580 \end_layout
18581
18582 \begin_layout Standard
18583
18584 \series bold
18585
18586 \backslash
18587 label{fig:YourLabelName}
18588 \end_layout
18589
18590 \begin_layout Standard
18591 that is directly inserted into the subfigure caption field.
18592  To reference the label add this command in ERT
18593 \end_layout
18594
18595 \begin_layout Standard
18596
18597 \series bold
18598
18599 \backslash
18600 ref{fig:YourLabelName}
18601 \end_layout
18602
18603 \begin_layout Standard
18604 to the position in your document where the reference should be placed.
18605  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18606
18607 \begin_inset ERT
18608 status collapsed
18609
18610 \begin_layout Standard
18611
18612
18613 \backslash
18614 ref{fig:Platypus}
18615 \end_layout
18616
18617 \end_inset
18618
18619 .
18620 \end_layout
18621
18622 \begin_layout Subsection
18623 Automatic Reference Naming
18624 \begin_inset LatexCommand index
18625 name "References ! Automatic Reference Naming"
18626
18627 \end_inset
18628
18629
18630 \end_layout
18631
18632 \begin_layout Standard
18633 The LaTeX-package 
18634 \series bold
18635 hyperref
18636 \series default
18637  provides a very useful feature that cross-references automatically include
18638  the name of the referenced floats (or text parts like sections).
18639  You save to write e.\InsetSpace \thinspace{}
18640 g.\InsetSpace ~
18641 the name 
18642 \begin_inset Quotes eld
18643 \end_inset
18644
18645 Figure
18646 \begin_inset Quotes erd
18647 \end_inset
18648
18649  before every reference box.
18650  To get this automatic reference naming, you have to load the LaTeX-package
18651  
18652 \series bold
18653 hyperref
18654 \series default
18655
18656 \begin_inset LatexCommand index
18657 name "LaTeX-packages ! hyperref"
18658
18659 \end_inset
18660
18661  in the document preamble with
18662 \end_layout
18663
18664 \begin_layout Standard
18665
18666 \series bold
18667
18668 \backslash
18669 usepackage[pdfborder={0 0 0}]{hyperref}
18670 \newline
18671
18672 \backslash
18673 AtBeginDocument{
18674 \backslash
18675 renewcommand{
18676 \backslash
18677 ref}[1]{
18678 \backslash
18679 mbox{
18680 \backslash
18681 autoref{#1}}}}
18682 \end_layout
18683
18684 \begin_layout Standard
18685
18686 \series bold
18687 hyperref
18688 \series default
18689  is used to link cross-references in the DVI- and PDF-output, this means
18690  that the reader of your document will be able to click on a table of content
18691  (TOC) entry or on a reference and he will be shown the referenced document
18692  part.
18693  
18694 \series bold
18695 hyperref
18696 \series default
18697  also creates PDF-bookmarks for every section of your document to make it
18698  easier for readers to navigate through the document.
18699  This is also used in this document but when you have a look in the document
18700  preamble you will find various options in the load command of 
18701 \series bold
18702 hyperref
18703 \series default
18704 .
18705  To learn more about the 
18706 \series bold
18707 hyperref
18708 \series default
18709  package, we refer to its documentation 
18710 \begin_inset LatexCommand cite
18711 key "hyperref"
18712
18713 \end_inset
18714
18715 .
18716 \end_layout
18717
18718 \begin_layout Standard
18719 \begin_inset Note Greyedout
18720 status open
18721
18722 \begin_layout Standard
18723
18724 \series bold
18725 Note:
18726 \series default
18727  Automatic reference naming cannot be used when you use cross-references
18728  in the 
18729 \family sans
18730 Formatted\InsetSpace ~
18731 reference
18732 \family default
18733  style, described in section\InsetSpace ~
18734
18735 \begin_inset LatexCommand ref
18736 reference "sub:Cross-Reference-Formats"
18737
18738 \end_inset
18739
18740 .
18741 \end_layout
18742
18743 \end_inset
18744
18745
18746 \end_layout
18747
18748 \begin_layout Subsection
18749 Reference Position
18750 \begin_inset LatexCommand label
18751 name "sub:Reference-Position"
18752
18753 \end_inset
18754
18755
18756 \begin_inset LatexCommand index
18757 name "References ! Reference Position"
18758
18759 \end_inset
18760
18761
18762 \end_layout
18763
18764 \begin_layout Standard
18765 If you use 
18766 \series bold
18767 hyperref
18768 \series default
18769
18770 \begin_inset LatexCommand index
18771 name "LaTeX-packages ! hyperref"
18772
18773 \end_inset
18774
18775  to link cross-references in the output, you will see that clicking on an
18776  image float reference jumps to the image label.
18777  The caption will be the first text part on the screen, so that you cannot
18778  see the image without scrolling.
18779  This is because the reference link anchor is placed at the position of
18780  the label.
18781  With the use of the package 
18782 \series bold
18783 hypcap
18784 \series default
18785
18786 \begin_inset LatexCommand index
18787 name "LaTeX-packages ! hypcap"
18788
18789 \end_inset
18790
18791 , which is part of the LaTeX-package 
18792 \series bold
18793 oberdiek
18794 \series default
18795
18796 \begin_inset LatexCommand index
18797 name "LaTeX-packages ! oberdiek"
18798
18799 \end_inset
18800
18801 , the link anchor is placed at the beginning of a float.
18802  To use this feature for figure floats, load 
18803 \series bold
18804 hypcap
18805 \series default
18806  in the document preamble with the line
18807 \end_layout
18808
18809 \begin_layout Standard
18810
18811 \series bold
18812
18813 \backslash
18814 usepackage[f\SpecialChar \textcompwordmark{}
18815 igure]{hypcap}
18816 \end_layout
18817
18818 \begin_layout Standard
18819 You can also use 
18820 \series bold
18821 hypcap
18822 \series default
18823  for all floats but this isn't recommended for stability reasons.
18824  For more informations, have a look at 
18825 \series bold
18826 hypcap
18827 \series default
18828 's manual 
18829 \begin_inset LatexCommand cite
18830 key "hypcap"
18831
18832 \end_inset
18833
18834 .
18835 \end_layout
18836
18837 \begin_layout Standard
18838 \begin_inset Note Greyedout
18839 status open
18840
18841 \begin_layout Standard
18842
18843 \series bold
18844 Note:
18845 \series default
18846  
18847 \series bold
18848 hypcap
18849 \series default
18850  must be loaded after 
18851 \series bold
18852 hyperref
18853 \series default
18854  in the document preamble.
18855 \end_layout
18856
18857 \end_inset
18858
18859
18860 \end_layout
18861
18862 \begin_layout Standard
18863 \begin_inset Note Greyedout
18864 status open
18865
18866 \begin_layout Standard
18867
18868 \series bold
18869 Note:
18870 \series default
18871  
18872 \series bold
18873 hypcap
18874 \series default
18875  has no effect for references to subfigures.
18876 \end_layout
18877
18878 \end_inset
18879
18880
18881 \end_layout
18882
18883 \begin_layout Section
18884 Float Placement
18885 \begin_inset LatexCommand label
18886 name "sec:Float-Placement"
18887
18888 \end_inset
18889
18890
18891 \begin_inset LatexCommand index
18892 name "Floats ! Placement"
18893
18894 \end_inset
18895
18896
18897 \end_layout
18898
18899 \begin_layout Standard
18900 Right-clicking on a float-box opens a dialog where you can alter the placement
18901  options that LaTeX uses for positioning the float.
18902 \newline
18903 The option 
18904 \family sans
18905 Span\InsetSpace ~
18906 columns
18907 \family default
18908  is only useful for two-column documents: If you select it, the float will
18909  span across both columns on the page instead of being confined to just
18910  one.
18911 \newline
18912 The option 
18913 \family sans
18914 Rotate\InsetSpace ~
18915 sideways
18916 \family default
18917  is used to rotate floats, see section 
18918 \begin_inset LatexCommand ref
18919 reference "sec:Rotated-Floats"
18920
18921 \end_inset
18922
18923 .
18924 \end_layout
18925
18926 \begin_layout Standard
18927 You can use one ore more of the following options in the float dialog to
18928  set the placement for a particular float when you uncheck the option 
18929 \family sans
18930 Use\InsetSpace ~
18931 default\InsetSpace ~
18932 placement
18933 \family default
18934 :
18935 \end_layout
18936
18937 \begin_layout Description
18938 Here\InsetSpace ~
18939 if\InsetSpace ~
18940 possible try to place the float on the position where it is inserted
18941 \end_layout
18942
18943 \begin_layout Description
18944 Top\InsetSpace ~
18945 of\InsetSpace ~
18946 page try to place the float on the top of the current page
18947 \end_layout
18948
18949 \begin_layout Description
18950 Bottom\InsetSpace ~
18951 of\InsetSpace ~
18952 page try to place the float on the bottom of the current page
18953 \end_layout
18954
18955 \begin_layout Description
18956 Page\InsetSpace ~
18957 of\InsetSpace ~
18958 floats try to place the float on an own page 
18959 \end_layout
18960
18961 \begin_layout Standard
18962 The order of the above option is 
18963 \emph on
18964 always
18965 \emph default
18966  used by LaTeX.
18967  That means, if you use the default placement, LaTeX will first try out
18968  
18969 \family sans
18970 Here\InsetSpace ~
18971 if\InsetSpace ~
18972 possible
18973 \family default
18974 , then 
18975 \family sans
18976 Top\InsetSpace ~
18977 of\InsetSpace ~
18978 page
18979 \family default
18980 , and then the others.
18981  If you don't use the default, LaTeX will try only the checked options but
18982  in the same order.
18983  If none of the 4 placements are possible the procedure is internally repeated
18984  but it is tried to put the float on the following page.
18985 \end_layout
18986
18987 \begin_layout Standard
18988 By default, each option has its own rules:
18989 \end_layout
18990
18991 \begin_layout Labeling
18992 \labelwidthstring 00.00.0000
18993
18994 \family sans
18995 Top\InsetSpace ~
18996 of\InsetSpace ~
18997 page
18998 \family default
18999  only floats occupying less than 70\InsetSpace \thinspace{}
19000 % of the page can be placed at the top
19001  of a page (
19002 \series bold
19003
19004 \backslash
19005 topfraction
19006 \series default
19007 )
19008 \end_layout
19009
19010 \begin_layout Labeling
19011 \labelwidthstring 00.00.0000
19012
19013 \family sans
19014 Bottom\InsetSpace ~
19015 of\InsetSpace ~
19016 page
19017 \family default
19018 : only floats occupying less than 30\InsetSpace \thinspace{}
19019 % of the page can be placed at the bottom
19020  of a page.
19021  (
19022 \series bold
19023
19024 \backslash
19025 bottomfraction
19026 \series default
19027 )
19028 \end_layout
19029
19030 \begin_layout Labeling
19031 \labelwidthstring 00.00.0000
19032
19033 \family sans
19034 Page\InsetSpace ~
19035 of\InsetSpace ~
19036 floats
19037 \family default
19038 : only if more than 50\InsetSpace \thinspace{}
19039 % of the page are occupied by floats, several floats
19040  can be set together on a page.
19041  (
19042 \series bold
19043
19044 \backslash
19045 f\SpecialChar \textcompwordmark{}
19046 loatpagefraction
19047 \series default
19048 )
19049 \end_layout
19050
19051 \begin_layout Standard
19052 If you don't like these rules, you can ignore them by using the additional
19053  option 
19054 \family sans
19055 Ignore\InsetSpace ~
19056 LaTeX\InsetSpace ~
19057 rules
19058 \family default
19059 .
19060 \newline
19061 You can also redefine the rules with LaTeX-commands that are given in parenthese
19062 s behind the rules description above.
19063  To increase for example the often too small default of the bottom-rule
19064  to 50\InsetSpace \thinspace{}
19065 % of the page, add this line to your document preamble:
19066 \end_layout
19067
19068 \begin_layout Standard
19069
19070 \series bold
19071
19072 \backslash
19073 renewcommand{
19074 \backslash
19075 bottomfraction}{0.5}
19076 \end_layout
19077
19078 \begin_layout Standard
19079 Sometimes you might need, under all circumstances, a float to be placed
19080  exactly at the position where it is inserted.
19081  For this case you can use the option 
19082 \family sans
19083 Here\InsetSpace ~
19084 definitely
19085 \family default
19086 .
19087  Use this option very rarely and only if the document is nearly ready to
19088  be printed.
19089  Because the float is then no longer able to 
19090 \begin_inset Quotes eld
19091 \end_inset
19092
19093 float
19094 \begin_inset Quotes erd
19095 \end_inset
19096
19097  when you change your document and this will often destroy the page layout.
19098 \end_layout
19099
19100 \begin_layout Standard
19101 There are no placement options for text wrap floats, because they are always
19102  surrounded by the text of a certain paragraph.
19103 \begin_inset VSpace bigskip
19104 \end_inset
19105
19106
19107 \end_layout
19108
19109 \begin_layout Standard
19110 Sometimes you have the problem that a float is placed at the top of a page
19111  while its corresponding section starts at the middle of the page, so that
19112  the reader could think the float is part of the previous section.
19113  To avoid this the LaTeX-command 
19114 \series bold
19115
19116 \backslash
19117 suppressf\SpecialChar \textcompwordmark{}
19118 loats
19119 \series default
19120  can be used.
19121  It suppresses a given float placement for the page where it is inserted
19122  and can therefore be used to avoid that floats could be set before a section
19123  starts.
19124  To get this, add these commands to your document preamble:
19125 \end_layout
19126
19127 \begin_layout Standard
19128
19129 \series bold
19130
19131 \backslash
19132 let
19133 \backslash
19134 mySection
19135 \backslash
19136 section
19137 \newline
19138
19139 \backslash
19140 renewcommand{
19141 \backslash
19142 section}{
19143 \backslash
19144 suppressf\SpecialChar \textcompwordmark{}
19145 loats[t]
19146 \backslash
19147 mySection}
19148 \end_layout
19149
19150 \begin_layout Standard
19151 You can define the same for all section headings, like chapters and subsections.
19152  This definition is not recommended to be used for small text parts like
19153  subsubsections because LaTeX may then have problems to find a suitable
19154  placement.
19155 \end_layout
19156
19157 \begin_layout Standard
19158 \begin_inset VSpace bigskip
19159 \end_inset
19160
19161 In some cases it is required to have all figures/tables at the end of the
19162  document.
19163  For this purpose the LaTeX-package 
19164 \series bold
19165 endf\SpecialChar \textcompwordmark{}
19166 loat
19167 \series default
19168
19169 \begin_inset LatexCommand index
19170 name "LaTeX-packages ! endfloat"
19171
19172 \end_inset
19173
19174  was developed.
19175  It puts all figure and table floats at the end of the document into own
19176  sections.
19177  At the original float position a text hint like 
19178 \begin_inset Quotes eld
19179 \end_inset
19180
19181
19182 \family sans
19183 [Figure\InsetSpace ~
19184 3.2 about here.]
19185 \family default
19186
19187 \begin_inset Quotes erd
19188 \end_inset
19189
19190  is inserted.
19191  The endfloat-package is loaded in the preamble with the line
19192 \end_layout
19193
19194 \begin_layout Standard
19195
19196 \series bold
19197
19198 \backslash
19199 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19200 loat}
19201 \end_layout
19202
19203 \begin_layout Standard
19204 There are various package options to format the created figure/table sections.
19205  For more information we refer to the 
19206 \series bold
19207 endf\SpecialChar \textcompwordmark{}
19208 loat
19209 \series default
19210  documentation 
19211 \begin_inset LatexCommand cite
19212 key "endfloat"
19213
19214 \end_inset
19215
19216 .
19217 \newline
19218
19219 \begin_inset Note Greyedout
19220 status open
19221
19222 \begin_layout Standard
19223
19224 \series bold
19225 Note: endf\SpecialChar \textcompwordmark{}
19226 loat
19227 \series default
19228  doesn't provide an automatic translation for the text hint, you have to
19229  do this manually, see section\InsetSpace ~
19230 4 in 
19231 \begin_inset LatexCommand cite
19232 key "endfloat"
19233
19234 \end_inset
19235
19236 .
19237 \end_layout
19238
19239 \end_inset
19240
19241
19242 \newline
19243
19244 \begin_inset Note Greyedout
19245 status open
19246
19247 \begin_layout Standard
19248
19249 \series bold
19250 Note:
19251 \series default
19252  There is currently a bug in 
19253 \series bold
19254 endf\SpecialChar \textcompwordmark{}
19255 loat
19256 \series default
19257  when the caption contains a German 
19258 \begin_inset Quotes eld
19259 \end_inset
19260
19261 ß
19262 \begin_inset Quotes erd
19263 \end_inset
19264
19265 .
19266  Use in this case the command 
19267 \begin_inset Quotes eld
19268 \end_inset
19269
19270
19271 \series bold
19272
19273 \backslash
19274 ss
19275 \series default
19276
19277 \begin_inset Quotes erd
19278 \end_inset
19279
19280  in ERT instead of 
19281 \begin_inset Quotes eld
19282 \end_inset
19283
19284 ß
19285 \begin_inset Quotes erd
19286 \end_inset
19287
19288 .
19289 \end_layout
19290
19291 \end_inset
19292
19293
19294 \end_layout
19295
19296 \begin_layout Standard
19297 \begin_inset VSpace bigskip
19298 \end_inset
19299
19300 For more details about float placements, have a look at LaTeX books, 
19301 \begin_inset LatexCommand cite
19302 key "latexcompanion,latexguide,latexbook"
19303
19304 \end_inset
19305
19306 .
19307 \end_layout
19308
19309 \begin_layout Section
19310 Rotated Floats
19311 \begin_inset LatexCommand label
19312 name "sec:Rotated-Floats"
19313
19314 \end_inset
19315
19316
19317 \begin_inset LatexCommand index
19318 name "Floats ! Rotating"
19319
19320 \end_inset
19321
19322
19323 \end_layout
19324
19325 \begin_layout Standard
19326 Especially for wide tables you might have floats rotated.
19327  To rotate a whole float including the caption, right-click on the float-box
19328  and use the option 
19329 \family sans
19330 Rotate\InsetSpace ~
19331 sideways
19332 \family default
19333 .
19334 \end_layout
19335
19336 \begin_layout Standard
19337 Rotated floats are always placed on its own page (or column, when you have
19338  a two-column document).
19339  They are normally rotated so that you can read them from the outside margin
19340  -- to the left on even pages, to the right on odd pages.
19341  To force a certain rotation direction for all pages, you can add either
19342  the option 
19343 \series bold
19344 f\SpecialChar \textcompwordmark{}
19345 iguresleft
19346 \series default
19347  or 
19348 \series bold
19349 f\SpecialChar \textcompwordmark{}
19350 iguresright
19351 \series default
19352  to the document class options.
19353 \end_layout
19354
19355 \begin_layout Standard
19356 Referencing rotated floats is the same like for normal floats, the caption
19357  format is also the same: Table\InsetSpace ~
19358
19359 \begin_inset LatexCommand ref
19360 reference "tab:Rotated-table"
19361
19362 \end_inset
19363
19364  is an example of a rotated table float.
19365 \end_layout
19366
19367 \begin_layout Standard
19368 \begin_inset Note Greyedout
19369 status open
19370
19371 \begin_layout Standard
19372
19373 \series bold
19374 Note:
19375 \series default
19376  Not all DVI-viewers are able to display rotated floats.
19377 \end_layout
19378
19379 \end_inset
19380
19381
19382 \end_layout
19383
19384 \begin_layout Standard
19385 \begin_inset Float table
19386 wide false
19387 sideways true
19388 status open
19389
19390 \begin_layout Standard
19391 \begin_inset Caption
19392
19393 \begin_layout Standard
19394 \begin_inset LatexCommand label
19395 name "tab:Rotated-table"
19396
19397 \end_inset
19398
19399  Rotated table
19400 \end_layout
19401
19402 \end_inset
19403
19404
19405 \end_layout
19406
19407 \begin_layout Standard
19408 \align center
19409 \begin_inset Tabular
19410 <lyxtabular version="3" rows="1" columns="5">
19411 <features>
19412 <column alignment="center" valignment="top" leftline="true" width="0">
19413 <column alignment="center" valignment="top" leftline="true" width="0">
19414 <column alignment="center" valignment="top" leftline="true" width="0">
19415 <column alignment="center" valignment="top" leftline="true" width="0">
19416 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19417 <row topline="true" bottomline="true">
19418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19419 \begin_inset Text
19420
19421 \begin_layout Standard
19422 test
19423 \end_layout
19424
19425 \end_inset
19426 </cell>
19427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19428 \begin_inset Text
19429
19430 \begin_layout Standard
19431 b
19432 \end_layout
19433
19434 \end_inset
19435 </cell>
19436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19437 \begin_inset Text
19438
19439 \begin_layout Standard
19440 c
19441 \end_layout
19442
19443 \end_inset
19444 </cell>
19445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19446 \begin_inset Text
19447
19448 \begin_layout Standard
19449 d
19450 \end_layout
19451
19452 \end_inset
19453 </cell>
19454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19455 \begin_inset Text
19456
19457 \begin_layout Standard
19458 e
19459 \end_layout
19460
19461 \end_inset
19462 </cell>
19463 </row>
19464 </lyxtabular>
19465
19466 \end_inset
19467
19468
19469 \end_layout
19470
19471 \end_inset
19472
19473
19474 \end_layout
19475
19476 \begin_layout Section
19477 Caption Formatting
19478 \begin_inset LatexCommand index
19479 name "Caption ! Formatting"
19480
19481 \end_inset
19482
19483
19484 \begin_inset LatexCommand index
19485 name "Floats ! Caption Formatting"
19486
19487 \end_inset
19488
19489
19490 \begin_inset LatexCommand index
19491 name "LaTeX-packages ! caption"
19492
19493 \end_inset
19494
19495
19496 \begin_inset LatexCommand label
19497 name "sec:Caption-Formatting"
19498
19499 \end_inset
19500
19501
19502 \end_layout
19503
19504 \begin_layout Standard
19505 The 
19506 \family sans
19507 Caption
19508 \family default
19509  environment is the default paragraph environment for 
19510 \family sans
19511 Floats
19512 \family default
19513 .
19514  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19515 g.\InsetSpace ~
19516
19517 \begin_inset Quotes eld
19518 \end_inset
19519
19520
19521 \family sans
19522 Figure #:
19523 \family default
19524
19525 \begin_inset Quotes erd
19526 \end_inset
19527
19528  followed by the caption text.
19529  
19530 \begin_inset Quotes eld
19531 \end_inset
19532
19533 #
19534 \begin_inset Quotes erd
19535 \end_inset
19536
19537  is the actual reference number.
19538  By default the label and the number are in the same font as the caption
19539  text and a colon follows the number to divide the label from the text.
19540  This caption format is not suitable for all document formats.
19541  
19542 \end_layout
19543
19544 \begin_layout Standard
19545 To change the default caption format, load the LaTeX-package 
19546 \series bold
19547 caption
19548 \series default
19549
19550 \begin_inset LatexCommand index
19551 name "LaTeX-packages ! caption"
19552
19553 \end_inset
19554
19555  in the document preamble with this line:
19556 \end_layout
19557
19558 \begin_layout Standard
19559
19560 \series bold
19561
19562 \backslash
19563 usepackage[format definition]{caption}
19564 \end_layout
19565
19566 \begin_layout Standard
19567 To have for example the label and the number in sans-serif bold font and
19568  the table captions always above the table like in this document, use the
19569  following command:
19570 \end_layout
19571
19572 \begin_layout Standard
19573
19574 \series bold
19575
19576 \backslash
19577 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19578 \end_layout
19579
19580 \begin_layout Standard
19581 You can also define different caption formats for the different float types.
19582  In this case load the 
19583 \series bold
19584 caption
19585 \series default
19586  package without format specific options and define the different formats
19587  with the help of the command
19588 \end_layout
19589
19590 \begin_layout Standard
19591
19592 \series bold
19593
19594 \backslash
19595 captionsetup[float type]{format definition}
19596 \end_layout
19597
19598 \begin_layout Standard
19599 in the document preamble.
19600  For example the caption formats of Figure\InsetSpace ~
19601
19602 \begin_inset LatexCommand ref
19603 reference "fig:This-is-an-fig"
19604
19605 \end_inset
19606
19607  and Table\InsetSpace ~
19608
19609 \begin_inset LatexCommand ref
19610 reference "tab:This-is-an-tab"
19611
19612 \end_inset
19613
19614  can be created using these commands in the document preamble:
19615 \end_layout
19616
19617 \begin_layout Standard
19618
19619 \series bold
19620
19621 \backslash
19622 usepackage[tableposition=top]{caption}
19623 \series default
19624
19625 \newline
19626
19627 \series bold
19628
19629 \backslash
19630 captionsetup[f\SpecialChar \textcompwordmark{}
19631 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19632 \newline
19633
19634 \begin_inset ERT
19635 status collapsed
19636
19637 \begin_layout Standard
19638
19639
19640 \backslash
19641 hphantom{
19642 \backslash
19643
19644 \backslash
19645 captionsetup[figure]
19646 \backslash
19647 {}
19648 \end_layout
19649
19650 \end_inset
19651
19652  labelsep=period}
19653 \newline
19654
19655 \backslash
19656 captionsetup[table]{labelfont={bf,sf}}
19657 \end_layout
19658
19659 \begin_layout Standard
19660 \begin_inset Note Greyedout
19661 status open
19662
19663 \begin_layout Standard
19664
19665 \series bold
19666 Note:
19667 \series default
19668  The option 
19669 \series bold
19670 tableposition=top
19671 \series default
19672  has no effect when a 
19673 \series bold
19674 koma-script
19675 \series default
19676
19677 \begin_inset LatexCommand index
19678 name "LaTeX-packages ! koma-script"
19679
19680 \end_inset
19681
19682  document class is used.
19683  In this case the document class option 
19684 \series bold
19685 tablecaptionabove
19686 \series default
19687  must be used.
19688 \end_layout
19689
19690 \end_inset
19691
19692
19693 \end_layout
19694
19695 \begin_layout Standard
19696 For more information about the package 
19697 \series bold
19698 caption
19699 \series default
19700  we refer to its documentation 
19701 \begin_inset LatexCommand cite
19702 key "caption,caption-de"
19703
19704 \end_inset
19705
19706 .
19707 \end_layout
19708
19709 \begin_layout Standard
19710 To change the label name from e.g.
19711  
19712 \begin_inset Quotes eld
19713 \end_inset
19714
19715 Figure
19716 \begin_inset Quotes erd
19717 \end_inset
19718
19719  to 
19720 \begin_inset Quotes eld
19721 \end_inset
19722
19723 Image
19724 \begin_inset Quotes erd
19725 \end_inset
19726
19727  use this preamble command:
19728 \end_layout
19729
19730 \begin_layout Standard
19731
19732 \series bold
19733
19734 \backslash
19735 renewcommand{
19736 \backslash
19737 fnum@figure}{Image~
19738 \backslash
19739 thefigure}
19740 \end_layout
19741
19742 \begin_layout Standard
19743 where 
19744 \series bold
19745
19746 \backslash
19747 thefigure
19748 \series default
19749  inserts the figure number and
19750 \series bold
19751  
19752 \begin_inset Quotes eld
19753 \end_inset
19754
19755 ~
19756 \series default
19757
19758 \begin_inset Quotes erd
19759 \end_inset
19760
19761  creates a protected space.
19762 \end_layout
19763
19764 \begin_layout Standard
19765 \begin_inset VSpace bigskip
19766 \end_inset
19767
19768 If you are using a 
19769 \series bold
19770 koma-script
19771 \series default
19772
19773 \begin_inset LatexCommand index
19774 name "LaTeX-packages ! koma-script"
19775
19776 \end_inset
19777
19778  document class (
19779 \family sans
19780 article (koma-script)
19781 \family default
19782
19783 \family sans
19784 book (koma-script)
19785 \family default
19786
19787 \family sans
19788 letter (koma-script)
19789 \family default
19790 , or 
19791 \family sans
19792 report (koma-script)
19793 \family default
19794 \InsetSpace \thinspace{}
19795 ), you can alternatively to the 
19796 \series bold
19797 caption
19798 \series default
19799  package use 
19800 \series bold
19801 koma-script
19802 \series default
19803 's built-in command 
19804 \series bold
19805
19806 \backslash
19807 setkomafont
19808 \series default
19809 .
19810  For example, to have the caption label in bold, add this command to your
19811  document preamble:
19812 \end_layout
19813
19814 \begin_layout Standard
19815
19816 \series bold
19817
19818 \backslash
19819 setkomafont{captionlabel}{
19820 \backslash
19821 bfseries}
19822 \end_layout
19823
19824 \begin_layout Standard
19825 For more information about 
19826 \series bold
19827
19828 \backslash
19829 setkomafont
19830 \series default
19831  we refer to the 
19832 \series bold
19833 koma-script
19834 \series default
19835  documentation 
19836 \begin_inset LatexCommand cite
19837 key "koma-script,koma-script-de"
19838
19839 \end_inset
19840
19841 .
19842 \end_layout
19843
19844 \begin_layout Standard
19845 \begin_inset ERT
19846 status collapsed
19847
19848 \begin_layout Standard
19849
19850
19851 \backslash
19852 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19853 }
19854 \end_layout
19855
19856 \end_inset
19857
19858
19859 \begin_inset Note Note
19860 status open
19861
19862 \begin_layout Standard
19863 The caption format is changed only for this example.
19864 \end_layout
19865
19866 \end_inset
19867
19868
19869 \end_layout
19870
19871 \begin_layout Standard
19872 \begin_inset Float figure
19873 placement !p
19874 wide false
19875 sideways false
19876 status open
19877
19878 \begin_layout Standard
19879 \align center
19880 \begin_inset Graphics
19881         filename clipart/mobius.eps
19882         lyxscale 50
19883         scale 50
19884         scaleBeforeRotation
19885
19886 \end_inset
19887
19888
19889 \end_layout
19890
19891 \begin_layout Standard
19892 \begin_inset Caption
19893
19894 \begin_layout Standard
19895 \begin_inset LatexCommand label
19896 name "fig:This-is-an-fig"
19897
19898 \end_inset
19899
19900 This is an example figure caption that is longer than one line to show the
19901  different caption format.
19902  Here a self-defined caption format is used.
19903 \end_layout
19904
19905 \end_inset
19906
19907
19908 \end_layout
19909
19910 \end_inset
19911
19912
19913 \end_layout
19914
19915 \begin_layout Standard
19916 \begin_inset ERT
19917 status collapsed
19918
19919 \begin_layout Standard
19920
19921
19922 \backslash
19923 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19924 on}
19925 \end_layout
19926
19927 \end_inset
19928
19929
19930 \end_layout
19931
19932 \begin_layout Standard
19933 \begin_inset Float table
19934 placement !p
19935 wide false
19936 sideways false
19937 status open
19938
19939 \begin_layout Standard
19940 \begin_inset Caption
19941
19942 \begin_layout Standard
19943 \begin_inset LatexCommand label
19944 name "tab:This-is-an-tab"
19945
19946 \end_inset
19947
19948 This is an example table caption that is longer than one line to show the
19949  different caption format.
19950  Here the standard caption format for tables in this document is used.
19951 \end_layout
19952
19953 \end_inset
19954
19955
19956 \end_layout
19957
19958 \begin_layout Standard
19959 \align center
19960 \begin_inset Tabular
19961 <lyxtabular version="3" rows="1" columns="5">
19962 <features>
19963 <column alignment="center" valignment="top" leftline="true" width="0">
19964 <column alignment="center" valignment="top" leftline="true" width="0">
19965 <column alignment="center" valignment="top" leftline="true" width="0">
19966 <column alignment="center" valignment="top" leftline="true" width="0">
19967 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19968 <row topline="true" bottomline="true">
19969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19970 \begin_inset Text
19971
19972 \begin_layout Standard
19973 a
19974 \end_layout
19975
19976 \end_inset
19977 </cell>
19978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19979 \begin_inset Text
19980
19981 \begin_layout Standard
19982 b
19983 \end_layout
19984
19985 \end_inset
19986 </cell>
19987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19988 \begin_inset Text
19989
19990 \begin_layout Standard
19991 c
19992 \end_layout
19993
19994 \end_inset
19995 </cell>
19996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19997 \begin_inset Text
19998
19999 \begin_layout Standard
20000 d
20001 \end_layout
20002
20003 \end_inset
20004 </cell>
20005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20006 \begin_inset Text
20007
20008 \begin_layout Standard
20009 e
20010 \end_layout
20011
20012 \end_inset
20013 </cell>
20014 </row>
20015 </lyxtabular>
20016
20017 \end_inset
20018
20019
20020 \end_layout
20021
20022 \end_inset
20023
20024
20025 \end_layout
20026
20027 \begin_layout Section
20028 Caption Placement
20029 \begin_inset LatexCommand index
20030 name "Caption ! Placement"
20031
20032 \end_inset
20033
20034
20035 \begin_inset LatexCommand index
20036 name "Floats ! Caption Placement"
20037
20038 \end_inset
20039
20040
20041 \begin_inset LatexCommand label
20042 name "sec:Caption-Placement"
20043
20044 \end_inset
20045
20046
20047 \end_layout
20048
20049 \begin_layout Standard
20050 The common caption placement rule is:
20051 \end_layout
20052
20053 \begin_layout Description
20054 Figure: Caption is set below the figure
20055 \end_layout
20056
20057 \begin_layout Description
20058 Table: Caption is set above the table
20059 \end_layout
20060
20061 \begin_layout Standard
20062 Having the caption above the table is unfortunately not supported in LaTeX's
20063  standard classes.
20064  That means if you are using the document classes 
20065 \family sans
20066 article
20067 \family default
20068
20069 \family sans
20070 book
20071 \family default
20072
20073 \family sans
20074 letter
20075 \family default
20076 , or 
20077 \family sans
20078 report
20079 \family default
20080  there will be no space between the caption and the table.
20081  To insert the needed space, add the following option to the load command
20082  of the LaTeX-package 
20083 \series bold
20084 caption
20085 \series default
20086  in your document preamble
20087 \begin_inset Foot
20088 status collapsed
20089
20090 \begin_layout Standard
20091 See section\InsetSpace ~
20092
20093 \begin_inset LatexCommand ref
20094 reference "sec:Caption-Formatting"
20095
20096 \end_inset
20097
20098  for more information of the package 
20099 \series bold
20100 caption
20101 \series default
20102 .
20103 \end_layout
20104
20105 \end_inset
20106
20107 :
20108 \end_layout
20109
20110 \begin_layout Standard
20111
20112 \series bold
20113 tableposition=top
20114 \end_layout
20115
20116 \begin_layout Standard
20117 If you are using a 
20118 \series bold
20119 koma-script
20120 \series default
20121
20122 \begin_inset LatexCommand index
20123 name "LaTeX-packages ! koma-script"
20124
20125 \end_inset
20126
20127  document class (
20128 \family sans
20129 article (koma-script)
20130 \family default
20131
20132 \family sans
20133 book (koma-script)
20134 \family default
20135
20136 \family sans
20137 letter (koma-script)
20138 \family default
20139 , or 
20140 \family sans
20141 report (koma-script)
20142 \family default
20143 \InsetSpace \thinspace{}
20144 ), you can alternatively to the 
20145 \series bold
20146 caption
20147 \series default
20148  package set the document class option 
20149 \series bold
20150 tablecaptionabove
20151 \series default
20152 .
20153 \end_layout
20154
20155 \begin_layout Standard
20156 \begin_inset VSpace bigskip
20157 \end_inset
20158
20159 It is also possible to set the caption beside a figure or table.
20160  To get this the LaTeX-package 
20161 \series bold
20162 sidecap
20163 \series default
20164
20165 \begin_inset LatexCommand index
20166 name "LaTeX-packages ! sidecap"
20167
20168 \end_inset
20169
20170  has to be loaded in the document preamble with the line
20171 \end_layout
20172
20173 \begin_layout Standard
20174
20175 \series bold
20176
20177 \backslash
20178 usepackage[option]{sidecap}
20179 \end_layout
20180
20181 \begin_layout Standard
20182 If you set no option, the caption is placed on the side of the outer page
20183  margin -- to the right on odd pages, to the left on even pages.
20184  You can change the placement to inner margin with the option 
20185 \series bold
20186 innercaption
20187 \series default
20188 .
20189  To force the placement always to the right or left, use the option 
20190 \series bold
20191 rightcaption
20192 \series default
20193  or 
20194 \series bold
20195 leftcaption
20196 \series default
20197 , respectively.
20198 \end_layout
20199
20200 \begin_layout Standard
20201 To place in LyX the caption of a float on the side, it is necessary to add
20202  these commands to the document preamble:
20203 \end_layout
20204
20205 \begin_layout Standard
20206
20207 \lyxline
20208
20209 \end_layout
20210
20211 \begin_layout Standard
20212
20213 \series bold
20214
20215 \backslash
20216 newcommand{
20217 \backslash
20218 TabBesBeg}{%
20219 \newline
20220
20221 \begin_inset ERT
20222 status collapsed
20223
20224 \begin_layout Standard
20225
20226
20227 \backslash
20228 hphantom{ }
20229 \end_layout
20230
20231 \end_inset
20232
20233
20234 \backslash
20235 let
20236 \backslash
20237 MyTable
20238 \backslash
20239 table
20240 \newline
20241
20242 \begin_inset ERT
20243 status collapsed
20244
20245 \begin_layout Standard
20246
20247
20248 \backslash
20249 hphantom{ }
20250 \end_layout
20251
20252 \end_inset
20253
20254
20255 \backslash
20256 let
20257 \backslash
20258 MyEndtable
20259 \backslash
20260 endtable
20261 \newline
20262
20263 \begin_inset ERT
20264 status collapsed
20265
20266 \begin_layout Standard
20267
20268
20269 \backslash
20270 hphantom{ }
20271 \end_layout
20272
20273 \end_inset
20274
20275
20276 \backslash
20277 renewenvironment{table}{
20278 \backslash
20279 begin{SCtable}}{
20280 \backslash
20281 end{SCtable}}}
20282 \end_layout
20283
20284 \begin_layout Standard
20285
20286 \series bold
20287
20288 \backslash
20289 newcommand{
20290 \backslash
20291 TabBesEnd}{%
20292 \newline
20293
20294 \begin_inset ERT
20295 status collapsed
20296
20297 \begin_layout Standard
20298
20299
20300 \backslash
20301 hphantom{ }
20302 \end_layout
20303
20304 \end_inset
20305
20306
20307 \backslash
20308 let
20309 \backslash
20310 table
20311 \backslash
20312 MyTable
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 endtable
20332 \backslash
20333 MyEndtable
20334 \end_layout
20335
20336 \begin_layout Standard
20337
20338 \series bold
20339
20340 \backslash
20341 newcommand{
20342 \backslash
20343 FigBesBeg}{%
20344 \newline
20345
20346 \begin_inset ERT
20347 status collapsed
20348
20349 \begin_layout Standard
20350
20351
20352 \backslash
20353 hphantom{ }
20354 \end_layout
20355
20356 \end_inset
20357
20358
20359 \backslash
20360 let
20361 \backslash
20362 MyFigure
20363 \backslash
20364 f\SpecialChar \textcompwordmark{}
20365 igure
20366 \newline
20367
20368 \begin_inset ERT
20369 status collapsed
20370
20371 \begin_layout Standard
20372
20373
20374 \backslash
20375 hphantom{ }
20376 \end_layout
20377
20378 \end_inset
20379
20380
20381 \backslash
20382 let
20383 \backslash
20384 MyEndf\SpecialChar \textcompwordmark{}
20385 igure
20386 \backslash
20387 endf\SpecialChar \textcompwordmark{}
20388 igure
20389 \newline
20390
20391 \begin_inset ERT
20392 status collapsed
20393
20394 \begin_layout Standard
20395
20396
20397 \backslash
20398 hphantom{ }
20399 \end_layout
20400
20401 \end_inset
20402
20403
20404 \backslash
20405 renewenvironment{f\SpecialChar \textcompwordmark{}
20406 igure}{
20407 \backslash
20408 begin{SCf\SpecialChar \textcompwordmark{}
20409 igure}}{
20410 \backslash
20411 end{SCf\SpecialChar \textcompwordmark{}
20412 igure}}}
20413 \end_layout
20414
20415 \begin_layout Standard
20416
20417 \series bold
20418
20419 \backslash
20420 newcommand{
20421 \backslash
20422 FigBesEnd}{%
20423 \newline
20424
20425 \begin_inset ERT
20426 status collapsed
20427
20428 \begin_layout Standard
20429
20430
20431 \backslash
20432 hphantom{ }
20433 \end_layout
20434
20435 \end_inset
20436
20437
20438 \backslash
20439 let
20440 \backslash
20441 f\SpecialChar \textcompwordmark{}
20442 igure
20443 \backslash
20444 MyFigure
20445 \newline
20446
20447 \begin_inset ERT
20448 status collapsed
20449
20450 \begin_layout Standard
20451
20452
20453 \backslash
20454 hphantom{ }
20455 \end_layout
20456
20457 \end_inset
20458
20459
20460 \backslash
20461 let
20462 \backslash
20463 endf\SpecialChar \textcompwordmark{}
20464 igure
20465 \backslash
20466 MyEndf\SpecialChar \textcompwordmark{}
20467 igure}
20468 \end_layout
20469
20470 \begin_layout Standard
20471
20472 \lyxline
20473
20474 \end_layout
20475
20476 \begin_layout Standard
20477 The commands allow you to redefine the floats so that the caption is set
20478  on the side.
20479  For figure floats use the command
20480 \end_layout
20481
20482 \begin_layout Standard
20483
20484 \series bold
20485
20486 \backslash
20487 FigBesBeg
20488 \end_layout
20489
20490 \begin_layout Standard
20491 in ERT before the float.
20492  Behind the float insert the command
20493 \end_layout
20494
20495 \begin_layout Standard
20496
20497 \series bold
20498
20499 \backslash
20500 FigBesEnd
20501 \end_layout
20502
20503 \begin_layout Standard
20504 in ERT to get back to the original float definition.
20505 \end_layout
20506
20507 \begin_layout Standard
20508 For table floats use the corresponding commands
20509 \end_layout
20510
20511 \begin_layout Standard
20512
20513 \series bold
20514
20515 \backslash
20516 TabBesBeg
20517 \series default
20518  and 
20519 \series bold
20520
20521 \backslash
20522 TabBesEnd
20523 \end_layout
20524
20525 \begin_layout Standard
20526 Figure\InsetSpace ~
20527
20528 \begin_inset LatexCommand ref
20529 reference "fig:cap-beside-fig"
20530
20531 \end_inset
20532
20533  and Table\InsetSpace ~
20534
20535 \begin_inset LatexCommand ref
20536 reference "tab:cap-beside-tab"
20537
20538 \end_inset
20539
20540  are examples where the caption is set beside.
20541 \end_layout
20542
20543 \begin_layout Standard
20544 You can see in the examples that the caption text appears at the top of
20545  the floats for table floats and at the bottom for figure floats.
20546  To change this, you can use the command
20547 \end_layout
20548
20549 \begin_layout Standard
20550
20551 \series bold
20552
20553 \backslash
20554 sidecaptionvpos{float type}{placement}
20555 \end_layout
20556
20557 \begin_layout Standard
20558 in the document preamble or in ERT before the float.
20559  The float type is either 
20560 \family sans
20561 figure
20562 \family default
20563  or 
20564 \family sans
20565 table
20566 \family default
20567 , the placement can be 
20568 \begin_inset Quotes eld
20569 \end_inset
20570
20571
20572 \family sans
20573 t
20574 \family default
20575
20576 \begin_inset Quotes erd
20577 \end_inset
20578
20579  for top, 
20580 \begin_inset Quotes eld
20581 \end_inset
20582
20583
20584 \family sans
20585 c
20586 \family default
20587
20588 \begin_inset Quotes erd
20589 \end_inset
20590
20591  for center, or 
20592 \begin_inset Quotes eld
20593 \end_inset
20594
20595
20596 \family sans
20597 b
20598 \family default
20599
20600 \begin_inset Quotes erd
20601 \end_inset
20602
20603  for bottom.
20604  To have for example the caption of figure floats vertically centered, use
20605  the command
20606 \end_layout
20607
20608 \begin_layout Standard
20609
20610 \series bold
20611
20612 \backslash
20613 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20614 igure}{c}
20615 \end_layout
20616
20617 \begin_layout Standard
20618 This was used for Figure\InsetSpace ~
20619
20620 \begin_inset LatexCommand ref
20621 reference "fig:cap-beside-fig-2"
20622
20623 \end_inset
20624
20625 .
20626 \end_layout
20627
20628 \begin_layout Standard
20629 \begin_inset VSpace medskip
20630 \end_inset
20631
20632 For more information about the package 
20633 \series bold
20634 sidecap
20635 \series default
20636  we refer to its documentation 
20637 \begin_inset LatexCommand cite
20638 key "sidecap"
20639
20640 \end_inset
20641
20642 .
20643 \end_layout
20644
20645 \begin_layout Standard
20646 \begin_inset Note Greyedout
20647 status open
20648
20649 \begin_layout Standard
20650
20651 \series bold
20652 Note:
20653 \series default
20654  The LaTeX-package 
20655 \series bold
20656 hypcap
20657 \series default
20658
20659 \begin_inset LatexCommand index
20660 name "LaTeX-packages ! hypcap"
20661
20662 \end_inset
20663
20664 , described in section\InsetSpace ~
20665
20666 \begin_inset LatexCommand ref
20667 reference "sub:Reference-Position"
20668
20669 \end_inset
20670
20671 , has no effect on floats with the caption set beside.
20672 \end_layout
20673
20674 \end_inset
20675
20676
20677 \end_layout
20678
20679 \begin_layout Standard
20680 \begin_inset ERT
20681 status collapsed
20682
20683 \begin_layout Standard
20684
20685
20686 \backslash
20687 FigBesBeg 
20688 \end_layout
20689
20690 \end_inset
20691
20692
20693 \end_layout
20694
20695 \begin_layout Standard
20696 \begin_inset Float figure
20697 wide false
20698 sideways false
20699 status open
20700
20701 \begin_layout Standard
20702 \begin_inset Graphics
20703         filename clipart/escher-lsd.eps
20704         scale 75
20705         scaleBeforeRotation
20706
20707 \end_inset
20708
20709
20710 \end_layout
20711
20712 \begin_layout Standard
20713 \begin_inset Caption
20714
20715 \begin_layout Standard
20716 \begin_inset LatexCommand label
20717 name "fig:cap-beside-fig"
20718
20719 \end_inset
20720
20721 This is a caption beside a figure.
20722 \end_layout
20723
20724 \end_inset
20725
20726
20727 \end_layout
20728
20729 \end_inset
20730
20731
20732 \end_layout
20733
20734 \begin_layout Standard
20735 \begin_inset ERT
20736 status collapsed
20737
20738 \begin_layout Standard
20739
20740
20741 \backslash
20742 TabBesBeg 
20743 \end_layout
20744
20745 \end_inset
20746
20747
20748 \end_layout
20749
20750 \begin_layout Standard
20751 \begin_inset Float table
20752 wide false
20753 sideways false
20754 status open
20755
20756 \begin_layout Standard
20757 \begin_inset Caption
20758
20759 \begin_layout Standard
20760 \begin_inset LatexCommand label
20761 name "tab:cap-beside-tab"
20762
20763 \end_inset
20764
20765 This is a caption beside a table.
20766 \end_layout
20767
20768 \end_inset
20769
20770
20771 \end_layout
20772
20773 \begin_layout Standard
20774 \begin_inset Tabular
20775 <lyxtabular version="3" rows="4" columns="5">
20776 <features>
20777 <column alignment="center" valignment="top" leftline="true" width="0">
20778 <column alignment="center" valignment="top" leftline="true" width="0">
20779 <column alignment="center" valignment="top" leftline="true" width="0">
20780 <column alignment="center" valignment="top" leftline="true" width="0">
20781 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20782 <row topline="true">
20783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20784 \begin_inset Text
20785
20786 \begin_layout Standard
20787 a
20788 \end_layout
20789
20790 \end_inset
20791 </cell>
20792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20793 \begin_inset Text
20794
20795 \begin_layout Standard
20796
20797 \end_layout
20798
20799 \end_inset
20800 </cell>
20801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20802 \begin_inset Text
20803
20804 \begin_layout Standard
20805 b
20806 \end_layout
20807
20808 \end_inset
20809 </cell>
20810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20811 \begin_inset Text
20812
20813 \begin_layout Standard
20814
20815 \end_layout
20816
20817 \end_inset
20818 </cell>
20819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20820 \begin_inset Text
20821
20822 \begin_layout Standard
20823 c
20824 \end_layout
20825
20826 \end_inset
20827 </cell>
20828 </row>
20829 <row topline="true">
20830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20831 \begin_inset Text
20832
20833 \begin_layout Standard
20834
20835 \end_layout
20836
20837 \end_inset
20838 </cell>
20839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20840 \begin_inset Text
20841
20842 \begin_layout Standard
20843 d
20844 \end_layout
20845
20846 \end_inset
20847 </cell>
20848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20849 \begin_inset Text
20850
20851 \begin_layout Standard
20852
20853 \end_layout
20854
20855 \end_inset
20856 </cell>
20857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20858 \begin_inset Text
20859
20860 \begin_layout Standard
20861 e
20862 \end_layout
20863
20864 \end_inset
20865 </cell>
20866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20867 \begin_inset Text
20868
20869 \begin_layout Standard
20870
20871 \end_layout
20872
20873 \end_inset
20874 </cell>
20875 </row>
20876 <row topline="true">
20877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20878 \begin_inset Text
20879
20880 \begin_layout Standard
20881 f
20882 \end_layout
20883
20884 \end_inset
20885 </cell>
20886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20887 \begin_inset Text
20888
20889 \begin_layout Standard
20890
20891 \end_layout
20892
20893 \end_inset
20894 </cell>
20895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20896 \begin_inset Text
20897
20898 \begin_layout Standard
20899 g
20900 \end_layout
20901
20902 \end_inset
20903 </cell>
20904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20905 \begin_inset Text
20906
20907 \begin_layout Standard
20908
20909 \end_layout
20910
20911 \end_inset
20912 </cell>
20913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20914 \begin_inset Text
20915
20916 \begin_layout Standard
20917 h
20918 \end_layout
20919
20920 \end_inset
20921 </cell>
20922 </row>
20923 <row topline="true" bottomline="true">
20924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20925 \begin_inset Text
20926
20927 \begin_layout Standard
20928
20929 \end_layout
20930
20931 \end_inset
20932 </cell>
20933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20934 \begin_inset Text
20935
20936 \begin_layout Standard
20937 i
20938 \end_layout
20939
20940 \end_inset
20941 </cell>
20942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20943 \begin_inset Text
20944
20945 \begin_layout Standard
20946
20947 \end_layout
20948
20949 \end_inset
20950 </cell>
20951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20952 \begin_inset Text
20953
20954 \begin_layout Standard
20955 j
20956 \end_layout
20957
20958 \end_inset
20959 </cell>
20960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20961 \begin_inset Text
20962
20963 \begin_layout Standard
20964
20965 \end_layout
20966
20967 \end_inset
20968 </cell>
20969 </row>
20970 </lyxtabular>
20971
20972 \end_inset
20973
20974
20975 \end_layout
20976
20977 \end_inset
20978
20979
20980 \end_layout
20981
20982 \begin_layout Standard
20983 \begin_inset ERT
20984 status collapsed
20985
20986 \begin_layout Standard
20987
20988
20989 \backslash
20990 TabBesEnd
20991 \end_layout
20992
20993 \end_inset
20994
20995
20996 \end_layout
20997
20998 \begin_layout Standard
20999 \begin_inset ERT
21000 status collapsed
21001
21002 \begin_layout Standard
21003
21004
21005 \backslash
21006 sidecaptionvpos{figure}{c}
21007 \end_layout
21008
21009 \end_inset
21010
21011
21012 \begin_inset Float figure
21013 wide false
21014 sideways false
21015 status open
21016
21017 \begin_layout Standard
21018 \begin_inset Graphics
21019         filename clipart/escher-lsd.eps
21020         scale 75
21021         scaleBeforeRotation
21022
21023 \end_inset
21024
21025
21026 \end_layout
21027
21028 \begin_layout Standard
21029 \begin_inset Caption
21030
21031 \begin_layout Standard
21032 \begin_inset LatexCommand label
21033 name "fig:cap-beside-fig-2"
21034
21035 \end_inset
21036
21037 This is a vertically centered caption beside a figure.
21038 \end_layout
21039
21040 \end_inset
21041
21042
21043 \end_layout
21044
21045 \end_inset
21046
21047
21048 \end_layout
21049
21050 \begin_layout Standard
21051 \begin_inset ERT
21052 status collapsed
21053
21054 \begin_layout Standard
21055
21056
21057 \backslash
21058 FigBesEnd
21059 \end_layout
21060
21061 \end_inset
21062
21063
21064 \end_layout
21065
21066 \begin_layout Section
21067 Listings of Floats
21068 \begin_inset LatexCommand label
21069 name "sec:Listings-of-Floats"
21070
21071 \end_inset
21072
21073
21074 \begin_inset LatexCommand index
21075 name "Floats ! Float Lists"
21076
21077 \end_inset
21078
21079
21080 \end_layout
21081
21082 \begin_layout Standard
21083 Similar to the the table of contents where the sections of the document
21084  are listed, there are listings for all float types, like the figures of
21085  the documents.
21086  You can insert them via the 
21087 \family sans
21088 Insert\SpecialChar \menuseparator
21089 List\InsetSpace ~
21090 /\InsetSpace ~
21091 TOC
21092 \family default
21093  sub menus.
21094 \end_layout
21095
21096 \begin_layout Standard
21097 The list entries are the float captions or its short title, the float number,
21098  and the page number where they appear in the document.
21099 \end_layout
21100
21101 \begin_layout Standard
21102 You can find the list of figures and tables at the end of this document.
21103 \end_layout
21104
21105 \begin_layout Chapter
21106 Notes
21107 \end_layout
21108
21109 \begin_layout Section
21110 \begin_inset ERT
21111 status collapsed
21112
21113 \begin_layout Standard
21114
21115
21116 \backslash
21117 texorpdfstring{
21118 \end_layout
21119
21120 \end_inset
21121
21122 LyX
21123 \begin_inset ERT
21124 status collapsed
21125
21126 \begin_layout Standard
21127
21128 }{LyX}
21129 \end_layout
21130
21131 \end_inset
21132
21133  Notes
21134 \begin_inset LatexCommand label
21135 name "sec:LyX-Notes"
21136
21137 \end_inset
21138
21139
21140 \begin_inset LatexCommand index
21141 name "Notes ! LyX Notes"
21142
21143 \end_inset
21144
21145
21146 \begin_inset Note Note
21147 status collapsed
21148
21149 \begin_layout Standard
21150 The command 
21151 \backslash
21152 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21153  are displayed wrongly in PDF-bookmarks.
21154  For more information about this, have a look at 
21155 \begin_inset LatexCommand cite
21156 key "hyperref"
21157
21158 \end_inset
21159
21160 .
21161 \end_layout
21162
21163 \end_inset
21164
21165
21166 \end_layout
21167
21168 \begin_layout Standard
21169 Notes are inserted with the toolbar button 
21170 \begin_inset Graphics
21171         filename ../images/note-insert.xpm
21172         scale 85
21173         scaleBeforeRotation
21174
21175 \end_inset
21176
21177  or the menu 
21178 \family sans
21179 Insert\SpecialChar \menuseparator
21180 Note
21181 \family default
21182 .
21183  There are five types of notes:
21184 \end_layout
21185
21186 \begin_layout Description
21187 LyX\InsetSpace ~
21188 Note This note type is for internal notes that won't appear in the output.
21189  Its note-box looks like this:
21190 \newline
21191
21192 \newline
21193
21194 \begin_inset Graphics
21195         filename clipart/LyXNoteImageQt4.png
21196         display none
21197         scale 85
21198         scaleBeforeRotation
21199
21200 \end_inset
21201
21202  
21203 \begin_inset Note Note
21204 status open
21205
21206 \begin_layout Standard
21207 This is text in a note box that doesn't appear in the output.
21208 \end_layout
21209
21210 \end_inset
21211
21212
21213 \end_layout
21214
21215 \begin_layout Description
21216 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21217 ent, when you export the document to LaTeX via the menu 
21218 \family sans
21219 File\SpecialChar \menuseparator
21220 Export\SpecialChar \menuseparator
21221 LaTeX (pdflatex) / LaTeX (plain)
21222 \family default
21223 .
21224  Its note-box looks like this:
21225 \newline
21226
21227 \newline
21228
21229 \begin_inset Graphics
21230         filename clipart/CommentNoteImageQt4.png
21231         display none
21232         scale 85
21233         scaleBeforeRotation
21234
21235 \end_inset
21236
21237  
21238 \begin_inset Note Comment
21239 status open
21240
21241 \begin_layout Standard
21242 This is text in a note box that only appears as comment in LaTeX-files.
21243 \end_layout
21244
21245 \end_inset
21246
21247
21248 \end_layout
21249
21250 \begin_layout Description
21251 Greyed\InsetSpace ~
21252 Out This note will appear in the output as grey text.
21253  Its note-box looks like this:
21254 \newline
21255
21256 \newline
21257
21258 \begin_inset Graphics
21259         filename clipart/GreyedOutNoteImageQt4.png
21260         display none
21261         scale 85
21262         scaleBeforeRotation
21263
21264 \end_inset
21265
21266
21267 \newline
21268
21269 \begin_inset ERT
21270 status collapsed
21271
21272 \begin_layout Standard
21273
21274
21275 \backslash
21276 renewenvironment{lyxgreyedout}
21277 \end_layout
21278
21279 \begin_layout Standard
21280
21281 {
21282 \backslash
21283 textcolor[gray]{0.8}
21284 \backslash
21285 bgroup}{
21286 \backslash
21287 egroup}
21288 \end_layout
21289
21290 \end_inset
21291
21292
21293 \begin_inset Note Greyedout
21294 status open
21295
21296 \begin_layout Standard
21297 This is text
21298 \begin_inset Foot
21299 status open
21300
21301 \begin_layout Standard
21302 This is an example footnote within a greyed out note.
21303 \end_layout
21304
21305 \end_inset
21306
21307  of a comment that appears in the output as grey text.
21308 \end_layout
21309
21310 \end_inset
21311
21312
21313 \begin_inset ERT
21314 status collapsed
21315
21316 \begin_layout Standard
21317
21318
21319 \backslash
21320 renewenvironment{lyxgreyedout}
21321 \end_layout
21322
21323 \begin_layout Standard
21324
21325 {
21326 \backslash
21327 textcolor{blue}
21328 \backslash
21329 bgroup}{
21330 \backslash
21331 egroup}
21332 \end_layout
21333
21334 \end_inset
21335
21336
21337 \begin_inset Note Note
21338 status collapsed
21339
21340 \begin_layout Standard
21341 The greyed out note is here redefined to show it with the original LyX definitio
21342 n because greyed out notes are redefined in the preamble of this document,
21343  as described below, to have blue text.
21344 \end_layout
21345
21346 \end_inset
21347
21348
21349 \newline
21350
21351 \newline
21352 As you can see in the example, the first line of greyed out notes is a bit
21353  indented and greyed out notes can have footnotes.
21354 \end_layout
21355
21356 \begin_layout Description
21357 Framed This note will appear in the output as framed text.
21358  Its note-box looks like this:
21359 \newline
21360
21361 \newline
21362
21363 \begin_inset Graphics
21364         filename clipart/FramedNoteImageQt4.png
21365         display none
21366         scale 85
21367         scaleBeforeRotation
21368
21369 \end_inset
21370
21371  
21372 \begin_inset Note Framed
21373 status open
21374
21375 \begin_layout Standard
21376 This is text in a note box that appears framed in the output.
21377 \end_layout
21378
21379 \end_inset
21380
21381  In contrary to framed boxes
21382 \begin_inset Foot
21383 status collapsed
21384
21385 \begin_layout Standard
21386 Framed boxes are described in section\InsetSpace ~
21387
21388 \begin_inset LatexCommand ref
21389 reference "sec:Framed-Boxes"
21390
21391 \end_inset
21392
21393 .
21394 \end_layout
21395
21396 \end_inset
21397
21398  the frame uses always the whole text width and the note is set into its
21399  own paragraph.
21400 \end_layout
21401
21402 \begin_layout Description
21403 Shaded This note will appear in the output with red background color.
21404  Its note box looks like this:
21405 \newline
21406
21407 \newline
21408
21409 \begin_inset Graphics
21410         filename clipart/ShadedNoteImageQt4.png
21411         display none
21412         scale 85
21413         scaleBeforeRotation
21414
21415 \end_inset
21416
21417
21418 \begin_inset Note Shaded
21419 status open
21420
21421 \begin_layout Standard
21422 This text in a note box appears in the output with red background.
21423 \end_layout
21424
21425 \end_inset
21426
21427 In contrary to colored boxes
21428 \begin_inset Foot
21429 status collapsed
21430
21431 \begin_layout Standard
21432 Colored boxes are described in section\InsetSpace ~
21433
21434 \begin_inset LatexCommand ref
21435 reference "sec:Colored-Boxes"
21436
21437 \end_inset
21438
21439 .
21440 \end_layout
21441
21442 \end_inset
21443
21444  the note uses always the whole text width and the note is set into its
21445  own paragraph.
21446 \end_layout
21447
21448 \begin_layout Standard
21449 \begin_inset VSpace bigskip
21450 \end_inset
21451
21452 When you use the toolbar button 
21453 \begin_inset Graphics
21454         filename ../images/note-insert.xpm
21455         scale 85
21456         scaleBeforeRotation
21457
21458 \end_inset
21459
21460  to insert notes, a 
21461 \family sans
21462 LyX\InsetSpace ~
21463 Note
21464 \family default
21465  is inserted.
21466  You can switch between the five note types by right-clicking on the note-box.
21467  
21468 \family roman
21469 \series medium
21470 \bar no
21471 If you want to turn existing text into a note, mark it and click on the
21472  note
21473 \family default
21474 \series default
21475 \bar default
21476  toolbar 
21477 \family roman
21478 \series medium
21479 \bar no
21480 button
21481 \family default
21482 \series default
21483 \bar default
21484 .
21485 \end_layout
21486
21487 \begin_layout Standard
21488 \begin_inset VSpace bigskip
21489 \end_inset
21490
21491 You can change the text color of the greyed out notes in the preamble with
21492  the following command:
21493 \end_layout
21494
21495 \begin_layout Standard
21496
21497 \series bold
21498
21499 \backslash
21500 renewenvironment{lyxgreyedout}
21501 \newline
21502
21503 \begin_inset ERT
21504 status collapsed
21505
21506 \begin_layout Standard
21507
21508
21509 \backslash
21510 hphantom{ }
21511 \end_layout
21512
21513 \end_inset
21514
21515 {
21516 \backslash
21517 textcolor{color}
21518 \backslash
21519 bgroup}{
21520 \backslash
21521 egroup}
21522 \end_layout
21523
21524 \begin_layout Standard
21525 The available colors and the method to define own colors is explained in
21526  section\InsetSpace ~
21527
21528 \begin_inset LatexCommand ref
21529 reference "sec:Colored-Tables"
21530
21531 \end_inset
21532
21533 .
21534 \end_layout
21535
21536 \begin_layout Standard
21537 Notes that appear in blue in this document are set using greyed out notes
21538  with blue text.
21539 \end_layout
21540
21541 \begin_layout Standard
21542 \begin_inset VSpace bigskip
21543 \end_inset
21544
21545
21546 \end_layout
21547
21548 \begin_layout Standard
21549 The text style of 
21550 \family sans
21551 Framed
21552 \family default
21553  and 
21554 \family sans
21555 Shaded
21556 \family default
21557  notes can be set in the 
21558 \family sans
21559 Text Style
21560 \family default
21561  dialog.
21562 \end_layout
21563
21564 \begin_layout Standard
21565 The default frame width for 
21566 \family sans
21567 Framed
21568 \family default
21569  notes is 0.4\InsetSpace \thinspace{}
21570 pt; it can be changed by changing the size 
21571 \series bold
21572
21573 \backslash
21574 FrameRule
21575 \series default
21576 .
21577  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21578 pt; it can
21579  be changed by changing the size 
21580 \series bold
21581
21582 \backslash
21583 FrameSep
21584 \series default
21585 .
21586  For example the frame appearance of the following 
21587 \family sans
21588 Framed
21589 \family default
21590  note is set with the ERT commands
21591 \end_layout
21592
21593 \begin_layout Standard
21594
21595 \series bold
21596
21597 \backslash
21598 FrameRule 5pt 
21599 \backslash
21600 FrameSep 0.5cm
21601 \end_layout
21602
21603 \begin_layout Standard
21604 \begin_inset ERT
21605 status collapsed
21606
21607 \begin_layout Standard
21608
21609
21610 \backslash
21611 FrameRule 5pt 
21612 \backslash
21613 FrameSep 0.5cm
21614 \end_layout
21615
21616 \end_inset
21617
21618
21619 \begin_inset Note Framed
21620 status open
21621
21622 \begin_layout Standard
21623 This is text in a 
21624 \family sans
21625 Framed
21626 \family default
21627  note.
21628 \end_layout
21629
21630 \end_inset
21631
21632
21633 \begin_inset ERT
21634 status collapsed
21635
21636 \begin_layout Standard
21637
21638
21639 \backslash
21640 FrameRule 0.4pt 
21641 \backslash
21642 FrameSep 9pt
21643 \end_layout
21644
21645 \end_inset
21646
21647
21648 \end_layout
21649
21650 \begin_layout Standard
21651 \begin_inset VSpace bigskip
21652 \end_inset
21653
21654
21655 \end_layout
21656
21657 \begin_layout Standard
21658 For 
21659 \family sans
21660 Shaded
21661 \family default
21662  notes the default space between the note content and the note border is
21663  3\InsetSpace \thinspace{}
21664 pt; it can be changed by changing the size 
21665 \series bold
21666
21667 \backslash
21668 fboxsep
21669 \series default
21670 .
21671 \newline
21672 The default background color red can be changed with the command 
21673 \series bold
21674
21675 \backslash
21676 def\SpecialChar \textcompwordmark{}
21677 inecolor{shadebox}
21678 \series default
21679 .
21680  The scheme of the 
21681 \series bold
21682
21683 \backslash
21684 def\SpecialChar \textcompwordmark{}
21685 inecolor
21686 \series default
21687  command is explained in section\InsetSpace ~
21688
21689 \begin_inset LatexCommand ref
21690 reference "sec:Colored-Tables"
21691
21692 \end_inset
21693
21694
21695 \begin_inset Foot
21696 status collapsed
21697
21698 \begin_layout Standard
21699 Note that 
21700 \series bold
21701
21702 \backslash
21703 def
21704 \series default
21705 \SpecialChar \textcompwordmark{}
21706
21707 \series bold
21708 inecolor
21709 \series default
21710  requires the LaTeX-package 
21711 \series bold
21712 color
21713 \series default
21714  in the preamble, see section\InsetSpace ~
21715
21716 \begin_inset LatexCommand ref
21717 reference "sec:Colored-Boxes"
21718
21719 \end_inset
21720
21721 .
21722 \end_layout
21723
21724 \end_inset
21725
21726 .
21727 \end_layout
21728
21729 \begin_layout Standard
21730 For example the appearance of the following 
21731 \family sans
21732 Shaded
21733 \family default
21734  note is set with the ERT commands
21735 \end_layout
21736
21737 \begin_layout Standard
21738
21739 \series bold
21740
21741 \backslash
21742 fboxsep 0.5cm
21743 \series default
21744
21745 \newline
21746
21747 \series bold
21748
21749 \backslash
21750 def\SpecialChar \textcompwordmark{}
21751 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21752 \end_layout
21753
21754 \begin_layout Standard
21755 \begin_inset ERT
21756 status collapsed
21757
21758 \begin_layout Standard
21759
21760
21761 \backslash
21762 fboxsep 0.5cm
21763 \end_layout
21764
21765 \end_inset
21766
21767
21768 \begin_inset ERT
21769 status collapsed
21770
21771 \begin_layout Standard
21772
21773
21774 \backslash
21775 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21776 \end_layout
21777
21778 \end_inset
21779
21780
21781 \begin_inset Note Shaded
21782 status open
21783
21784 \begin_layout Standard
21785
21786 \color yellow
21787 This is yellow text in a
21788 \color none
21789  
21790 \family sans
21791 \color yellow
21792 Shaded
21793 \family default
21794 \color none
21795  
21796 \color yellow
21797 note with darkgreen background.
21798 \end_layout
21799
21800 \end_inset
21801
21802
21803 \begin_inset ERT
21804 status collapsed
21805
21806 \begin_layout Standard
21807
21808
21809 \backslash
21810 fboxsep 3pt
21811 \end_layout
21812
21813 \end_inset
21814
21815
21816 \begin_inset ERT
21817 status collapsed
21818
21819 \begin_layout Standard
21820
21821
21822 \backslash
21823 definecolor{shadecolor}{rgb}{1,0,0}
21824 \end_layout
21825
21826 \end_inset
21827
21828
21829 \end_layout
21830
21831 \begin_layout Section
21832 Footnotes
21833 \begin_inset LatexCommand label
21834 name "sec:Footnotes"
21835
21836 \end_inset
21837
21838
21839 \begin_inset LatexCommand index
21840 name "Notes ! Footnotes"
21841
21842 \end_inset
21843
21844
21845 \begin_inset LatexCommand index
21846 name "Footnotes"
21847
21848 \end_inset
21849
21850
21851 \end_layout
21852
21853 \begin_layout Standard
21854 Footnotes can be inserted using the toolbar button 
21855 \begin_inset Graphics
21856         filename ../images/footnote-insert.xpm
21857         scale 85
21858         scaleBeforeRotation
21859
21860 \end_inset
21861
21862  or the menu 
21863 \family sans
21864 Insert\SpecialChar \menuseparator
21865 Footnote
21866 \family default
21867 .
21868  
21869 \family roman
21870 \series medium
21871 \bar no
21872 You'll see
21873 \family default
21874 \series default
21875 \bar default
21876  then the following footnote-box: 
21877 \begin_inset Graphics
21878         filename clipart/footnoteQt4.png
21879         scale 80
21880         scaleBeforeRotation
21881
21882 \end_inset
21883
21884  
21885 \family roman
21886 \series medium
21887 \bar no
21888 where you can enter the footnote text.
21889  If you want to turn existing text into a footnote, mark it and click on
21890  the footnote
21891 \family default
21892 \series default
21893 \bar default
21894  toolbar 
21895 \family roman
21896 \series medium
21897 \bar no
21898 button
21899 \family default
21900 \series default
21901 \bar default
21902 .
21903 \end_layout
21904
21905 \begin_layout Standard
21906 Here is an example footnote:
21907 \family roman
21908 \series medium
21909 \bar no
21910
21911 \begin_inset Foot
21912 status open
21913
21914 \begin_layout Standard
21915 \begin_inset LatexCommand label
21916 name "foot:This-is-an"
21917
21918 \end_inset
21919
21920 This is an example footnote.
21921 \end_layout
21922
21923 \end_inset
21924
21925
21926 \family default
21927 \series default
21928 \bar default
21929
21930 \begin_inset ERT
21931 status collapsed
21932
21933 \begin_layout Standard
21934
21935
21936 \backslash
21937 newcounter{MyRepeatFoot}
21938 \end_layout
21939
21940 \begin_layout Standard
21941
21942
21943 \backslash
21944 setcounter{MyRepeatFoot}{
21945 \backslash
21946 thefootnote}
21947 \end_layout
21948
21949 \end_inset
21950
21951
21952 \end_layout
21953
21954 \begin_layout Standard
21955 The footnote will appear in the output as a superscript number at the text
21956  position where the footnote box is placed.
21957  The footnote text is placed at the bottom of the current page.
21958  The footnote number is calculated by LaTeX, the numbers are consecutive.
21959  It depends on your document-class, if the footnote number is reset for
21960  every chapter.
21961 \end_layout
21962
21963 \begin_layout Standard
21964 Footnotes can be referenced like floats: Insert a label into the footnote
21965  and cross-reference this label in the text as described in section\InsetSpace ~
21966
21967 \begin_inset LatexCommand ref
21968 reference "sec:Referencing-Floats"
21969
21970 \end_inset
21971
21972 .
21973 \newline
21974 This is a cross-reference of Footnote\InsetSpace ~
21975
21976 \begin_inset LatexCommand ref
21977 reference "foot:This-is-an"
21978
21979 \end_inset
21980
21981 .
21982 \end_layout
21983
21984 \begin_layout Standard
21985 \begin_inset VSpace defskip
21986 \end_inset
21987
21988 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21989
21990 \begin_inset LatexCommand ref
21991 reference "sec:Minipages"
21992
21993 \end_inset
21994
21995 .
21996  Footnotes within longtables are described in section\InsetSpace ~
21997
21998 \begin_inset LatexCommand ref
21999 reference "sub:Footnotes-in-Longtables"
22000
22001 \end_inset
22002
22003 .
22004 \end_layout
22005
22006 \begin_layout Standard
22007 \begin_inset VSpace defskip
22008 \end_inset
22009
22010 To create only a mark for a footnote, use the command 
22011 \series bold
22012
22013 \backslash
22014 footnotemark[number]
22015 \series default
22016  in ERT.
22017  This is used when you have the same annotation several times in a text
22018  but doesn't want to print the footnote text every time.
22019 \newline
22020 As you don't know
22021  the number of the repeating footnote while you are writing the text, you
22022  have to store its number.
22023  For the following footnote mark example, these commands were inserted in
22024  ERT behind Footnote\InsetSpace ~
22025
22026 \begin_inset LatexCommand ref
22027 reference "foot:This-is-an"
22028
22029 \end_inset
22030
22031  to store the footnote number:
22032 \end_layout
22033
22034 \begin_layout Standard
22035
22036 \series bold
22037
22038 \backslash
22039 newcounter{MyRepeatFoot}
22040 \newline
22041
22042 \backslash
22043 setcounter{MyRepeatFoot}{
22044 \backslash
22045 thefootnote}
22046 \end_layout
22047
22048 \begin_layout Standard
22049 The footnote mark was then created with this command:
22050 \end_layout
22051
22052 \begin_layout Standard
22053
22054 \series bold
22055
22056 \backslash
22057 footnotemark[
22058 \backslash
22059 theMyRepeatFoot]
22060 \end_layout
22061
22062 \begin_layout Standard
22063 Here is an example footnote mark:
22064 \family roman
22065 \series medium
22066 \bar no
22067
22068 \begin_inset ERT
22069 status collapsed
22070
22071 \begin_layout Standard
22072
22073
22074 \backslash
22075 footnotemark[
22076 \backslash
22077 theMyRepeatFoot]
22078 \end_layout
22079
22080 \end_inset
22081
22082
22083 \end_layout
22084
22085 \begin_layout Subsection
22086 Footnote Numbering
22087 \begin_inset LatexCommand label
22088 name "sub:Footnote-Numbering"
22089
22090 \end_inset
22091
22092
22093 \begin_inset LatexCommand index
22094 name "Footnotes ! Numbering"
22095
22096 \end_inset
22097
22098
22099 \end_layout
22100
22101 \begin_layout Standard
22102 To reset the footnote number back to 1 after each section
22103 \family roman
22104 , add this command to your document preamble:
22105 \end_layout
22106
22107 \begin_layout Standard
22108
22109 \series bold
22110
22111 \backslash
22112 @addtoreset{footnote}{section}
22113 \end_layout
22114
22115 \begin_layout Standard
22116 \begin_inset VSpace bigskip
22117 \end_inset
22118
22119 The following preamble command changes the footnote numbering style to small
22120  roman numerals:
22121 \end_layout
22122
22123 \begin_layout Standard
22124
22125 \series bold
22126
22127 \backslash
22128 renewcommand{
22129 \backslash
22130 thefootnote}{
22131 \backslash
22132 roman{footnote}}
22133 \end_layout
22134
22135 \begin_layout Standard
22136 \begin_inset ERT
22137 status collapsed
22138
22139 \begin_layout Standard
22140
22141
22142 \backslash
22143 renewcommand{
22144 \backslash
22145 thefootnote}{
22146 \backslash
22147 roman{footnote}}
22148 \end_layout
22149
22150 \end_inset
22151
22152  This is a footnote with roman numbering:
22153 \begin_inset Foot
22154 status open
22155
22156 \begin_layout Standard
22157 This is an example footnote with roman numbering.
22158 \end_layout
22159
22160 \end_inset
22161
22162
22163 \end_layout
22164
22165 \begin_layout Standard
22166 To change the numbering style to capital roman numerals replace in the command
22167  above 
22168 \series bold
22169
22170 \backslash
22171 roman
22172 \series default
22173  by 
22174 \series bold
22175
22176 \backslash
22177 Roman
22178 \series default
22179 .
22180  To 
22181 \begin_inset Quotes eld
22182 \end_inset
22183
22184 number
22185 \begin_inset Quotes erd
22186 \end_inset
22187
22188  footnotes with capital or small Latin letters use 
22189 \series bold
22190
22191 \backslash
22192 Alph
22193 \series default
22194  or 
22195 \series bold
22196
22197 \backslash
22198 alph
22199 \series default
22200 , respectively.
22201  To 
22202 \begin_inset Quotes eld
22203 \end_inset
22204
22205 number
22206 \begin_inset Quotes erd
22207 \end_inset
22208
22209  footnotes with symbols use 
22210 \series bold
22211
22212 \backslash
22213 fnsymbol
22214 \series default
22215 .
22216 \end_layout
22217
22218 \begin_layout Standard
22219 \begin_inset Note Greyedout
22220 status open
22221
22222 \begin_layout Standard
22223
22224 \series bold
22225 Note:
22226 \series default
22227  You can only number 26 footnotes with Latin letters, because this numbering
22228  is limited to single letters.
22229 \end_layout
22230
22231 \end_inset
22232
22233
22234 \newline
22235
22236 \begin_inset Note Greyedout
22237 status open
22238
22239 \begin_layout Standard
22240
22241 \series bold
22242 Note:
22243 \series default
22244  You can only number 9 footnotes with symbols.
22245 \end_layout
22246
22247 \end_inset
22248
22249
22250 \end_layout
22251
22252 \begin_layout Standard
22253 To return to the default numbering style when you changed to another one,
22254  use 
22255 \series bold
22256
22257 \backslash
22258 arabic
22259 \series default
22260  instead of 
22261 \series bold
22262
22263 \backslash
22264 roman
22265 \series default
22266  in the command above.
22267 \begin_inset ERT
22268 status collapsed
22269
22270 \begin_layout Standard
22271
22272
22273 \backslash
22274 renewcommand{
22275 \backslash
22276 thefootnote}{
22277 \backslash
22278 arabic{footnote}}
22279 \end_layout
22280
22281 \end_inset
22282
22283
22284 \end_layout
22285
22286 \begin_layout Standard
22287 \begin_inset VSpace bigskip
22288 \end_inset
22289
22290
22291 \end_layout
22292
22293 \begin_layout Standard
22294 If you want to have footnotes numbered in the scheme 
22295 \begin_inset Quotes eld
22296 \end_inset
22297
22298 chapter.footnote
22299 \begin_inset Quotes erd
22300 \end_inset
22301
22302 , add the following command to your document preamble:
22303 \end_layout
22304
22305 \begin_layout Standard
22306
22307 \series bold
22308
22309 \backslash
22310 numberwithin{footnote}{chapter}
22311 \end_layout
22312
22313 \begin_layout Standard
22314 To be able to use the command 
22315 \series bold
22316
22317 \backslash
22318 numberwithin
22319 \series default
22320 , set in the tab 
22321 \family sans
22322 Math\InsetSpace ~
22323 Options
22324 \family default
22325  in the document settings the option 
22326 \family sans
22327 Use\InsetSpace ~
22328 AMS\InsetSpace ~
22329 math\InsetSpace ~
22330 package
22331 \family default
22332 .
22333 \end_layout
22334
22335 \begin_layout Standard
22336 \begin_inset ERT
22337 status collapsed
22338
22339 \begin_layout Standard
22340
22341
22342 \backslash
22343 numberwithin{footnote}{chapter}
22344 \end_layout
22345
22346 \end_inset
22347
22348 This is another example footnote:
22349 \series bold
22350
22351 \begin_inset Foot
22352 status open
22353
22354 \begin_layout Standard
22355 This is a footnote numbered in the scheme 
22356 \begin_inset Quotes eld
22357 \end_inset
22358
22359 chapter.footnote
22360 \begin_inset Quotes erd
22361 \end_inset
22362
22363 .
22364 \end_layout
22365
22366 \end_inset
22367
22368
22369 \series default
22370
22371 \begin_inset ERT
22372 status collapsed
22373
22374 \begin_layout Standard
22375
22376
22377 \backslash
22378 renewcommand{
22379 \backslash
22380 thefootnote}{
22381 \backslash
22382 arabic{footnote}}
22383 \end_layout
22384
22385 \end_inset
22386
22387
22388 \end_layout
22389
22390 \begin_layout Standard
22391 \begin_inset Note Greyedout
22392 status open
22393
22394 \begin_layout Standard
22395
22396 \series bold
22397 Note:
22398 \series default
22399  
22400 \series bold
22401
22402 \backslash
22403 numberwithin
22404 \series default
22405  always prints out the footnote number as arabic number; previous redefinitions
22406  to get non-arabic numbers are overwritten.
22407 \end_layout
22408
22409 \end_inset
22410
22411
22412 \end_layout
22413
22414 \begin_layout Standard
22415 So to get for example the scheme 
22416 \begin_inset Quotes eld
22417 \end_inset
22418
22419 chapter.
22420 \backslash
22421 Roman{footnote}
22422 \begin_inset Quotes erd
22423 \end_inset
22424
22425 , use this command instead of 
22426 \series bold
22427
22428 \backslash
22429 numberwithin
22430 \series default
22431 :
22432 \end_layout
22433
22434 \begin_layout Standard
22435
22436 \series bold
22437
22438 \backslash
22439 renewcommand{
22440 \backslash
22441 thefootnote}{
22442 \backslash
22443 thechapter.
22444 \backslash
22445 Roman{footnote}}
22446 \end_layout
22447
22448 \begin_layout Subsection
22449 Footnote Placement
22450 \begin_inset LatexCommand index
22451 name "Footnotes ! Placement"
22452
22453 \end_inset
22454
22455
22456 \end_layout
22457
22458 \begin_layout Standard
22459 If you have several footnotes in one page, they appear without vertical
22460  space between them at the bottom of the page.
22461  To make them better readable you can e.\InsetSpace \thinspace{}
22462 g.\InsetSpace ~
22463 add 1.5\InsetSpace \thinspace{}
22464 mm space with the following
22465  preamble command:
22466 \end_layout
22467
22468 \begin_layout Standard
22469
22470 \series bold
22471
22472 \backslash
22473 let
22474 \backslash
22475 myFoot
22476 \backslash
22477 footnote
22478 \newline
22479
22480 \backslash
22481 renewcommand{
22482 \backslash
22483 footnote}[1]{
22484 \backslash
22485 myFoot{#1
22486 \backslash
22487 vspace{1.5mm}}}
22488 \end_layout
22489
22490 \begin_layout Standard
22491 \begin_inset VSpace bigskip
22492 \end_inset
22493
22494 In a two-column document the footnotes appear at the bottom of every column,
22495  see Figure\InsetSpace ~
22496
22497 \begin_inset LatexCommand ref
22498 reference "fig:Standard-footnote-placement"
22499
22500 \end_inset
22501
22502 .
22503  If the footnotes should only appear at the bottom of the right column,
22504  as in Figure\InsetSpace ~
22505
22506 \begin_inset LatexCommand ref
22507 reference "fig:Footnote-placement-in"
22508
22509 \end_inset
22510
22511 , use the LaTeX-package 
22512 \series bold
22513 ftnright
22514 \series default
22515
22516 \begin_inset LatexCommand index
22517 name "LaTeX-packages ! ftnright"
22518
22519 \end_inset
22520
22521  with this command in the document preamble:
22522 \end_layout
22523
22524 \begin_layout Standard
22525
22526 \series bold
22527
22528 \backslash
22529 usepackage{ftnright}
22530 \end_layout
22531
22532 \begin_layout Standard
22533 \begin_inset Float figure
22534 placement !h
22535 wide false
22536 sideways false
22537 status open
22538
22539 \begin_layout Standard
22540 \begin_inset ERT
22541 status collapsed
22542
22543 \begin_layout Standard
22544
22545
22546 \backslash
22547 framebox{
22548 \end_layout
22549
22550 \end_inset
22551
22552
22553 \begin_inset Graphics
22554         filename clipart/without_fntright.pdf
22555         width 100col%
22556         scaleBeforeRotation
22557
22558 \end_inset
22559
22560
22561 \begin_inset ERT
22562 status collapsed
22563
22564 \begin_layout Standard
22565
22566 }
22567 \end_layout
22568
22569 \end_inset
22570
22571
22572 \end_layout
22573
22574 \begin_layout Standard
22575 \begin_inset Caption
22576
22577 \begin_layout Standard
22578 \begin_inset LatexCommand label
22579 name "fig:Standard-footnote-placement"
22580
22581 \end_inset
22582
22583 Standard footnote placement in two-column documents.
22584 \end_layout
22585
22586 \end_inset
22587
22588
22589 \end_layout
22590
22591 \end_inset
22592
22593
22594 \end_layout
22595
22596 \begin_layout Standard
22597 \begin_inset Float figure
22598 placement !h
22599 wide false
22600 sideways false
22601 status open
22602
22603 \begin_layout Standard
22604 \begin_inset ERT
22605 status collapsed
22606
22607 \begin_layout Standard
22608
22609
22610 \backslash
22611 framebox{
22612 \end_layout
22613
22614 \end_inset
22615
22616
22617 \begin_inset Graphics
22618         filename clipart/with_fntright.pdf
22619         width 100col%
22620         scaleBeforeRotation
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:Footnote-placement-in"
22644
22645 \end_inset
22646
22647 Footnote placement in two-column documents when the LaTeX-package 
22648 \series bold
22649 ftnright
22650 \series default
22651  is used.
22652 \end_layout
22653
22654 \end_inset
22655
22656
22657 \end_layout
22658
22659 \end_inset
22660
22661
22662 \end_layout
22663
22664 \begin_layout Standard
22665 \begin_inset VSpace bigskip
22666 \end_inset
22667
22668 In some scientific literature it is usual to collect the footnotes and print
22669  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22670
22671 \begin_inset LatexCommand ref
22672 reference "fig:Endnotes----footnotes"
22673
22674 \end_inset
22675
22676 .
22677  They are then so called 
22678 \begin_inset Quotes eld
22679 \end_inset
22680
22681 endnotes
22682 \begin_inset Quotes erd
22683 \end_inset
22684
22685 .
22686  To use endnotes instead of footnotes in your document, load the LaTeX-package
22687  
22688 \series bold
22689 endnotes
22690 \series default
22691
22692 \begin_inset LatexCommand index
22693 name "LaTeX-packages ! endnotes"
22694
22695 \end_inset
22696
22697  with the document preamble lines
22698 \end_layout
22699
22700 \begin_layout Standard
22701
22702 \series bold
22703
22704 \backslash
22705 usepackage{endnotes}
22706 \newline
22707
22708 \backslash
22709 let
22710 \backslash
22711 footnote
22712 \backslash
22713 endnote
22714 \end_layout
22715
22716 \begin_layout Standard
22717 To insert the collected footnotes, insert the command
22718 \end_layout
22719
22720 \begin_layout Standard
22721
22722 \series bold
22723
22724 \backslash
22725 theendnotes
22726 \end_layout
22727
22728 \begin_layout Standard
22729 in ERT at the the end of a section or chapter.
22730 \end_layout
22731
22732 \begin_layout Standard
22733 \begin_inset Float figure
22734 wide false
22735 sideways false
22736 status open
22737
22738 \begin_layout Standard
22739 \align center
22740 \begin_inset ERT
22741 status collapsed
22742
22743 \begin_layout Standard
22744
22745
22746 \backslash
22747 framebox{
22748 \end_layout
22749
22750 \end_inset
22751
22752
22753 \begin_inset Graphics
22754         filename clipart/endnotes.pdf
22755         scaleBeforeRotation
22756
22757 \end_inset
22758
22759
22760 \begin_inset ERT
22761 status collapsed
22762
22763 \begin_layout Standard
22764
22765 }
22766 \end_layout
22767
22768 \end_inset
22769
22770
22771 \end_layout
22772
22773 \begin_layout Standard
22774 \begin_inset Caption
22775
22776 \begin_layout Standard
22777 \begin_inset LatexCommand label
22778 name "fig:Endnotes----footnotes"
22779
22780 \end_inset
22781
22782 Endnotes -- footnotes are printed in a separate paragraph at the end of
22783  sections or chapters.
22784 \end_layout
22785
22786 \end_inset
22787
22788
22789 \end_layout
22790
22791 \end_inset
22792
22793
22794 \end_layout
22795
22796 \begin_layout Standard
22797 \begin_inset VSpace medskip
22798 \end_inset
22799
22800 The paragraph heading for the endnotes isn't automatically translated into
22801  the document language, this must be done manually.
22802  The following preamble command translate the default English name 
22803 \begin_inset Quotes eld
22804 \end_inset
22805
22806 Notes
22807 \begin_inset Quotes erd
22808 \end_inset
22809
22810  to the German translation 
22811 \begin_inset Quotes eld
22812 \end_inset
22813
22814 Anmerkungen
22815 \begin_inset Quotes erd
22816 \end_inset
22817
22818 :
22819 \end_layout
22820
22821 \begin_layout Standard
22822
22823 \series bold
22824
22825 \backslash
22826 renewcommand{
22827 \backslash
22828 notesname}{Anmerkungen}
22829 \end_layout
22830
22831 \begin_layout Standard
22832 \begin_inset VSpace medskip
22833 \end_inset
22834
22835 The numbering of endnotes can be changed like the footnote numbering as
22836  described in section\InsetSpace ~
22837
22838 \begin_inset LatexCommand ref
22839 reference "sub:Footnote-Numbering"
22840
22841 \end_inset
22842
22843 ; just replace the command 
22844 \series bold
22845
22846 \backslash
22847 thefootnote
22848 \series default
22849  by 
22850 \series bold
22851
22852 \backslash
22853 theendnote
22854 \series default
22855 .
22856  To reset the endnote number use the command 
22857 \series bold
22858
22859 \backslash
22860 @addtoreset
22861 \series default
22862  as described in section\InsetSpace ~
22863
22864 \begin_inset LatexCommand ref
22865 reference "sub:Footnote-Numbering"
22866
22867 \end_inset
22868
22869  and replace the command parameter 
22870 \series bold
22871 footnote
22872 \series default
22873  by 
22874 \series bold
22875 endnote
22876 \series default
22877 .
22878 \end_layout
22879
22880 \begin_layout Standard
22881 To create only a mark for an endnote, use the command 
22882 \series bold
22883
22884 \backslash
22885 endnotemark[number]
22886 \series default
22887  similar to the command 
22888 \series bold
22889
22890 \backslash
22891 footnotemark
22892 \series default
22893 , described in section\InsetSpace ~
22894
22895 \begin_inset LatexCommand ref
22896 reference "sec:Footnotes"
22897
22898 \end_inset
22899
22900 .
22901 \end_layout
22902
22903 \begin_layout Standard
22904 \begin_inset VSpace bigskip
22905 \end_inset
22906
22907 Footnotes can also be placed in the page margin and the footnote text alignment
22908  can be changed, see the LaTeX-package 
22909 \series bold
22910 footmisc
22911 \series default
22912
22913 \begin_inset LatexCommand index
22914 name "LaTeX-packages ! footmisc"
22915
22916 \end_inset
22917
22918
22919 \begin_inset LatexCommand cite
22920 key "footmisc"
22921
22922 \end_inset
22923
22924  for more information about this.
22925 \end_layout
22926
22927 \begin_layout Standard
22928 For various further footnote formatting issues have a look at LaTeX-books,
22929  
22930 \begin_inset LatexCommand cite
22931 key "latexcompanion,latexguide,latexbook"
22932
22933 \end_inset
22934
22935 .
22936 \end_layout
22937
22938 \begin_layout Section
22939 Margin Notes
22940 \begin_inset LatexCommand index
22941 name "Notes ! Margin Notes"
22942
22943 \end_inset
22944
22945
22946 \end_layout
22947
22948 \begin_layout Standard
22949 Margin notes look and behave in LyX like footnotes.
22950  They are inserted via the menu 
22951 \family sans
22952 Insert\SpecialChar \menuseparator
22953 Marginal\InsetSpace ~
22954 Note
22955 \family default
22956  or the toolbar button 
22957 \begin_inset Graphics
22958         filename ../images/marginalnote-insert.xpm
22959         scale 85
22960         scaleBeforeRotation
22961
22962 \end_inset
22963
22964 .
22965  A grey 
22966 \family roman
22967 \series medium
22968 box with the
22969 \family default
22970 \series default
22971  red 
22972 \family roman
22973 \series medium
22974 label 
22975 \begin_inset Quotes eld
22976 \end_inset
22977
22978 margin
22979 \begin_inset Quotes erd
22980 \end_inset
22981
22982  appears where you can enter the text of the margin note.
22983 \end_layout
22984
22985 \begin_layout Standard
22986 At the side is an example margin note.
22987 \family roman
22988 \series medium
22989
22990 \begin_inset Marginal
22991 status open
22992
22993 \begin_layout Standard
22994 This is a margin note.
22995 \end_layout
22996
22997 \end_inset
22998
22999
23000 \end_layout
23001
23002 \begin_layout Standard
23003 Margin notes appear at the right side in single-sided documents.
23004  In double-sided documents they appear in the outer margin -- left on even
23005  pages, right on odd pages.
23006  The text of margin notes is aligned opposite to the outer margin -- right-align
23007 ed when the note appears in the left margin.
23008  The first line of the margin note is placed at the position of the text
23009  line where it is inserted in the document.
23010 \end_layout
23011
23012 \begin_layout Standard
23013 \begin_inset VSpace bigskip
23014 \end_inset
23015
23016 To place the margin note in the inner margin, add the command
23017 \end_layout
23018
23019 \begin_layout Standard
23020
23021 \series bold
23022
23023 \backslash
23024 reversemarginpar
23025 \end_layout
23026
23027 \begin_layout Standard
23028 in ERT before a margin note.
23029  The new placement is valid for all following margin notes.
23030 \begin_inset ERT
23031 status collapsed
23032
23033 \begin_layout Standard
23034
23035
23036 \backslash
23037 reversemarginpar 
23038 \end_layout
23039
23040 \end_inset
23041
23042
23043 \begin_inset Marginal
23044 status open
23045
23046 \begin_layout Standard
23047 This is a margin note in the inner margin.
23048 \end_layout
23049
23050 \end_inset
23051
23052
23053 \series bold
23054
23055 \newline
23056
23057 \series default
23058
23059 \begin_inset Note Greyedout
23060 status open
23061
23062 \begin_layout Standard
23063
23064 \series bold
23065 Note:
23066 \series default
23067  There is often not enough space in the inner margin so that the notes are
23068  not correctly displayed in the output.
23069 \end_layout
23070
23071 \end_inset
23072
23073
23074 \end_layout
23075
23076 \begin_layout Standard
23077 To return to the default placement insert the command
23078 \end_layout
23079
23080 \begin_layout Standard
23081
23082 \series bold
23083
23084 \backslash
23085 normalmarginpar
23086 \end_layout
23087
23088 \begin_layout Standard
23089 in ERT.
23090 \begin_inset ERT
23091 status collapsed
23092
23093 \begin_layout Standard
23094
23095
23096 \backslash
23097 normalmarginpar 
23098 \end_layout
23099
23100 \end_inset
23101
23102  
23103 \begin_inset Note Greyedout
23104 status open
23105
23106 \begin_layout Standard
23107
23108 \series bold
23109 Note:
23110 \series default
23111  The command is ignored when it is within a paragraph where also the command
23112  
23113 \series bold
23114
23115 \backslash
23116 reversemarginpar
23117 \series default
23118  is inserted.
23119 \end_layout
23120
23121 \end_inset
23122
23123
23124 \end_layout
23125
23126 \begin_layout Standard
23127 \begin_inset VSpace bigskip
23128 \end_inset
23129
23130
23131 \family roman
23132 \series medium
23133
23134 \begin_inset Marginal
23135 status open
23136
23137 \begin_layout Standard
23138 AVeryLongMarginParWord that isn't hyphenated.
23139 \end_layout
23140
23141 \end_inset
23142
23143
23144 \family default
23145 \series default
23146 Similar to the case described in section\InsetSpace ~
23147
23148 \begin_inset LatexCommand ref
23149 reference "sub:Multiple-Lines-in"
23150
23151 \end_inset
23152
23153 , long words cannot be hyphenated when they are the first word in a margin
23154  note.
23155  To avoid this, insert the command
23156 \end_layout
23157
23158 \begin_layout Standard
23159
23160 \series bold
23161
23162 \backslash
23163 hspace{0pt}
23164 \end_layout
23165
23166 \begin_layout Standard
23167 in ERT before the word
23168 \family roman
23169 \series medium
23170 .
23171 \begin_inset Marginal
23172 status open
23173
23174 \begin_layout Standard
23175 \begin_inset ERT
23176 status collapsed
23177
23178 \begin_layout Standard
23179
23180
23181 \backslash
23182 hspace{0pt}
23183 \end_layout
23184
23185 \end_inset
23186
23187 AVeryLongMarginParWord that is hyphenated.
23188 \end_layout
23189
23190 \end_inset
23191
23192
23193 \end_layout
23194
23195 \begin_layout Standard
23196 \begin_inset VSpace bigskip
23197 \end_inset
23198
23199
23200 \end_layout
23201
23202 \begin_layout Standard
23203 \begin_inset Note Greyedout
23204 status open
23205
23206 \begin_layout Standard
23207
23208 \series bold
23209 Note:
23210 \series default
23211  Margin notes can normally not be used inside tables, floats, and footnotes.
23212 \end_layout
23213
23214 \end_inset
23215
23216
23217 \end_layout
23218
23219 \begin_layout Standard
23220 \begin_inset VSpace bigskip
23221 \end_inset
23222
23223
23224 \end_layout
23225
23226 \begin_layout Standard
23227 \begin_inset ERT
23228 status collapsed
23229
23230 \begin_layout Standard
23231
23232
23233 \backslash
23234 ifmarginnote
23235 \end_layout
23236
23237 \end_inset
23238
23239
23240 \begin_inset Note Note
23241 status open
23242
23243 \begin_layout Standard
23244 The following section will only be displayed when you have the LaTeX-package
23245  
23246 \series bold
23247 marginnote
23248 \series default
23249  is installed.
23250 \end_layout
23251
23252 \end_inset
23253
23254
23255 \end_layout
23256
23257 \begin_layout Standard
23258 This restriction can be evaded by using the LaTeX-package 
23259 \series bold
23260 marginnote
23261 \series default
23262
23263 \begin_inset LatexCommand index
23264 name "LaTeX-packages ! marginnote"
23265
23266 \end_inset
23267
23268 .
23269  By adding these two lines to your document preamble, the command used by
23270  LyX for margin notes is redefined to use the command provided by the 
23271 \series bold
23272 marginnote
23273 \series default
23274 -package:
23275 \end_layout
23276
23277 \begin_layout Standard
23278
23279 \series bold
23280
23281 \backslash
23282 usepackage{marginnote}
23283 \newline
23284
23285 \backslash
23286 let
23287 \backslash
23288 marginpar
23289 \backslash
23290 marginnote
23291 \end_layout
23292
23293 \begin_layout Standard
23294 This is also used in this document because 
23295 \series bold
23296 marginnote
23297 \series default
23298  has another useful feature: You can set a vertical offset for the note.
23299  This is often needed when too many margin notes are too close together
23300  or for a better page layout.
23301  The offset is set in LyX as ERT directly behind the margin note in the
23302  scheme
23303 \end_layout
23304
23305 \begin_layout Standard
23306
23307 \series bold
23308 [offset]
23309 \end_layout
23310
23311 \begin_layout Standard
23312 where the offset is a length with one of the units listed in Table\InsetSpace ~
23313
23314 \begin_inset LatexCommand ref
23315 reference "tab:Units"
23316
23317 \end_inset
23318
23319 .
23320  A negative value shifts the note up, a positive value shifts it down.
23321  
23322 \family roman
23323 \series medium
23324 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23325 cm with
23326  the ERT-command 
23327 \begin_inset Quotes eld
23328 \end_inset
23329
23330
23331 \family default
23332 \series bold
23333 [-1.5cm]
23334 \family roman
23335 \series medium
23336
23337 \begin_inset Quotes erd
23338 \end_inset
23339
23340
23341 \begin_inset Marginal
23342 status open
23343
23344 \begin_layout Standard
23345 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23346 cm from its original position.
23347 \end_layout
23348
23349 \end_inset
23350
23351
23352 \family default
23353 \series default
23354
23355 \begin_inset ERT
23356 status collapsed
23357
23358 \begin_layout Standard
23359
23360 [-1.5cm]
23361 \end_layout
23362
23363 \end_inset
23364
23365
23366 \end_layout
23367
23368 \begin_layout Standard
23369 \begin_inset VSpace medskip
23370 \end_inset
23371
23372 With 
23373 \series bold
23374 marginnote
23375 \series default
23376  you can also change the alignment of the text in the margin note.
23377  For example the commands
23378 \end_layout
23379
23380 \begin_layout Standard
23381
23382 \series bold
23383
23384 \backslash
23385 renewcommand*{
23386 \backslash
23387 raggedleftmarginnote}{
23388 \backslash
23389 centering}
23390 \newline
23391
23392 \backslash
23393 renewcommand*{
23394 \backslash
23395 raggedrightmarginnote}{
23396 \backslash
23397 centering}
23398 \end_layout
23399
23400 \begin_layout Standard
23401 set the alignment to centered.
23402  
23403 \series bold
23404
23405 \backslash
23406 raggedleftmarginnote
23407 \series default
23408  denotes margin notes that appear at the left side.
23409 \family roman
23410 \series medium
23411
23412 \begin_inset ERT
23413 status collapsed
23414
23415 \begin_layout Standard
23416
23417
23418 \backslash
23419 renewcommand*{
23420 \backslash
23421 raggedleftmarginnote}{
23422 \backslash
23423 centering}
23424 \end_layout
23425
23426 \begin_layout Standard
23427
23428
23429 \backslash
23430 renewcommand*{
23431 \backslash
23432 raggedrightmarginnote}{
23433 \backslash
23434 centering}
23435 \end_layout
23436
23437 \end_inset
23438
23439
23440 \begin_inset Marginal
23441 status open
23442
23443 \begin_layout Standard
23444 The text of this margin note is centered.
23445 \end_layout
23446
23447 \end_inset
23448
23449
23450 \family default
23451 \series default
23452  The default is
23453 \end_layout
23454
23455 \begin_layout Standard
23456
23457 \series bold
23458
23459 \backslash
23460 renewcommand*{
23461 \backslash
23462 raggedleftmarginnote}{
23463 \backslash
23464 raggedleft}
23465 \newline
23466
23467 \backslash
23468 renewcommand*{
23469 \backslash
23470 raggedrightmarginnote}{
23471 \backslash
23472 raggedright}
23473 \family roman
23474 \series medium
23475
23476 \begin_inset ERT
23477 status collapsed
23478
23479 \begin_layout Standard
23480
23481
23482 \backslash
23483 renewcommand*{
23484 \backslash
23485 raggedleftmarginnote}{
23486 \backslash
23487 raggedleft}
23488 \end_layout
23489
23490 \begin_layout Standard
23491
23492
23493 \backslash
23494 renewcommand*{
23495 \backslash
23496 raggedrightmarginnote}{
23497 \backslash
23498 raggedright}
23499 \end_layout
23500
23501 \end_inset
23502
23503
23504 \end_layout
23505
23506 \begin_layout Standard
23507 \begin_inset VSpace medskip
23508 \end_inset
23509
23510 For the other features of 
23511 \series bold
23512 marginnote
23513 \series default
23514  we refer to its documentation 
23515 \begin_inset LatexCommand cite
23516 key "marginnote"
23517
23518 \end_inset
23519
23520 .
23521 \end_layout
23522
23523 \begin_layout Standard
23524 \begin_inset VSpace bigskip
23525 \end_inset
23526
23527 You can adjust the layout of margin notes by changing its definition.
23528  To create for example a header for all margin notes with the underlined,
23529  sans-serif, and bold header text 
23530 \begin_inset Quotes eld
23531 \end_inset
23532
23533
23534 \family sans
23535 \series bold
23536 \bar under
23537 Attention!
23538 \family default
23539 \series default
23540 \bar default
23541
23542 \begin_inset Quotes erd
23543 \end_inset
23544
23545 , add this to your document preamble:
23546 \end_layout
23547
23548 \begin_layout Standard
23549
23550 \series bold
23551
23552 \backslash
23553 let
23554 \backslash
23555 myMarginpar
23556 \backslash
23557 marginpar
23558 \newline
23559
23560 \backslash
23561 renewcommand{
23562 \backslash
23563 marginpar}[1]{
23564 \backslash
23565 myMarginpar{%
23566 \newline
23567
23568 \begin_inset ERT
23569 status collapsed
23570
23571 \begin_layout Standard
23572
23573
23574 \backslash
23575 hphantom{ }
23576 \end_layout
23577
23578 \end_inset
23579
23580
23581 \backslash
23582 hspace{0pt}
23583 \backslash
23584 textsf{
23585 \backslash
23586 textbf{
23587 \backslash
23588 underbar{Attention!}}}%
23589 \newline
23590
23591 \begin_inset ERT
23592 status collapsed
23593
23594 \begin_layout Standard
23595
23596
23597 \backslash
23598 hphantom{ }
23599 \end_layout
23600
23601 \end_inset
23602
23603
23604 \backslash
23605 vspace{1.5mm}
23606 \backslash
23607
23608 \backslash
23609 #1}}
23610 \end_layout
23611
23612 \begin_layout Standard
23613
23614 \family roman
23615 \series medium
23616 \begin_inset ERT
23617 status collapsed
23618
23619 \begin_layout Standard
23620
23621
23622 \backslash
23623 let
23624 \backslash
23625 myMarginpar
23626 \backslash
23627 marginpar
23628 \end_layout
23629
23630 \begin_layout Standard
23631
23632
23633 \backslash
23634 renewcommand{
23635 \backslash
23636 marginpar}[1]{
23637 \backslash
23638 myMarginpar{%
23639 \end_layout
23640
23641 \begin_layout Standard
23642
23643    
23644 \backslash
23645 textsf{
23646 \backslash
23647 textbf{
23648 \backslash
23649 underbar{Attention!}}}%
23650 \end_layout
23651
23652 \begin_layout Standard
23653
23654    
23655 \backslash
23656 vspace{1.5mm}
23657 \backslash
23658
23659 \backslash
23660 #1}}
23661 \end_layout
23662
23663 \end_inset
23664
23665
23666 \begin_inset Marginal
23667 status open
23668
23669 \begin_layout Standard
23670 This is a margin note with a defined heading.
23671 \end_layout
23672
23673 \end_inset
23674
23675
23676 \family default
23677 \series default
23678
23679 \begin_inset ERT
23680 status collapsed
23681
23682 \begin_layout Standard
23683
23684 [-1.5cm]
23685 \end_layout
23686
23687 \end_inset
23688
23689
23690 \family roman
23691 \series medium
23692
23693 \begin_inset ERT
23694 status collapsed
23695
23696 \begin_layout Standard
23697
23698
23699 \backslash
23700 renewcommand{
23701 \backslash
23702 marginpar}[1]{
23703 \backslash
23704 myMarginpar{#1}}
23705 \end_layout
23706
23707 \end_inset
23708
23709
23710 \family default
23711 \series default
23712
23713 \begin_inset Note Note
23714 status collapsed
23715
23716 \begin_layout Standard
23717 The margin note format is changed only for this example.
23718 \end_layout
23719
23720 \end_inset
23721
23722
23723 \end_layout
23724
23725 \begin_layout Standard
23726 \begin_inset ERT
23727 status collapsed
23728
23729 \begin_layout Standard
23730
23731
23732 \backslash
23733 else
23734 \end_layout
23735
23736 \end_inset
23737
23738
23739 \begin_inset Note Note
23740 status open
23741
23742 \begin_layout Standard
23743 The following will be displayed when the LaTeX-package 
23744 \series bold
23745 marginnote
23746 \series default
23747  is not installed:
23748 \end_layout
23749
23750 \end_inset
23751
23752
23753 \end_layout
23754
23755 \begin_layout Standard
23756 You need to install the LaTeX-package 
23757 \series bold
23758 marginnote
23759 \series default
23760  to see the following part of this section in the output.
23761 \end_layout
23762
23763 \begin_layout Standard
23764 \begin_inset ERT
23765 status collapsed
23766
23767 \begin_layout Standard
23768
23769
23770 \backslash
23771 fi
23772 \end_layout
23773
23774 \end_inset
23775
23776
23777 \end_layout
23778
23779 \begin_layout Chapter
23780 Boxes
23781 \end_layout
23782
23783 \begin_layout Section
23784 Introduction
23785 \begin_inset LatexCommand index
23786 name "Boxes ! Introduction"
23787
23788 \end_inset
23789
23790
23791 \end_layout
23792
23793 \begin_layout Standard
23794 Boxes are used to format a block of text.
23795  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23796
23797 \begin_inset LatexCommand ref
23798 reference "sec:Minipages"
23799
23800 \end_inset
23801
23802 , to frame texts, see section\InsetSpace ~
23803
23804 \begin_inset LatexCommand ref
23805 reference "sec:Framed-Boxes"
23806
23807 \end_inset
23808
23809 , to prevent words to be hyphenated, see section\InsetSpace ~
23810
23811 \begin_inset LatexCommand ref
23812 reference "sec:Prevent-Hyphenation"
23813
23814 \end_inset
23815
23816 , to align text, see section\InsetSpace ~
23817
23818 \begin_inset LatexCommand ref
23819 reference "sub:Vertical-Alignment"
23820
23821 \end_inset
23822
23823 , or to set the background color of texts, see section\InsetSpace ~
23824
23825 \begin_inset LatexCommand ref
23826 reference "sec:Colored-Boxes"
23827
23828 \end_inset
23829
23830 .
23831 \end_layout
23832
23833 \begin_layout Standard
23834 Boxes can be inserted with the menu 
23835 \family sans
23836 Insert\SpecialChar \menuseparator
23837 Box
23838 \family default
23839 .
23840  A grey box with the label 
23841 \family sans
23842 Box (Minipage)
23843 \family default
23844
23845 \begin_inset Graphics
23846         filename clipart/BoxInsetDefaultQt4.png
23847         scale 85
23848         scaleBeforeRotation
23849
23850 \end_inset
23851
23852 , will be inserted.
23853  The box type can be specified by right-clicking on the box.
23854  The appearing box dialog offers the 
23855 \family sans
23856 Inner\InsetSpace ~
23857 Box
23858 \family default
23859  types 
23860 \family sans
23861 Parbox
23862 \family default
23863  and 
23864 \family sans
23865 Minipage
23866 \family default
23867 .
23868  The type 
23869 \family sans
23870 Minipage
23871 \family default
23872  is the default for new boxes and is explained in section\InsetSpace ~
23873
23874 \begin_inset LatexCommand ref
23875 reference "sec:Minipages"
23876
23877 \end_inset
23878
23879 ; the type 
23880 \family sans
23881 Parbox
23882 \family default
23883  is described in section\InsetSpace ~
23884
23885 \begin_inset LatexCommand ref
23886 reference "sec:Parboxes"
23887
23888 \end_inset
23889
23890 .
23891 \end_layout
23892
23893 \begin_layout Standard
23894 Boxes aren't numbered and can therefore not be referenced like floats or
23895  footnotes.
23896 \end_layout
23897
23898 \begin_layout Standard
23899 \begin_inset Note Greyedout
23900 status open
23901
23902 \begin_layout Standard
23903
23904 \series bold
23905 Note:
23906 \series default
23907  Due to a bug in LyX you have to insert a protected space behind a box when
23908  you want to separate in a line the box from the following text with a space.
23909 \end_layout
23910
23911 \end_inset
23912
23913
23914 \end_layout
23915
23916 \begin_layout Standard
23917 \begin_inset Note Greyedout
23918 status open
23919
23920 \begin_layout Standard
23921
23922 \series bold
23923 Note:
23924 \series default
23925  Boxes must not be the item in an 
23926 \family sans
23927 Itemize
23928 \family default
23929  or 
23930 \family sans
23931 Description
23932 \family default
23933  environment.
23934 \end_layout
23935
23936 \end_inset
23937
23938
23939 \end_layout
23940
23941 \begin_layout Standard
23942 \begin_inset Note Greyedout
23943 status open
23944
23945 \begin_layout Standard
23946
23947 \series bold
23948 Note:
23949 \series default
23950  For an unknown reason you can only set the 
23951 \family sans
23952 Inner\InsetSpace ~
23953 Box
23954 \family default
23955  type to 
23956 \family sans
23957 None
23958 \family default
23959  when you use a framed box.
23960  Boxes without an 
23961 \family sans
23962 Inner\InsetSpace ~
23963 Box
23964 \family default
23965  type and without frames are explained in section\InsetSpace ~
23966
23967 \begin_inset LatexCommand ref
23968 reference "sec:Prevent-Hyphenation"
23969
23970 \end_inset
23971
23972 .
23973 \end_layout
23974
23975 \end_inset
23976
23977
23978 \end_layout
23979
23980 \begin_layout Section
23981 Box Dialog
23982 \begin_inset LatexCommand label
23983 name "sec:Box-Dialog"
23984
23985 \end_inset
23986
23987
23988 \begin_inset LatexCommand index
23989 name "Boxes ! Box Dialog"
23990
23991 \end_inset
23992
23993
23994 \begin_inset LatexCommand index
23995 name "Boxes ! Alignment"
23996
23997 \end_inset
23998
23999
24000 \end_layout
24001
24002 \begin_layout Standard
24003 In the box dialog you can adjust the box geometry in the fields 
24004 \family sans
24005 Width
24006 \family default
24007  and 
24008 \family sans
24009 Height
24010 \family default
24011 .
24012  The available units for the geometry are explained in Table\InsetSpace ~
24013
24014 \begin_inset LatexCommand ref
24015 reference "tab:Units"
24016
24017 \end_inset
24018
24019 .
24020  The field 
24021 \family sans
24022 Heigth
24023 \family default
24024  offers the following additional sizes:
24025 \end_layout
24026
24027 \begin_layout Description
24028 Depth This is the plain text 
24029 \begin_inset Quotes eld
24030 \end_inset
24031
24032 height
24033 \begin_inset Quotes erd
24034 \end_inset
24035
24036 .
24037  It ignores the total depth when there are multiple text lines in the box:
24038 \newline
24039
24040 \newline
24041
24042 \newline
24043
24044 \begin_inset Box Boxed
24045 position "c"
24046 hor_pos "c"
24047 has_inner_box 1
24048 inner_pos "c"
24049 use_parbox 0
24050 width "12col%"
24051 special "none"
24052 height "1in"
24053 height_special "depth"
24054 status collapsed
24055
24056 \begin_layout Standard
24057 \align center
24058 Box height set to 1\InsetSpace \thinspace{}
24059 Depth
24060 \end_layout
24061
24062 \end_inset
24063
24064
24065 \newline
24066
24067 \newline
24068
24069 \end_layout
24070
24071 \begin_layout Description
24072 Height This is the heigth of the text that is inside the box.
24073  A value of e.\InsetSpace \thinspace{}
24074 g.\InsetSpace ~
24075 2 for this size will set the box heigth to 2 times the text
24076  height: 
24077 \begin_inset Box Boxed
24078 position "c"
24079 hor_pos "c"
24080 has_inner_box 1
24081 inner_pos "c"
24082 use_parbox 0
24083 width "20col%"
24084 special "none"
24085 height "2in"
24086 height_special "height"
24087 status collapsed
24088
24089 \begin_layout Standard
24090 \align center
24091 Box height set to 2\InsetSpace \thinspace{}
24092 Height
24093 \end_layout
24094
24095 \end_inset
24096
24097
24098 \end_layout
24099
24100 \begin_layout Description
24101 Total\InsetSpace ~
24102 Height This is the Height\InsetSpace \thinspace{}
24103 +\InsetSpace \thinspace{}
24104 Depth: 
24105 \begin_inset Box Boxed
24106 position "c"
24107 hor_pos "c"
24108 has_inner_box 1
24109 inner_pos "c"
24110 use_parbox 0
24111 width "20col%"
24112 special "none"
24113 height "1in"
24114 height_special "totalheight"
24115 status collapsed
24116
24117 \begin_layout Standard
24118 \align center
24119 Box height set to 1\InsetSpace \thinspace{}
24120 Total\InsetSpace ~
24121 Height
24122 \end_layout
24123
24124 \end_inset
24125
24126
24127 \end_layout
24128
24129 \begin_layout Description
24130 Width This set the width of the box as heigth: 
24131 \begin_inset Box Boxed
24132 position "c"
24133 hor_pos "c"
24134 has_inner_box 1
24135 inner_pos "c"
24136 use_parbox 0
24137 width "12col%"
24138 special "none"
24139 height "1in"
24140 height_special "width"
24141 status collapsed
24142
24143 \begin_layout Standard
24144 \align center
24145 Box height set to 1\InsetSpace \thinspace{}
24146 Width
24147 \end_layout
24148
24149 \end_inset
24150
24151
24152 \end_layout
24153
24154 \begin_layout Standard
24155 \begin_inset VSpace bigskip
24156 \end_inset
24157
24158 When you have chosen an 
24159 \family sans
24160 Inner\InsetSpace ~
24161 Box
24162 \family default
24163 , the vertical box alignment can be:
24164 \end_layout
24165
24166 \begin_layout Description
24167 Top This is an example text line.
24168  
24169 \begin_inset Box Boxed
24170 position "t"
24171 hor_pos "c"
24172 has_inner_box 1
24173 inner_pos "c"
24174 use_parbox 0
24175 width "12col%"
24176 special "none"
24177 height "1in"
24178 height_special "totalheight"
24179 status collapsed
24180
24181 \begin_layout Standard
24182 \align center
24183 This box is top-aligned.
24184 \end_layout
24185
24186 \end_inset
24187
24188 \InsetSpace ~
24189 This is an example text line.
24190 \end_layout
24191
24192 \begin_layout Description
24193 Middle This is an example text line.
24194  
24195 \begin_inset Box Boxed
24196 position "c"
24197 hor_pos "c"
24198 has_inner_box 1
24199 inner_pos "c"
24200 use_parbox 0
24201 width "12col%"
24202 special "none"
24203 height "1in"
24204 height_special "totalheight"
24205 status collapsed
24206
24207 \begin_layout Standard
24208 \align center
24209 This box is middle-aligned.
24210 \end_layout
24211
24212 \end_inset
24213
24214 \InsetSpace ~
24215 This is an example text line.
24216 \end_layout
24217
24218 \begin_layout Description
24219 Bottom This is an example text line.
24220  
24221 \begin_inset Box Boxed
24222 position "b"
24223 hor_pos "c"
24224 has_inner_box 1
24225 inner_pos "c"
24226 use_parbox 0
24227 width "12col%"
24228 special "none"
24229 height "1in"
24230 height_special "totalheight"
24231 status collapsed
24232
24233 \begin_layout Standard
24234 \align center
24235 This box is bottom-aligned.
24236 \end_layout
24237
24238 \end_inset
24239
24240 \InsetSpace ~
24241 This is an example text line.
24242 \end_layout
24243
24244 \begin_layout Standard
24245 The horizontal box alignment can be set via LyX's paragraph dialog when
24246  you set the box into its own paragraph.
24247 \end_layout
24248
24249 \begin_layout Standard
24250 \begin_inset VSpace bigskip
24251 \end_inset
24252
24253 When you have chosen an 
24254 \family sans
24255 Inner\InsetSpace ~
24256 Box
24257 \family default
24258 , the box content can be vertical aligned to:
24259 \end_layout
24260
24261 \begin_layout Description
24262 top This is an example text line.
24263  
24264 \begin_inset Box Boxed
24265 position "c"
24266 hor_pos "c"
24267 has_inner_box 1
24268 inner_pos "t"
24269 use_parbox 0
24270 width "12col%"
24271 special "none"
24272 height "1.5in"
24273 height_special "totalheight"
24274 status collapsed
24275
24276 \begin_layout Standard
24277 \align center
24278 This box text is top-aligned.
24279 \end_layout
24280
24281 \end_inset
24282
24283 \InsetSpace ~
24284 This is an example text line.
24285 \end_layout
24286
24287 \begin_layout Description
24288 middle This is an example text line.
24289  
24290 \begin_inset Box Boxed
24291 position "c"
24292 hor_pos "c"
24293 has_inner_box 1
24294 inner_pos "c"
24295 use_parbox 0
24296 width "12col%"
24297 special "none"
24298 height "1.5in"
24299 height_special "totalheight"
24300 status collapsed
24301
24302 \begin_layout Standard
24303 \align center
24304 This box text is middle-aligned.
24305 \end_layout
24306
24307 \end_inset
24308
24309 \InsetSpace ~
24310 This is an example text line.
24311 \end_layout
24312
24313 \begin_layout Description
24314 bottom This is an example text line.
24315  
24316 \begin_inset Box Boxed
24317 position "c"
24318 hor_pos "c"
24319 has_inner_box 1
24320 inner_pos "b"
24321 use_parbox 0
24322 width "12col%"
24323 special "none"
24324 height "1.5in"
24325 height_special "totalheight"
24326 status collapsed
24327
24328 \begin_layout Standard
24329 \align center
24330 This box text is bottom-aligned.
24331 \end_layout
24332
24333 \end_inset
24334
24335 \InsetSpace ~
24336 This is an example text line.
24337 \end_layout
24338
24339 \begin_layout Description
24340 stretch This is an example text line.
24341  
24342 \begin_inset Box Boxed
24343 position "c"
24344 hor_pos "c"
24345 has_inner_box 1
24346 inner_pos "s"
24347 use_parbox 0
24348 width "12col%"
24349 special "none"
24350 height "1.5in"
24351 height_special "totalheight"
24352 status collapsed
24353
24354 \begin_layout Standard
24355 \align center
24356 This box
24357 \end_layout
24358
24359 \begin_layout Standard
24360 \align center
24361 text is
24362 \end_layout
24363
24364 \begin_layout Standard
24365 \align center
24366 stretched.
24367 \end_layout
24368
24369 \end_inset
24370
24371 \InsetSpace ~
24372 This is an example text line.
24373 \end_layout
24374
24375 \begin_layout Standard
24376 To stretch the box content, it must consist of more than one paragraph.
24377  In the example above every text line is in an own paragraph.
24378 \end_layout
24379
24380 \begin_layout Standard
24381 \begin_inset VSpace bigskip
24382 \end_inset
24383
24384 To align the box content horizontally you can use LyX's paragraph dialog
24385  when you have chosen an 
24386 \family sans
24387 Inner\InsetSpace ~
24388 Box
24389 \family default
24390 .
24391 \end_layout
24392
24393 \begin_layout Standard
24394 \align center
24395 \begin_inset Box Boxed
24396 position "c"
24397 hor_pos "c"
24398 has_inner_box 1
24399 inner_pos "s"
24400 use_parbox 0
24401 width "15col%"
24402 special "none"
24403 height "1.25in"
24404 height_special "totalheight"
24405 status collapsed
24406
24407 \begin_layout Standard
24408 \align left
24409 This box
24410 \end_layout
24411
24412 \begin_layout Standard
24413 \align center
24414 text is
24415 \end_layout
24416
24417 \begin_layout Standard
24418 \align right
24419 stretched.
24420 \end_layout
24421
24422 \end_inset
24423
24424
24425 \end_layout
24426
24427 \begin_layout Standard
24428 If you haven't set an 
24429 \family sans
24430 Inner\InsetSpace ~
24431 Box
24432 \family default
24433 , you can align the box content horizontally in the box dialog.
24434 \end_layout
24435
24436 \begin_layout Standard
24437 \align center
24438 \begin_inset Box Boxed
24439 position "c"
24440 hor_pos "s"
24441 has_inner_box 0
24442 inner_pos "s"
24443 use_parbox 0
24444 width "90col%"
24445 special "none"
24446 height "1.25in"
24447 height_special "totalheight"
24448 status collapsed
24449
24450 \begin_layout Standard
24451 \align left
24452 This box text is horizontally stretched.
24453 \end_layout
24454
24455 \end_inset
24456
24457
24458 \end_layout
24459
24460 \begin_layout Section
24461 Framed Boxes
24462 \begin_inset LatexCommand label
24463 name "sec:Framed-Boxes"
24464
24465 \end_inset
24466
24467
24468 \begin_inset LatexCommand index
24469 name "Boxes ! Frames"
24470
24471 \end_inset
24472
24473
24474 \end_layout
24475
24476 \begin_layout Standard
24477 The frame style of the box can be specified in the box-dialog in the drop-down
24478  list 
24479 \family sans
24480 Type
24481 \family default
24482 .
24483  The following frame types are possible:
24484 \end_layout
24485
24486 \begin_layout Description
24487 Rectangular\InsetSpace ~
24488 box This draws a rectangle frame around the box.
24489  The frame line thickness has the size of 
24490 \series bold
24491
24492 \backslash
24493 fboxrule
24494 \series default
24495 .
24496  
24497 \begin_inset Box Boxed
24498 position "c"
24499 hor_pos "c"
24500 has_inner_box 1
24501 inner_pos "c"
24502 use_parbox 0
24503 width "20col%"
24504 special "none"
24505 height "1in"
24506 height_special "totalheight"
24507 status collapsed
24508
24509 \begin_layout Standard
24510 \align center
24511 Rectangular box
24512 \end_layout
24513
24514 \end_inset
24515
24516
24517 \end_layout
24518
24519 \begin_layout Description
24520 Oval\InsetSpace ~
24521 box,\InsetSpace ~
24522 thin This draws an oval frame around the box.
24523  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24524 pt.
24525  
24526 \begin_inset Box ovalbox
24527 position "c"
24528 hor_pos "c"
24529 has_inner_box 1
24530 inner_pos "c"
24531 use_parbox 0
24532 width "20col%"
24533 special "none"
24534 height "1in"
24535 height_special "totalheight"
24536 status collapsed
24537
24538 \begin_layout Standard
24539 \align center
24540 Oval box, thin
24541 \end_layout
24542
24543 \end_inset
24544
24545
24546 \end_layout
24547
24548 \begin_layout Description
24549 Oval\InsetSpace ~
24550 box,\InsetSpace ~
24551 thick This draws an oval frame around the box.
24552  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24553 pt.
24554  
24555 \begin_inset Box Ovalbox
24556 position "c"
24557 hor_pos "c"
24558 has_inner_box 1
24559 inner_pos "c"
24560 use_parbox 0
24561 width "20col%"
24562 special "none"
24563 height "1in"
24564 height_special "totalheight"
24565 status collapsed
24566
24567 \begin_layout Standard
24568 \align center
24569 Oval box, thick
24570 \end_layout
24571
24572 \end_inset
24573
24574
24575 \end_layout
24576
24577 \begin_layout Description
24578 Shadow\InsetSpace ~
24579 box This draws a rectangle frame with a shadow around the box.
24580  The frame line thickness has the size of 
24581 \series bold
24582
24583 \backslash
24584 fboxrule
24585 \series default
24586 , the shadow has a width of 4\InsetSpace \thinspace{}
24587 pt.
24588  
24589 \begin_inset Box Shadowbox
24590 position "c"
24591 hor_pos "c"
24592 has_inner_box 1
24593 inner_pos "c"
24594 use_parbox 0
24595 width "20col%"
24596 special "none"
24597 height "1in"
24598 height_special "totalheight"
24599 status collapsed
24600
24601 \begin_layout Standard
24602 \align center
24603 Shadow box
24604 \end_layout
24605
24606 \end_inset
24607
24608
24609 \end_layout
24610
24611 \begin_layout Description
24612 Double\InsetSpace ~
24613 box This draws a double-line rectangle frame around the box.
24614  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24615
24616 \series bold
24617
24618 \backslash
24619 fboxrule
24620 \series default
24621 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24622
24623 \series bold
24624
24625 \backslash
24626 fboxrule
24627 \series default
24628 .
24629  The distance between the lines is 1.5\InsetSpace \thinspace{}
24630
24631 \series bold
24632
24633 \backslash
24634 fboxrule
24635 \series default
24636 \InsetSpace \thinspace{}
24637 +\InsetSpace \thinspace{}
24638 0.5\InsetSpace \thinspace{}
24639 pt.
24640  
24641 \begin_inset Box Doublebox
24642 position "c"
24643 hor_pos "c"
24644 has_inner_box 1
24645 inner_pos "c"
24646 use_parbox 0
24647 width "20col%"
24648 special "none"
24649 height "1in"
24650 height_special "totalheight"
24651 status collapsed
24652
24653 \begin_layout Standard
24654 \align center
24655 Double box
24656 \end_layout
24657
24658 \end_inset
24659
24660
24661 \end_layout
24662
24663 \begin_layout Standard
24664 \begin_inset VSpace bigskip
24665 \end_inset
24666
24667 LyX's box label will change to the used frame style when you set a frame.
24668  To be able to use the different frame styles, the LaTeX-package 
24669 \series bold
24670 fancybox
24671 \series default
24672
24673 \begin_inset LatexCommand index
24674 name "LaTeX-packages ! fancybox"
24675
24676 \end_inset
24677
24678  must be installed.
24679 \end_layout
24680
24681 \begin_layout Standard
24682 \begin_inset VSpace bigskip
24683 \end_inset
24684
24685 The default value for the size 
24686 \series bold
24687
24688 \backslash
24689 fboxrule
24690 \series default
24691  is 0.4\InsetSpace \thinspace{}
24692 pt.
24693  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24694 g.\InsetSpace ~
24695 2\InsetSpace \thinspace{}
24696 pt:
24697 \end_layout
24698
24699 \begin_layout Standard
24700
24701 \series bold
24702
24703 \backslash
24704 setlength{
24705 \backslash
24706 fboxrule}{2pt}
24707 \end_layout
24708
24709 \begin_layout Standard
24710 \begin_inset ERT
24711 status collapsed
24712
24713 \begin_layout Standard
24714
24715
24716 \backslash
24717 setlength{
24718 \backslash
24719 fboxrule}{2pt}
24720 \end_layout
24721
24722 \end_inset
24723
24724
24725 \begin_inset Box Boxed
24726 position "c"
24727 hor_pos "c"
24728 has_inner_box 1
24729 inner_pos "c"
24730 use_parbox 0
24731 width "25col%"
24732 special "none"
24733 height "1in"
24734 height_special "totalheight"
24735 status collapsed
24736
24737 \begin_layout Standard
24738 \align center
24739 Rectangular box with 
24740 \series bold
24741
24742 \backslash
24743 fboxrule
24744 \series default
24745 \InsetSpace \thinspace{}
24746 =\InsetSpace \thinspace{}
24747 2\InsetSpace \thinspace{}
24748 pt
24749 \end_layout
24750
24751 \end_inset
24752
24753
24754 \begin_inset ERT
24755 status collapsed
24756
24757 \begin_layout Standard
24758
24759
24760 \backslash
24761 setlength{
24762 \backslash
24763 fboxrule}{0.4pt}
24764 \end_layout
24765
24766 \end_inset
24767
24768
24769 \end_layout
24770
24771 \begin_layout Standard
24772 \begin_inset VSpace bigskip
24773 \end_inset
24774
24775 The space between the frame and the box content is for all frame styles
24776  by default 3\InsetSpace \thinspace{}
24777 pt.
24778  You can change it by setting the length 
24779 \series bold
24780
24781 \backslash
24782 fboxsep
24783 \series default
24784  to another value.
24785  For example the command
24786 \end_layout
24787
24788 \begin_layout Standard
24789
24790 \series bold
24791
24792 \backslash
24793 setlength{
24794 \backslash
24795 fboxsep}{10pt}
24796 \end_layout
24797
24798 \begin_layout Standard
24799 sets the value to 10\InsetSpace \thinspace{}
24800 pt, like for the following box:
24801 \end_layout
24802
24803 \begin_layout Standard
24804 \begin_inset ERT
24805 status collapsed
24806
24807 \begin_layout Standard
24808
24809
24810 \backslash
24811 setlength{
24812 \backslash
24813 fboxsep}{10pt}
24814 \end_layout
24815
24816 \end_inset
24817
24818
24819 \begin_inset Box Boxed
24820 position "c"
24821 hor_pos "c"
24822 has_inner_box 1
24823 inner_pos "c"
24824 use_parbox 0
24825 width "25col%"
24826 special "none"
24827 height "1in"
24828 height_special "totalheight"
24829 status collapsed
24830
24831 \begin_layout Standard
24832 \align center
24833 Rectangular box with 
24834 \series bold
24835
24836 \backslash
24837 fboxsep
24838 \series default
24839 \InsetSpace \thinspace{}
24840 =\InsetSpace \thinspace{}
24841 10\InsetSpace \thinspace{}
24842 pt
24843 \end_layout
24844
24845 \end_inset
24846
24847
24848 \begin_inset ERT
24849 status collapsed
24850
24851 \begin_layout Standard
24852
24853
24854 \backslash
24855 setlength{
24856 \backslash
24857 fboxsep}{3pt}
24858 \end_layout
24859
24860 \end_inset
24861
24862
24863 \end_layout
24864
24865 \begin_layout Standard
24866 \begin_inset VSpace bigskip
24867 \end_inset
24868
24869 The diameter of the round corners of the oval boxes can be set with the
24870  command 
24871 \series bold
24872
24873 \backslash
24874 cornersize
24875 \series default
24876 .
24877  The command
24878 \end_layout
24879
24880 \begin_layout Standard
24881
24882 \series bold
24883
24884 \backslash
24885 cornersize*{1cm}
24886 \end_layout
24887
24888 \begin_layout Standard
24889 sets the diameter to 1\InsetSpace \thinspace{}
24890 cm.
24891  The command
24892 \end_layout
24893
24894 \begin_layout Standard
24895
24896 \series bold
24897
24898 \backslash
24899 cornersize{num}
24900 \end_layout
24901
24902 \begin_layout Standard
24903 sets the diameter to 
24904 \family sans
24905 num\InsetSpace \thinspace{}
24906 ×\InsetSpace \thinspace{}
24907 minimum(width and heigth of box)
24908 \family default
24909 .
24910  The default is 
24911 \series bold
24912
24913 \backslash
24914 cornersize{0.5}
24915 \series default
24916 .
24917 \end_layout
24918
24919 \begin_layout Standard
24920 \begin_inset ERT
24921 status collapsed
24922
24923 \begin_layout Standard
24924
24925
24926 \backslash
24927 cornersize*{1.5cm}
24928 \end_layout
24929
24930 \end_inset
24931
24932
24933 \begin_inset Box Ovalbox
24934 position "c"
24935 hor_pos "c"
24936 has_inner_box 1
24937 inner_pos "c"
24938 use_parbox 0
24939 width "25col%"
24940 special "none"
24941 height "1in"
24942 height_special "totalheight"
24943 status collapsed
24944
24945 \begin_layout Standard
24946 \align center
24947 Oval box with 
24948 \series bold
24949
24950 \backslash
24951 cornersize
24952 \series default
24953 \InsetSpace \thinspace{}
24954 =\InsetSpace \thinspace{}
24955 1.5\InsetSpace \thinspace{}
24956 cm
24957 \end_layout
24958
24959 \end_inset
24960
24961
24962 \begin_inset ERT
24963 status collapsed
24964
24965 \begin_layout Standard
24966
24967
24968 \backslash
24969 cornersize{0.5}
24970 \end_layout
24971
24972 \end_inset
24973
24974
24975 \end_layout
24976
24977 \begin_layout Standard
24978 \begin_inset VSpace bigskip
24979 \end_inset
24980
24981 The size of the shadow can be adjusted by changing the length 
24982 \series bold
24983
24984 \backslash
24985 shadowsize
24986 \series default
24987 .
24988  It it set to 2\InsetSpace \thinspace{}
24989 pt for the following box by this command:
24990 \end_layout
24991
24992 \begin_layout Standard
24993
24994 \series bold
24995
24996 \backslash
24997 setlength{
24998 \backslash
24999 shadowsize}{2pt}
25000 \end_layout
25001
25002 \begin_layout Standard
25003 \begin_inset ERT
25004 status collapsed
25005
25006 \begin_layout Standard
25007
25008
25009 \backslash
25010 setlength{
25011 \backslash
25012 shadowsize}{2pt}
25013 \end_layout
25014
25015 \end_inset
25016
25017
25018 \begin_inset Box Shadowbox
25019 position "c"
25020 hor_pos "c"
25021 has_inner_box 1
25022 inner_pos "c"
25023 use_parbox 0
25024 width "25col%"
25025 special "none"
25026 height "1in"
25027 height_special "totalheight"
25028 status collapsed
25029
25030 \begin_layout Standard
25031 \align center
25032 Shadow box with 
25033 \series bold
25034
25035 \backslash
25036 shadowsize
25037 \series default
25038 \InsetSpace \thinspace{}
25039 =\InsetSpace \thinspace{}
25040 2\InsetSpace \thinspace{}
25041 pt
25042 \end_layout
25043
25044 \end_inset
25045
25046
25047 \begin_inset ERT
25048 status collapsed
25049
25050 \begin_layout Standard
25051
25052
25053 \backslash
25054 setlength{
25055 \backslash
25056 shadowsize}{4pt}
25057 \end_layout
25058
25059 \end_inset
25060
25061
25062 \end_layout
25063
25064 \begin_layout Standard
25065 \begin_inset VSpace bigskip
25066 \end_inset
25067
25068 Changed lengths and widths are valid for all boxes following the commands
25069  that change them.
25070 \end_layout
25071
25072 \begin_layout Section
25073 Minipages
25074 \begin_inset LatexCommand label
25075 name "sec:Minipages"
25076
25077 \end_inset
25078
25079
25080 \begin_inset LatexCommand index
25081 name "Boxes ! Minipages"
25082
25083 \end_inset
25084
25085
25086 \end_layout
25087
25088 \begin_layout Standard
25089 Minipages are treated by LaTeX as pages within pages and can therefore for
25090  example have their own footnotes.
25091 \end_layout
25092
25093 \begin_layout Standard
25094 Minipages are useful when you write documents with different languages.
25095 \end_layout
25096
25097 \begin_layout Standard
25098 Below are two example minipages side by side.
25099  Their width is set to 45\InsetSpace \thinspace{}
25100 col% and they are separated by a horizontal fill,
25101  that was inserted via the menu 
25102 \family sans
25103 Insert\SpecialChar \menuseparator
25104 Special\InsetSpace ~
25105 Formatting\SpecialChar \menuseparator
25106 Horizontal\InsetSpace ~
25107 Fill
25108 \family default
25109 .
25110 \end_layout
25111
25112 \begin_layout Standard
25113 \begin_inset Box Frameless
25114 position "t"
25115 hor_pos "c"
25116 has_inner_box 1
25117 inner_pos "c"
25118 use_parbox 0
25119 width "45col%"
25120 special "none"
25121 height "1in"
25122 height_special "totalheight"
25123 status open
25124
25125 \begin_layout Standard
25126
25127 \lang german
25128 Dies ist ein deutscher Text.
25129  Dies ist ein deutscher Text.
25130  Dies ist ein deutscher Text.
25131  Dies ist ein deutscher Text.
25132  Dies ist ein deutscher Text.
25133  Dies ist ein deutscher Text.
25134  Dies ist ein deutscher Text.
25135  Dies ist ein deutscher Text.
25136  Dies ist ein deutscher Text.
25137  Dies ist ein deutscher Text.
25138  Dies ist ein deutscher Text.
25139  Dies ist ein deutscher Text.
25140  Dies ist ein deutscher Text
25141 \begin_inset Foot
25142 status collapsed
25143
25144 \begin_layout Standard
25145
25146 \lang german
25147 Dies ist eine deutsche Fußnote.
25148 \end_layout
25149
25150 \end_inset
25151
25152 .
25153  Dies ist ein deutscher Text.
25154  Dies ist ein deutscher Text.
25155 \end_layout
25156
25157 \end_inset
25158
25159
25160 \hfill
25161
25162 \begin_inset Box Frameless
25163 position "t"
25164 hor_pos "c"
25165 has_inner_box 1
25166 inner_pos "c"
25167 use_parbox 0
25168 width "45col%"
25169 special "none"
25170 height "1in"
25171 height_special "totalheight"
25172 status open
25173
25174 \begin_layout Standard
25175 This is an English Text.
25176  This is an English Text.
25177  This is an English Text.
25178  This is an English Text.
25179  This is an English Text.
25180  This is an English Text.
25181  This is an English Text.
25182  This is an English Text.
25183  This is an English Text.
25184  This is an English Text.
25185  This is an English Text.
25186  This is an English Text.
25187  This is an English Text.
25188  This is an English Text.
25189  This is an English Text.
25190  This is an English Text.
25191 \begin_inset Foot
25192 status collapsed
25193
25194 \begin_layout Standard
25195 This is an English footnote.
25196 \end_layout
25197
25198 \end_inset
25199
25200  This is an English Text.
25201  
25202 \end_layout
25203
25204 \end_inset
25205
25206
25207 \end_layout
25208
25209 \begin_layout Standard
25210 \begin_inset VSpace bigskip
25211 \end_inset
25212
25213 Another application for minipages are footnotes within tables.
25214  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25215  bottom of the current page.
25216  But when you put the table with the footnote to a minipage, the footnote
25217  will appear at its bottom, numbered with Latin letters.
25218  The footnote number is reset to 1 in every minipage but not outside the
25219  minipages.
25220 \end_layout
25221
25222 \begin_layout Standard
25223 The footnote of this table doesn't appear: 
25224 \begin_inset Tabular
25225 <lyxtabular version="3" rows="3" columns="4">
25226 <features>
25227 <column alignment="center" valignment="top" leftline="true" width="0pt">
25228 <column alignment="center" valignment="top" leftline="true" width="0pt">
25229 <column alignment="center" valignment="top" leftline="true" width="0pt">
25230 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25231 <row topline="true">
25232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25233 \begin_inset Text
25234
25235 \begin_layout Standard
25236 1
25237 \end_layout
25238
25239 \end_inset
25240 </cell>
25241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25242 \begin_inset Text
25243
25244 \begin_layout Standard
25245 2
25246 \end_layout
25247
25248 \end_inset
25249 </cell>
25250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25251 \begin_inset Text
25252
25253 \begin_layout Standard
25254 3
25255 \begin_inset Foot
25256 status collapsed
25257
25258 \begin_layout Standard
25259 This is a footnote within a table.
25260 \end_layout
25261
25262 \end_inset
25263
25264
25265 \end_layout
25266
25267 \end_inset
25268 </cell>
25269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25270 \begin_inset Text
25271
25272 \begin_layout Standard
25273 4
25274 \end_layout
25275
25276 \end_inset
25277 </cell>
25278 </row>
25279 <row topline="true">
25280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25281 \begin_inset Text
25282
25283 \begin_layout Standard
25284 a
25285 \end_layout
25286
25287 \end_inset
25288 </cell>
25289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25290 \begin_inset Text
25291
25292 \begin_layout Standard
25293 b
25294 \end_layout
25295
25296 \end_inset
25297 </cell>
25298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25299 \begin_inset Text
25300
25301 \begin_layout Standard
25302 c
25303 \end_layout
25304
25305 \end_inset
25306 </cell>
25307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25308 \begin_inset Text
25309
25310 \begin_layout Standard
25311 d
25312 \end_layout
25313
25314 \end_inset
25315 </cell>
25316 </row>
25317 <row topline="true" bottomline="true">
25318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25319 \begin_inset Text
25320
25321 \begin_layout Standard
25322 e
25323 \end_layout
25324
25325 \end_inset
25326 </cell>
25327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25328 \begin_inset Text
25329
25330 \begin_layout Standard
25331 f
25332 \end_layout
25333
25334 \end_inset
25335 </cell>
25336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25337 \begin_inset Text
25338
25339 \begin_layout Standard
25340 g
25341 \end_layout
25342
25343 \end_inset
25344 </cell>
25345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25346 \begin_inset Text
25347
25348 \begin_layout Standard
25349 h
25350 \end_layout
25351
25352 \end_inset
25353 </cell>
25354 </row>
25355 </lyxtabular>
25356
25357 \end_inset
25358
25359
25360 \end_layout
25361
25362 \begin_layout Standard
25363 \align center
25364 \begin_inset Box Frameless
25365 position "t"
25366 hor_pos "c"
25367 has_inner_box 1
25368 inner_pos "c"
25369 use_parbox 0
25370 width "30col%"
25371 special "none"
25372 height "1in"
25373 height_special "totalheight"
25374 status open
25375
25376 \begin_layout Standard
25377 \align center
25378 \begin_inset Tabular
25379 <lyxtabular version="3" rows="3" columns="4">
25380 <features>
25381 <column alignment="center" valignment="top" leftline="true" width="0pt">
25382 <column alignment="center" valignment="top" leftline="true" width="0pt">
25383 <column alignment="center" valignment="top" leftline="true" width="0pt">
25384 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25385 <row topline="true">
25386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25387 \begin_inset Text
25388
25389 \begin_layout Standard
25390 1
25391 \end_layout
25392
25393 \end_inset
25394 </cell>
25395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25396 \begin_inset Text
25397
25398 \begin_layout Standard
25399 2
25400 \end_layout
25401
25402 \end_inset
25403 </cell>
25404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25405 \begin_inset Text
25406
25407 \begin_layout Standard
25408 3
25409 \begin_inset Foot
25410 status collapsed
25411
25412 \begin_layout Standard
25413 This is a footnote within a table.
25414 \end_layout
25415
25416 \end_inset
25417
25418
25419 \end_layout
25420
25421 \end_inset
25422 </cell>
25423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25424 \begin_inset Text
25425
25426 \begin_layout Standard
25427 4
25428 \end_layout
25429
25430 \end_inset
25431 </cell>
25432 </row>
25433 <row topline="true">
25434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25435 \begin_inset Text
25436
25437 \begin_layout Standard
25438 a
25439 \end_layout
25440
25441 \end_inset
25442 </cell>
25443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25444 \begin_inset Text
25445
25446 \begin_layout Standard
25447 b
25448 \end_layout
25449
25450 \end_inset
25451 </cell>
25452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25453 \begin_inset Text
25454
25455 \begin_layout Standard
25456 c
25457 \end_layout
25458
25459 \end_inset
25460 </cell>
25461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25462 \begin_inset Text
25463
25464 \begin_layout Standard
25465 d
25466 \end_layout
25467
25468 \end_inset
25469 </cell>
25470 </row>
25471 <row topline="true" bottomline="true">
25472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25473 \begin_inset Text
25474
25475 \begin_layout Standard
25476 e
25477 \end_layout
25478
25479 \end_inset
25480 </cell>
25481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25482 \begin_inset Text
25483
25484 \begin_layout Standard
25485 f
25486 \end_layout
25487
25488 \end_inset
25489 </cell>
25490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25491 \begin_inset Text
25492
25493 \begin_layout Standard
25494 g
25495 \end_layout
25496
25497 \end_inset
25498 </cell>
25499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25500 \begin_inset Text
25501
25502 \begin_layout Standard
25503 h
25504 \end_layout
25505
25506 \end_inset
25507 </cell>
25508 </row>
25509 </lyxtabular>
25510
25511 \end_inset
25512
25513
25514 \end_layout
25515
25516 \end_inset
25517
25518
25519 \end_layout
25520
25521 \begin_layout Standard
25522 \begin_inset VSpace bigskip
25523 \end_inset
25524
25525 The document-wide paragraph settings are ignored within minipages.
25526  That means that there will be no space between paragraphs in minipages
25527  although you set it to e.\InsetSpace \thinspace{}
25528 g.\InsetSpace ~
25529
25530 \family sans
25531 MedSkip
25532 \family default
25533  in the document settings.
25534 \end_layout
25535
25536 \begin_layout Standard
25537 Minipages can also be used to set a background color for text parts, see
25538  section\InsetSpace ~
25539
25540 \begin_inset LatexCommand ref
25541 reference "sub:Color-for-Paragraphs"
25542
25543 \end_inset
25544
25545 .
25546 \end_layout
25547
25548 \begin_layout Standard
25549 \begin_inset Note Greyedout
25550 status open
25551
25552 \begin_layout Standard
25553
25554 \series bold
25555 Note:
25556 \series default
25557  You cannot have floats or margin notes inside minipages but minipages can
25558  be used inside tables, floats, and other boxes.
25559 \end_layout
25560
25561 \end_inset
25562
25563
25564 \end_layout
25565
25566 \begin_layout Section
25567 Parboxes
25568 \begin_inset LatexCommand label
25569 name "sec:Parboxes"
25570
25571 \end_inset
25572
25573
25574 \begin_inset LatexCommand index
25575 name "Boxes ! Parboxes"
25576
25577 \end_inset
25578
25579
25580 \end_layout
25581
25582 \begin_layout Standard
25583 Parboxes are very similar to minipages with the difference that they cannot
25584  have footnotes.
25585  The main difference to minipages is that minipages are in contrary to parboxes
25586  no real boxes but LaTeX-environments.
25587 \end_layout
25588
25589 \begin_layout Standard
25590 \align center
25591 \begin_inset Box Frameless
25592 position "t"
25593 hor_pos "c"
25594 has_inner_box 1
25595 inner_pos "t"
25596 use_parbox 1
25597 width "33col%"
25598 special "none"
25599 height "1in"
25600 height_special "totalheight"
25601 status collapsed
25602
25603 \begin_layout Standard
25604 This a text within a parbox.
25605  This a text within a parbox.
25606 \end_layout
25607
25608 \begin_layout Standard
25609 This footnote won't appear:
25610 \begin_inset Foot
25611 status collapsed
25612
25613 \begin_layout Standard
25614 This footnote is inside a parbox and will therefore not appear.
25615 \end_layout
25616
25617 \end_inset
25618
25619
25620 \end_layout
25621
25622 \end_inset
25623
25624
25625 \end_layout
25626
25627 \begin_layout Section
25628 Boxes for Words and Characters
25629 \begin_inset LatexCommand index
25630 name "Boxes ! for Characters"
25631
25632 \end_inset
25633
25634
25635 \end_layout
25636
25637 \begin_layout Subsection
25638 Prevent Hyphenation
25639 \begin_inset LatexCommand label
25640 name "sec:Prevent-Hyphenation"
25641
25642 \end_inset
25643
25644
25645 \begin_inset LatexCommand index
25646 name "Boxes ! to Prevent Hyphenation"
25647
25648 \end_inset
25649
25650
25651 \end_layout
25652
25653 \begin_layout Standard
25654 You can use a special kind of boxes to prevent words or text to be hyphenated.
25655 \newline
25656 Her
25657 e is an example text:
25658 \end_layout
25659
25660 \begin_layout Standard
25661 This line is an example to show how you can prevent the hyphenation of 
25662 \begin_inset Quotes eld
25663 \end_inset
25664
25665 veryverylongword
25666 \begin_inset Quotes erd
25667 \end_inset
25668
25669 .
25670 \end_layout
25671
25672 \begin_layout Standard
25673 To prevent the hyphenation of the word 
25674 \begin_inset Quotes eld
25675 \end_inset
25676
25677 veryverylongword
25678 \begin_inset Quotes erd
25679 \end_inset
25680
25681 , add the command
25682 \end_layout
25683
25684 \begin_layout Standard
25685
25686 \series bold
25687
25688 \backslash
25689 mbox{
25690 \end_layout
25691
25692 \begin_layout Standard
25693 in ERT before the word.
25694  Behind the word insert a closing brace 
25695 \begin_inset Quotes eld
25696 \end_inset
25697
25698
25699 \series bold
25700 }
25701 \series default
25702
25703 \begin_inset Quotes erd
25704 \end_inset
25705
25706  in ERT.
25707 \begin_inset ERT
25708 status collapsed
25709
25710 \begin_layout Standard
25711
25712
25713 \backslash
25714 pagebreak 
25715 \end_layout
25716
25717 \end_inset
25718
25719
25720 \end_layout
25721
25722 \begin_layout Standard
25723 This is the result:
25724 \end_layout
25725
25726 \begin_layout Standard
25727 This line is an example to show how you can prevent the hyphenation of 
25728 \begin_inset ERT
25729 status collapsed
25730
25731 \begin_layout Standard
25732
25733
25734 \backslash
25735 mbox{
25736 \end_layout
25737
25738 \end_inset
25739
25740
25741 \begin_inset Quotes eld
25742 \end_inset
25743
25744 veryverylongword
25745 \begin_inset Quotes erd
25746 \end_inset
25747
25748 .
25749 \begin_inset ERT
25750 status collapsed
25751
25752 \begin_layout Standard
25753
25754 }
25755 \end_layout
25756
25757 \end_inset
25758
25759
25760 \end_layout
25761
25762 \begin_layout Standard
25763 You can alternatively set the command 
25764 \begin_inset Quotes eld
25765 \end_inset
25766
25767
25768 \series bold
25769
25770 \backslash
25771 -
25772 \series default
25773
25774 \begin_inset Quotes grd
25775 \end_inset
25776
25777  as ERT directly before the word:
25778 \end_layout
25779
25780 \begin_layout Standard
25781 This line is an example to show how you can prevent the hyphenation of 
25782 \begin_inset Quotes eld
25783 \end_inset
25784
25785
25786 \begin_inset ERT
25787 status collapsed
25788
25789 \begin_layout Standard
25790
25791
25792 \backslash
25793 -
25794 \end_layout
25795
25796 \end_inset
25797
25798 veryverylongword
25799 \begin_inset Quotes erd
25800 \end_inset
25801
25802 .
25803 \end_layout
25804
25805 \begin_layout Standard
25806 Of course the word now protrudes over the side margin.
25807  To avoid this, add via the menu 
25808 \family sans
25809 Insert\SpecialChar \menuseparator
25810 Special\InsetSpace ~
25811 Formatting\SpecialChar \menuseparator
25812 Line\InsetSpace ~
25813 Break
25814 \family default
25815  (shortcut 
25816 \series bold
25817 Ctrl-Return
25818 \series default
25819 ) a line break before the word:
25820 \end_layout
25821
25822 \begin_layout Standard
25823 This line is an example to show how you can prevent the hyphenation of 
25824 \newline
25825
25826 \begin_inset ERT
25827 status collapsed
25828
25829 \begin_layout Standard
25830
25831
25832 \backslash
25833 mbox{
25834 \end_layout
25835
25836 \end_inset
25837
25838
25839 \begin_inset Quotes eld
25840 \end_inset
25841
25842 veryverylongword
25843 \begin_inset Quotes erd
25844 \end_inset
25845
25846 .
25847 \begin_inset ERT
25848 status collapsed
25849
25850 \begin_layout Standard
25851
25852 }
25853 \end_layout
25854
25855 \end_inset
25856
25857
25858 \end_layout
25859
25860 \begin_layout Subsection
25861 Vertical Alignment
25862 \begin_inset LatexCommand label
25863 name "sub:Vertical-Alignment"
25864
25865 \end_inset
25866
25867
25868 \begin_inset LatexCommand index
25869 name "Boxes ! for Vertical Alignment"
25870
25871 \end_inset
25872
25873
25874 \begin_inset LatexCommand index
25875 name "Boxes ! Raiseboxes"
25876
25877 \end_inset
25878
25879
25880 \end_layout
25881
25882 \begin_layout Standard
25883 With the help of the command 
25884 \series bold
25885
25886 \backslash
25887 raisebox
25888 \series default
25889  you can align words, characters or other boxes vertically to the surrounding
25890  text.
25891  
25892 \series bold
25893
25894 \backslash
25895 raisebox
25896 \series default
25897  is used with the following scheme:
25898 \end_layout
25899
25900 \begin_layout Standard
25901
25902 \series bold
25903
25904 \backslash
25905 raisebox{lift}[height][depth]{box content}
25906 \end_layout
25907
25908 \begin_layout Standard
25909 The lift can be a positive value to raise the box or a negative value to
25910  lower the box.
25911 \end_layout
25912
25913 \begin_layout Standard
25914 To align for example the word 
25915 \begin_inset Quotes eld
25916 \end_inset
25917
25918 preventing
25919 \begin_inset Quotes erd
25920 \end_inset
25921
25922  so that the bottom of the 
25923 \begin_inset Quotes eld
25924 \end_inset
25925
25926 deepest
25927 \begin_inset Quotes erd
25928 \end_inset
25929
25930  character 
25931 \begin_inset Quotes eld
25932 \end_inset
25933
25934 p
25935 \begin_inset Quotes erd
25936 \end_inset
25937
25938  is at the baseline, insert the command
25939 \end_layout
25940
25941 \begin_layout Standard
25942
25943 \series bold
25944
25945 \backslash
25946 raisebox{
25947 \backslash
25948 depth}{
25949 \end_layout
25950
25951 \begin_layout Standard
25952 in ERT before the word.
25953  Behind the word insert a closing brace 
25954 \begin_inset Quotes eld
25955 \end_inset
25956
25957
25958 \series bold
25959 }
25960 \series default
25961
25962 \begin_inset Quotes erd
25963 \end_inset
25964
25965  in ERT.
25966 \newline
25967 This is the result:
25968 \end_layout
25969
25970 \begin_layout Standard
25971 This is a text line with the word 
25972 \begin_inset ERT
25973 status collapsed
25974
25975 \begin_layout Standard
25976
25977
25978 \backslash
25979 raisebox{
25980 \backslash
25981 depth}{
25982 \end_layout
25983
25984 \end_inset
25985
25986
25987 \begin_inset Quotes eld
25988 \end_inset
25989
25990 preventing
25991 \begin_inset Quotes erd
25992 \end_inset
25993
25994
25995 \begin_inset ERT
25996 status collapsed
25997
25998 \begin_layout Standard
25999
26000 }
26001 \end_layout
26002
26003 \end_inset
26004
26005  as raised word.
26006 \end_layout
26007
26008 \begin_layout Standard
26009 \begin_inset VSpace bigskip
26010 \end_inset
26011
26012 When you raise or lower characters in a line, the line distance will be
26013  spread:
26014 \end_layout
26015
26016 \begin_layout Standard
26017 This is a text line with the word 
26018 \begin_inset ERT
26019 status collapsed
26020
26021 \begin_layout Standard
26022
26023
26024 \backslash
26025 raisebox{-
26026 \backslash
26027 depth}{
26028 \end_layout
26029
26030 \end_inset
26031
26032
26033 \begin_inset Quotes eld
26034 \end_inset
26035
26036 preventing
26037 \begin_inset Quotes erd
26038 \end_inset
26039
26040
26041 \begin_inset ERT
26042 status collapsed
26043
26044 \begin_layout Standard
26045
26046 }
26047 \end_layout
26048
26049 \end_inset
26050
26051  as lowered word.
26052 \newline
26053 This is a text line with the word 
26054 \begin_inset ERT
26055 status collapsed
26056
26057 \begin_layout Standard
26058
26059
26060 \backslash
26061 raisebox{0.5cm}{
26062 \end_layout
26063
26064 \end_inset
26065
26066
26067 \begin_inset Quotes eld
26068 \end_inset
26069
26070 testing
26071 \begin_inset Quotes erd
26072 \end_inset
26073
26074
26075 \begin_inset ERT
26076 status collapsed
26077
26078 \begin_layout Standard
26079
26080 }
26081 \end_layout
26082
26083 \end_inset
26084
26085  as raised word.
26086 \end_layout
26087
26088 \begin_layout Standard
26089 If you want to prevent this for a certain reason, set the box height to
26090  a zero value.
26091  For example use
26092 \end_layout
26093
26094 \begin_layout Standard
26095
26096 \series bold
26097
26098 \backslash
26099 raisebox{-
26100 \backslash
26101 depth}[0pt]{
26102 \end_layout
26103
26104 \begin_layout Standard
26105 This is a text line with the word 
26106 \begin_inset ERT
26107 status collapsed
26108
26109 \begin_layout Standard
26110
26111
26112 \backslash
26113 raisebox{-
26114 \backslash
26115 depth}[0pt]{
26116 \end_layout
26117
26118 \end_inset
26119
26120
26121 \begin_inset Quotes eld
26122 \end_inset
26123
26124 preventing
26125 \begin_inset Quotes erd
26126 \end_inset
26127
26128
26129 \begin_inset ERT
26130 status collapsed
26131
26132 \begin_layout Standard
26133
26134 }
26135 \end_layout
26136
26137 \end_inset
26138
26139  as lowered word.
26140 \newline
26141 This is a text line with the word 
26142 \begin_inset ERT
26143 status collapsed
26144
26145 \begin_layout Standard
26146
26147
26148 \backslash
26149 raisebox{0.5cm}[0pt]{
26150 \end_layout
26151
26152 \end_inset
26153
26154
26155 \begin_inset Quotes eld
26156 \end_inset
26157
26158 testing
26159 \begin_inset Quotes erd
26160 \end_inset
26161
26162
26163 \begin_inset ERT
26164 status collapsed
26165
26166 \begin_layout Standard
26167
26168 }
26169 \end_layout
26170
26171 \end_inset
26172
26173  as raised word.
26174 \end_layout
26175
26176 \begin_layout Section
26177 Colored Boxes
26178 \begin_inset LatexCommand label
26179 name "sec:Colored-Boxes"
26180
26181 \end_inset
26182
26183
26184 \begin_inset LatexCommand index
26185 name "Boxes ! Color"
26186
26187 \end_inset
26188
26189
26190 \end_layout
26191
26192 \begin_layout Subsection
26193 Color for Text
26194 \begin_inset LatexCommand index
26195 name "Color ! for Text"
26196
26197 \end_inset
26198
26199
26200 \end_layout
26201
26202 \begin_layout Standard
26203 To color the background of text the text must be put into a so called 
26204 \begin_inset Quotes eld
26205 \end_inset
26206
26207 colorbox
26208 \begin_inset Quotes erd
26209 \end_inset
26210
26211 .
26212  This requires that the LaTeX-package 
26213 \series bold
26214 color
26215 \series default
26216
26217 \begin_inset LatexCommand index
26218 name "LaTeX-packages ! color"
26219
26220 \end_inset
26221
26222  is loaded in the document preamble with the command
26223 \end_layout
26224
26225 \begin_layout Standard
26226
26227 \series bold
26228
26229 \backslash
26230 @ifundef\SpecialChar \textcompwordmark{}
26231 ined{textcolor}
26232 \newline
26233
26234 \begin_inset ERT
26235 status collapsed
26236
26237 \begin_layout Standard
26238
26239
26240 \backslash
26241 hphantom{ }
26242 \end_layout
26243
26244 \end_inset
26245
26246 {
26247 \backslash
26248 usepackage{color}}{}
26249 \end_layout
26250
26251 \begin_layout Standard
26252 The package 
26253 \series bold
26254 color
26255 \series default
26256  will be loaded automatically by LyX when you color text
26257 \begin_inset Foot
26258 status collapsed
26259
26260 \begin_layout Standard
26261 To avoid that it is loaded twice the command 
26262 \series bold
26263
26264 \backslash
26265 @ifundef\SpecialChar \textcompwordmark{}
26266 ined
26267 \series default
26268  is used.
26269 \end_layout
26270
26271 \end_inset
26272
26273 .
26274 \end_layout
26275
26276 \begin_layout Standard
26277 \begin_inset VSpace medskip
26278 \end_inset
26279
26280 Colorboxes are created with the command 
26281 \series bold
26282
26283 \backslash
26284 colorbox
26285 \series default
26286 .
26287  This will be used with the following scheme:
26288 \end_layout
26289
26290 \begin_layout Standard
26291
26292 \series bold
26293
26294 \backslash
26295 colorbox{color}{box content}
26296 \end_layout
26297
26298 \begin_layout Standard
26299 The box content can also be a box and colorboxes can also be within other
26300  boxes.
26301 \end_layout
26302
26303 \begin_layout Standard
26304 The following colors are predefined:
26305 \newline
26306
26307 \family sans
26308 black
26309 \family default
26310
26311 \family sans
26312 blue
26313 \family default
26314
26315 \family sans
26316 cyan
26317 \family default
26318 \series bold
26319 ,
26320 \series default
26321  
26322 \family sans
26323 green
26324 \family default
26325
26326 \family sans
26327 magenta
26328 \family default
26329
26330 \family sans
26331 red
26332 \family default
26333
26334 \family sans
26335 white
26336 \family default
26337 , and 
26338 \family sans
26339 yellow
26340 \family default
26341 .
26342 \newline
26343 You can also define your own color as described in section\InsetSpace ~
26344
26345 \begin_inset LatexCommand ref
26346 reference "sec:Colored-Tables"
26347
26348 \end_inset
26349
26350 .
26351 \end_layout
26352
26353 \begin_layout Standard
26354 To have e.\InsetSpace \thinspace{}
26355 g.\InsetSpace ~
26356 a red background for a word, insert the command
26357 \end_layout
26358
26359 \begin_layout Standard
26360
26361 \series bold
26362
26363 \backslash
26364 colorbox{red}{
26365 \end_layout
26366
26367 \begin_layout Standard
26368 before the word in ERT.
26369  Behind the word insert a closing brace 
26370 \begin_inset Quotes eld
26371 \end_inset
26372
26373
26374 \series bold
26375 }
26376 \series default
26377
26378 \begin_inset Quotes erd
26379 \end_inset
26380
26381  in ERT.
26382 \newline
26383 This is the result:
26384 \end_layout
26385
26386 \begin_layout Standard
26387 This is a line where the word 
26388 \begin_inset ERT
26389 status collapsed
26390
26391 \begin_layout Standard
26392
26393
26394 \backslash
26395 colorbox{red}{
26396 \end_layout
26397
26398 \end_inset
26399
26400
26401 \begin_inset Quotes eld
26402 \end_inset
26403
26404 Attention!
26405 \begin_inset Quotes erd
26406 \end_inset
26407
26408
26409 \begin_inset ERT
26410 status collapsed
26411
26412 \begin_layout Standard
26413
26414 }
26415 \end_layout
26416
26417 \end_inset
26418
26419  has a red background.
26420 \end_layout
26421
26422 \begin_layout Standard
26423 \begin_inset VSpace bigskip
26424 \end_inset
26425
26426 If you would have the box frame in a different color, you can use the command
26427  
26428 \series bold
26429
26430 \backslash
26431 fcolorbox
26432 \series default
26433  with the following scheme:
26434 \end_layout
26435
26436 \begin_layout Standard
26437
26438 \series bold
26439
26440 \backslash
26441 fcolorbox{frame color}{box color}{box content}
26442 \end_layout
26443
26444 \begin_layout Standard
26445
26446 \series bold
26447
26448 \backslash
26449 fcolorbox
26450 \series default
26451  is an extension to 
26452 \series bold
26453
26454 \backslash
26455 colorbox
26456 \series default
26457 .
26458  The frame thickness and the space between the frame and the box content
26459  can be adjusted with the lengths 
26460 \series bold
26461
26462 \backslash
26463 fboxrule
26464 \series default
26465  and 
26466 \series bold
26467
26468 \backslash
26469 fboxsep
26470 \series default
26471 , respectively, as described in section\InsetSpace ~
26472
26473 \begin_inset LatexCommand ref
26474 reference "sec:Framed-Boxes"
26475
26476 \end_inset
26477
26478 .
26479 \end_layout
26480
26481 \begin_layout Standard
26482 For the following example the command
26483 \end_layout
26484
26485 \begin_layout Standard
26486
26487 \series bold
26488
26489 \backslash
26490 fcolorbox{cyan}{magenta}{
26491 \end_layout
26492
26493 \begin_layout Standard
26494 was used.
26495 \end_layout
26496
26497 \begin_layout Standard
26498 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26499 mm:
26500 \newline
26501
26502 \begin_inset ERT
26503 status collapsed
26504
26505 \begin_layout Standard
26506
26507
26508 \backslash
26509 fboxrule 1mm 
26510 \backslash
26511 fboxsep 1mm
26512 \end_layout
26513
26514 \end_inset
26515
26516
26517 \begin_inset ERT
26518 status collapsed
26519
26520 \begin_layout Standard
26521
26522
26523 \backslash
26524 fcolorbox{cyan}{magenta}{
26525 \end_layout
26526
26527 \end_inset
26528
26529 This is text within a colored, framed box.
26530 \begin_inset ERT
26531 status collapsed
26532
26533 \begin_layout Standard
26534
26535 }
26536 \end_layout
26537
26538 \end_inset
26539
26540
26541 \end_layout
26542
26543 \begin_layout Standard
26544 \begin_inset VSpace bigskip
26545 \end_inset
26546
26547 Of course you can also have colored text inside a colorbox:
26548 \newline
26549
26550 \begin_inset ERT
26551 status collapsed
26552
26553 \begin_layout Standard
26554
26555
26556 \backslash
26557 fcolorbox{cyan}{magenta}{
26558 \end_layout
26559
26560 \end_inset
26561
26562
26563 \color yellow
26564 This is colored text within a colored, framed box.
26565 \color none
26566
26567 \begin_inset ERT
26568 status collapsed
26569
26570 \begin_layout Standard
26571
26572 }
26573 \end_layout
26574
26575 \end_inset
26576
26577
26578 \begin_inset ERT
26579 status collapsed
26580
26581 \begin_layout Standard
26582
26583
26584 \backslash
26585 fboxrule 0.4pt 
26586 \backslash
26587 fboxsep 3pt
26588 \end_layout
26589
26590 \end_inset
26591
26592
26593 \end_layout
26594
26595 \begin_layout Standard
26596
26597 \series bold
26598 \begin_inset VSpace medskip
26599 \end_inset
26600
26601
26602 \end_layout
26603
26604 \begin_layout Standard
26605 \begin_inset Note Greyedout
26606 status open
26607
26608 \begin_layout Standard
26609
26610 \series bold
26611 Note:
26612 \series default
26613  Text in colorboxes cannot have line breaks.
26614  To color multiple text lines or paragraphs, use a box inside a colorbox
26615  as described in the following.
26616 \end_layout
26617
26618 \end_inset
26619
26620
26621 \end_layout
26622
26623 \begin_layout Subsection
26624 Color for Paragraphs
26625 \begin_inset LatexCommand label
26626 name "sub:Color-for-Paragraphs"
26627
26628 \end_inset
26629
26630
26631 \begin_inset LatexCommand index
26632 name "Color ! for Paragraphs"
26633
26634 \end_inset
26635
26636
26637 \end_layout
26638
26639 \begin_layout Standard
26640 To set the background color for more than one text line, put the text into
26641  a minipage.
26642  Before the minipage insert the 
26643 \series bold
26644
26645 \backslash
26646 colorbox
26647 \series default
26648  command
26649 \end_layout
26650
26651 \begin_layout Standard
26652
26653 \series bold
26654
26655 \backslash
26656 colorbox{color}{
26657 \end_layout
26658
26659 \begin_layout Standard
26660 in ERT.
26661  Behind the minipage insert a closing brace 
26662 \begin_inset Quotes eld
26663 \end_inset
26664
26665
26666 \series bold
26667 }
26668 \series default
26669
26670 \begin_inset Quotes erd
26671 \end_inset
26672
26673  in ERT.
26674 \end_layout
26675
26676 \begin_layout Standard
26677 \begin_inset ERT
26678 status collapsed
26679
26680 \begin_layout Standard
26681
26682
26683 \backslash
26684 colorbox{lightgrey}{
26685 \end_layout
26686
26687 \end_inset
26688
26689
26690 \begin_inset Box Frameless
26691 position "t"
26692 hor_pos "c"
26693 has_inner_box 1
26694 inner_pos "t"
26695 use_parbox 0
26696 width "100col%"
26697 special "none"
26698 height "1in"
26699 height_special "totalheight"
26700 status collapsed
26701
26702 \begin_layout Standard
26703 This is text with background color.
26704  This is text with background color.
26705 \end_layout
26706
26707 \begin_layout Standard
26708 \begin_inset VSpace defskip
26709 \end_inset
26710
26711 The text can have footnotes
26712 \begin_inset Foot
26713 status collapsed
26714
26715 \begin_layout Standard
26716 Another example footnote
26717 \end_layout
26718
26719 \end_inset
26720
26721  and can include tables and figures.
26722 \end_layout
26723
26724 \begin_layout Standard
26725 \align center
26726 \begin_inset Tabular
26727 <lyxtabular version="3" rows="3" columns="3">
26728 <features>
26729 <column alignment="center" valignment="top" leftline="true" width="0">
26730 <column alignment="center" valignment="top" leftline="true" width="0">
26731 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26732 <row topline="true">
26733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26734 \begin_inset Text
26735
26736 \begin_layout Standard
26737 a
26738 \end_layout
26739
26740 \end_inset
26741 </cell>
26742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26743 \begin_inset Text
26744
26745 \begin_layout Standard
26746 !
26747 \end_layout
26748
26749 \end_inset
26750 </cell>
26751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26752 \begin_inset Text
26753
26754 \begin_layout Standard
26755 3
26756 \end_layout
26757
26758 \end_inset
26759 </cell>
26760 </row>
26761 <row topline="true">
26762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26763 \begin_inset Text
26764
26765 \begin_layout Standard
26766 <
26767 \end_layout
26768
26769 \end_inset
26770 </cell>
26771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26772 \begin_inset Text
26773
26774 \begin_layout Standard
26775 b2
26776 \begin_inset Quotes erd
26777 \end_inset
26778
26779 |
26780 \end_layout
26781
26782 \end_inset
26783 </cell>
26784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26785 \begin_inset Text
26786
26787 \begin_layout Standard
26788 >
26789 \end_layout
26790
26791 \end_inset
26792 </cell>
26793 </row>
26794 <row topline="true" bottomline="true">
26795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26796 \begin_inset Text
26797
26798 \begin_layout Standard
26799 1
26800 \end_layout
26801
26802 \end_inset
26803 </cell>
26804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26805 \begin_inset Text
26806
26807 \begin_layout Standard
26808 §
26809 \end_layout
26810
26811 \end_inset
26812 </cell>
26813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26814 \begin_inset Text
26815
26816 \begin_layout Standard
26817 c
26818 \end_layout
26819
26820 \end_inset
26821 </cell>
26822 </row>
26823 </lyxtabular>
26824
26825 \end_inset
26826
26827
26828 \end_layout
26829
26830 \end_inset
26831
26832
26833 \begin_inset ERT
26834 status collapsed
26835
26836 \begin_layout Standard
26837
26838 }
26839 \end_layout
26840
26841 \end_inset
26842
26843
26844 \end_layout
26845
26846 \begin_layout Section
26847 URLs (Uniform Resource Locators)
26848 \begin_inset LatexCommand index
26849 name "URLs"
26850
26851 \end_inset
26852
26853
26854 \end_layout
26855
26856 \begin_layout Standard
26857 Links to web pages or email addresses can be inserted via the menu 
26858 \family sans
26859 Insert\SpecialChar \menuseparator
26860 URL
26861 \family default
26862 .
26863  The appearing URL dialog has two fields; the 
26864 \family sans
26865 URL
26866 \family default
26867  field and the 
26868 \family sans
26869 Name
26870 \family default
26871  field for the URL description, which will be typeset as plain text immediately
26872  before the URL.
26873 \end_layout
26874
26875 \begin_layout Standard
26876 Here is an example URL: 
26877 \begin_inset LatexCommand url
26878 name "LyX's homepage"
26879 target "http://www.lyx.org"
26880
26881 \end_inset
26882
26883
26884 \end_layout
26885
26886 \begin_layout Standard
26887 The option 
26888 \family sans
26889 Generate\InsetSpace ~
26890 hyperlink
26891 \family default
26892  in the URL dialog has only an affect when you export your document to the
26893  format 
26894 \begin_inset Quotes eld
26895 \end_inset
26896
26897
26898 \family sans
26899 LinuxDoc
26900 \family default
26901
26902 \begin_inset Quotes erd
26903 \end_inset
26904
26905 .
26906 \end_layout
26907
26908 \begin_layout Standard
26909 You cannot change the style of the link text.
26910  The text of the 
26911 \family sans
26912 Name
26913 \family default
26914  field will have the default text style of the document while the text of
26915  the 
26916 \family sans
26917 URL
26918 \family default
26919  field will have the style 
26920 \begin_inset Quotes eld
26921 \end_inset
26922
26923
26924 \family sans
26925 Typewriter
26926 \family default
26927
26928 \begin_inset Quotes erd
26929 \end_inset
26930
26931 .
26932 \end_layout
26933
26934 \begin_layout Standard
26935 When you use the LaTeX-package 
26936 \series bold
26937 hyperref
26938 \series default
26939
26940 \begin_inset LatexCommand index
26941 name "LaTeX-packages ! hyperref"
26942
26943 \end_inset
26944
26945  to link cross-references in the output, URLs will automatically become
26946  clickable hyperlinks in DVI and PDF-output.
26947 \end_layout
26948
26949 \begin_layout Standard
26950 \begin_inset Note Greyedout
26951 status open
26952
26953 \begin_layout Standard
26954
26955 \series bold
26956 Note:
26957 \series default
26958  When you use the following characters: "%", "#", "^", you have to write
26959  them with a preceding backslash, e.\InsetSpace \thinspace{}
26960 g.\InsetSpace ~
26961
26962 \begin_inset Quotes eld
26963 \end_inset
26964
26965
26966 \backslash
26967 #
26968 \begin_inset Quotes erd
26969 \end_inset
26970
26971 .
26972  URLs must not end with a backslash.
26973 \end_layout
26974
26975 \end_inset
26976
26977
26978 \end_layout
26979
26980 \begin_layout Standard
26981 \begin_inset VSpace bigskip
26982 \end_inset
26983
26984 To create real hyperlinks without the force to write the link location to
26985  the text, you can use the command
26986 \end_layout
26987
26988 \begin_layout Standard
26989
26990 \series bold
26991
26992 \backslash
26993 href{link location}{link text}
26994 \end_layout
26995
26996 \begin_layout Standard
26997 in ERT.
26998  To get for example a link to LyX's web page, write the command
26999 \end_layout
27000
27001 \begin_layout Standard
27002
27003 \series bold
27004
27005 \backslash
27006 href{http://www.lyx.org}{
27007 \end_layout
27008
27009 \begin_layout Standard
27010 in ERT.
27011  Insert after the command the link text 
27012 \begin_inset Quotes eld
27013 \end_inset
27014
27015 LyX's homepage
27016 \begin_inset Quotes erd
27017 \end_inset
27018
27019  as normal text followed by a closing brace 
27020 \begin_inset Quotes eld
27021 \end_inset
27022
27023
27024 \series bold
27025 }
27026 \series default
27027
27028 \begin_inset Quotes erd
27029 \end_inset
27030
27031  in ERT.
27032  This is the result: 
27033 \begin_inset ERT
27034 status collapsed
27035
27036 \begin_layout Standard
27037
27038
27039 \backslash
27040 href{http://www.lyx.org}{
27041 \end_layout
27042
27043 \end_inset
27044
27045 LyX's homepage
27046 \begin_inset ERT
27047 status collapsed
27048
27049 \begin_layout Standard
27050
27051 }
27052 \end_layout
27053
27054 \end_inset
27055
27056
27057 \end_layout
27058
27059 \begin_layout Standard
27060 To link to email addresses, add the prefix 
27061 \begin_inset Quotes eld
27062 \end_inset
27063
27064
27065 \family sans
27066 mailto:
27067 \family default
27068
27069 \begin_inset Quotes erd
27070 \end_inset
27071
27072  to the link location:
27073 \newline
27074 Email to 
27075 \begin_inset ERT
27076 status collapsed
27077
27078 \begin_layout Standard
27079
27080
27081 \backslash
27082 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
27083 \end_layout
27084
27085 \end_inset
27086
27087 lyx-docs mailing list
27088 \begin_inset ERT
27089 status collapsed
27090
27091 \begin_layout Standard
27092
27093 }
27094 \end_layout
27095
27096 \end_inset
27097
27098 .
27099 \end_layout
27100
27101 \begin_layout Standard
27102 Using 
27103 \series bold
27104
27105 \backslash
27106 href
27107 \series default
27108  instead of LyX's URL box has the advantage that you can specify the text
27109  style of the link text like for all other text parts.
27110  You can then set hyphenation points and forced linebreaks to have long
27111  link text broken at the page margin.
27112  You are furthermore able to change the text style for all URLs in your
27113  document with an option in 
27114 \series bold
27115 hyperref
27116 \series default
27117 's load command and the restrictions mentioned above doesn't apply for 
27118 \series bold
27119
27120 \backslash
27121 href
27122 \series default
27123 .
27124 \end_layout
27125
27126 \begin_layout Chapter
27127 External Stuff
27128 \begin_inset LatexCommand index
27129 name "External Stuff"
27130
27131 \end_inset
27132
27133
27134 \end_layout
27135
27136 \begin_layout Standard
27137 With the menu 
27138 \family sans
27139 Insert\SpecialChar \menuseparator
27140 File
27141 \family default
27142  you can insert external material to your document.
27143  This can be:
27144 \end_layout
27145
27146 \begin_layout Description
27147 LyX\InsetSpace ~
27148 Document Another LyX document; its content is directly inserted to your
27149  document.
27150 \end_layout
27151
27152 \begin_layout Description
27153 Plain\InsetSpace ~
27154 Text A text document; every of its text lines is inserted to your document
27155  as own paragraph.
27156 \end_layout
27157
27158 \begin_layout Description
27159 Plain\InsetSpace ~
27160 Text,\InsetSpace ~
27161 Join\InsetSpace ~
27162 Lines A text document; its text lines are inserted as they
27163  are.
27164  Empty text lines creates a new paragraph in your document.
27165 \end_layout
27166
27167 \begin_layout Description
27168 External\InsetSpace ~
27169 Material Files in various formats.
27170 \end_layout
27171
27172 \begin_layout Description
27173 Child\InsetSpace ~
27174 Document LyX or LaTeX-documents.
27175 \end_layout
27176
27177 \begin_layout Section
27178 External Material
27179 \begin_inset LatexCommand index
27180 name "External Stuff ! External Material"
27181
27182 \end_inset
27183
27184
27185 \end_layout
27186
27187 \begin_layout Standard
27188 The external material feature allows you to insert files to your document
27189  without converting them previously to a format that can be read by the
27190  document output format because LyX takes care of needed conversions.
27191  This is similar to images that can be inserted in various image formats
27192  to LyX documents.
27193 \end_layout
27194
27195 \begin_layout Standard
27196 External material can be inserted via the 
27197 \family sans
27198 External Material
27199 \family default
27200  dialog that is accessible with the menu 
27201 \family sans
27202 Insert\SpecialChar \menuseparator
27203 File\SpecialChar \menuseparator
27204 External\InsetSpace ~
27205 Material
27206 \family default
27207 .
27208  Currently the following file types (
27209 \family sans
27210 Templates
27211 \family default
27212 ) are allowed:
27213 \end_layout
27214
27215 \begin_layout Description
27216 ChessDiagram This template supports chess position diagrams made with the
27217  program 
27218 \begin_inset ERT
27219 status collapsed
27220
27221 \begin_layout Standard
27222
27223
27224 \backslash
27225 href{http://en.wikipedia.org/wiki/XBoard}{
27226 \end_layout
27227
27228 \end_inset
27229
27230
27231 \series bold
27232 XBoard
27233 \series default
27234
27235 \begin_inset ERT
27236 status collapsed
27237
27238 \begin_layout Standard
27239
27240 }
27241 \end_layout
27242
27243 \end_inset
27244
27245 .
27246 \end_layout
27247
27248 \begin_layout Description
27249 Date This inserts the date in the form 
27250 \emph on
27251 Day-Month-Year
27252 \emph default
27253 .
27254  This is a date inserted as external material: 
27255 \begin_inset External
27256         template Date
27257         filename .
27258
27259 \end_inset
27260
27261
27262 \newline
27263 The date is not shown within LyX, only in the output.
27264  There are two other methods of inserting a date: Via menu 
27265 \family sans
27266 Insert\SpecialChar \menuseparator
27267 Date
27268 \family default
27269  and with the LaTeX command 
27270 \series bold
27271
27272 \backslash
27273 today
27274 \series default
27275  as ERT.
27276  The different methods are compared in Table\InsetSpace ~
27277
27278 \begin_inset LatexCommand ref
27279 reference "tab:Comparison-of-the"
27280
27281 \end_inset
27282
27283 .
27284 \end_layout
27285
27286 \begin_layout Description
27287 LilyPond This template is used for music notation typeset with the program
27288 \begin_inset ERT
27289 status collapsed
27290
27291 \begin_layout Standard
27292
27293
27294 \backslash
27295 linebreak 
27296 \end_layout
27297
27298 \end_inset
27299
27300
27301 \begin_inset ERT
27302 status collapsed
27303
27304 \begin_layout Standard
27305
27306
27307 \backslash
27308 href{http://en.wikipedia.org/wiki/LilyPond}{
27309 \end_layout
27310
27311 \end_inset
27312
27313
27314 \series bold
27315 LilyPond
27316 \series default
27317
27318 \begin_inset ERT
27319 status collapsed
27320
27321 \begin_layout Standard
27322
27323 }
27324 \end_layout
27325
27326 \end_inset
27327
27328 .
27329 \begin_inset Note Note
27330 status collapsed
27331
27332 \begin_layout Standard
27333 The command 
27334 \series bold
27335
27336 \backslash
27337 linebreak
27338 \series default
27339  breaks the line while the remaining text in the line is stretched to the
27340  page margin.
27341 \end_layout
27342
27343 \end_inset
27344
27345
27346 \end_layout
27347
27348 \begin_layout Description
27349 RasterImage This can be used for bitmap images.
27350  Nearly all popular image formats are supported.
27351  The image can be treated in the 
27352 \family sans
27353 External material
27354 \family default
27355  dialog like the images that are usually included via the 
27356 \family sans
27357 Graphics
27358 \family default
27359  dialog as described in section\InsetSpace ~
27360
27361 \begin_inset LatexCommand ref
27362 reference "sec:Graphics-Dialog"
27363
27364 \end_inset
27365
27366 .
27367  The difference is that only raster images are allowed, that means that
27368  PDF and EPS-images are not supported.
27369 \end_layout
27370
27371 \begin_layout Description
27372 XFig This template supports images created with the program 
27373 \begin_inset ERT
27374 status collapsed
27375
27376 \begin_layout Standard
27377
27378
27379 \backslash
27380 href{http://en.wikipedia.org/wiki/Xfig}{
27381 \end_layout
27382
27383 \end_inset
27384
27385
27386 \series bold
27387 Xfig
27388 \series default
27389
27390 \begin_inset ERT
27391 status collapsed
27392
27393 \begin_layout Standard
27394
27395 }
27396 \end_layout
27397
27398 \end_inset
27399
27400 .
27401 \end_layout
27402
27403 \begin_layout Standard
27404 \begin_inset Float table
27405 placement h
27406 wide false
27407 sideways false
27408 status open
27409
27410 \begin_layout Standard
27411 \begin_inset Caption
27412
27413 \begin_layout Standard
27414 \begin_inset LatexCommand label
27415 name "tab:Comparison-of-the"
27416
27417 \end_inset
27418
27419 Comparison of the date input methods.
27420 \end_layout
27421
27422 \end_inset
27423
27424
27425 \end_layout
27426
27427 \begin_layout Standard
27428 \align center
27429 \begin_inset Tabular
27430 <lyxtabular version="3" rows="4" columns="4">
27431 <features>
27432 <column alignment="center" valignment="top" leftline="true" width="0">
27433 <column alignment="center" valignment="top" leftline="true" width="0">
27434 <column alignment="center" valignment="top" leftline="true" width="0">
27435 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27436 <row topline="true">
27437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27438 \begin_inset Text
27439
27440 \begin_layout Standard
27441 Document format
27442 \end_layout
27443
27444 \end_inset
27445 </cell>
27446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27447 \begin_inset Text
27448
27449 \begin_layout Standard
27450
27451 \family sans
27452 External Material\SpecialChar \menuseparator
27453 Date
27454 \end_layout
27455
27456 \end_inset
27457 </cell>
27458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27459 \begin_inset Text
27460
27461 \begin_layout Standard
27462
27463 \family sans
27464 Insert\SpecialChar \menuseparator
27465 Date
27466 \end_layout
27467
27468 \end_inset
27469 </cell>
27470 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27471 \begin_inset Text
27472
27473 \begin_layout Standard
27474 command 
27475 \series bold
27476
27477 \backslash
27478 today
27479 \end_layout
27480
27481 \end_inset
27482 </cell>
27483 </row>
27484 <row topline="true">
27485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27486 \begin_inset Text
27487
27488 \begin_layout Standard
27489 LyX
27490 \end_layout
27491
27492 \end_inset
27493 </cell>
27494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27495 \begin_inset Text
27496
27497 \begin_layout Standard
27498 as inset box
27499 \end_layout
27500
27501 \end_inset
27502 </cell>
27503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27504 \begin_inset Text
27505
27506 \begin_layout Standard
27507 as date
27508 \end_layout
27509
27510 \end_inset
27511 </cell>
27512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27513 \begin_inset Text
27514
27515 \begin_layout Standard
27516 as ERT inset box
27517 \end_layout
27518
27519 \end_inset
27520 </cell>
27521 </row>
27522 <row topline="true">
27523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27524 \begin_inset Text
27525
27526 \begin_layout Standard
27527 LaTeX
27528 \end_layout
27529
27530 \end_inset
27531 </cell>
27532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27533 \begin_inset Text
27534
27535 \begin_layout Standard
27536 as date
27537 \end_layout
27538
27539 \end_inset
27540 </cell>
27541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27542 \begin_inset Text
27543
27544 \begin_layout Standard
27545 as date
27546 \end_layout
27547
27548 \end_inset
27549 </cell>
27550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27551 \begin_inset Text
27552
27553 \begin_layout Standard
27554 as command
27555 \end_layout
27556
27557 \end_inset
27558 </cell>
27559 </row>
27560 <row topline="true" bottomline="true">
27561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27562 \begin_inset Text
27563
27564 \begin_layout Standard
27565 DVI, PDF, PS
27566 \end_layout
27567
27568 \end_inset
27569 </cell>
27570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27571 \begin_inset Text
27572
27573 \begin_layout Standard
27574 as date
27575 \end_layout
27576
27577 \end_inset
27578 </cell>
27579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27580 \begin_inset Text
27581
27582 \begin_layout Standard
27583 as date
27584 \end_layout
27585
27586 \end_inset
27587 </cell>
27588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27589 \begin_inset Text
27590
27591 \begin_layout Standard
27592 as date
27593 \end_layout
27594
27595 \end_inset
27596 </cell>
27597 </row>
27598 </lyxtabular>
27599
27600 \end_inset
27601
27602
27603 \end_layout
27604
27605 \end_inset
27606
27607
27608 \end_layout
27609
27610 \begin_layout Standard
27611 When you use the option 
27612 \family sans
27613 Draft
27614 \family default
27615  in the 
27616 \family sans
27617 File
27618 \family default
27619  tab of the 
27620 \family sans
27621 External Material
27622 \family default
27623  dialog, only the path to the inserted file is shown in the output.
27624 \newline
27625 External
27626  material is displayed in LyX either as box like this: 
27627 \begin_inset Graphics
27628         filename clipart/ExternalMaterialQt4.png
27629         scale 85
27630         scaleBeforeRotation
27631
27632 \end_inset
27633
27634  or as image, depending on the setting in the 
27635 \family sans
27636 LyX\InsetSpace ~
27637 View
27638 \family default
27639  tab of the 
27640 \family sans
27641 External Material
27642 \family default
27643  dialog.
27644 \end_layout
27645
27646 \begin_layout Standard
27647 The 
27648 \family sans
27649 \emph on
27650 Customization
27651 \family default
27652 \emph default
27653  manual explains how you can define your own templates.
27654 \end_layout
27655
27656 \begin_layout Section
27657 Child Documents
27658 \begin_inset LatexCommand label
27659 name "sec:Child-Documents"
27660
27661 \end_inset
27662
27663
27664 \begin_inset LatexCommand index
27665 name "External Stuff ! Child Documents"
27666
27667 \end_inset
27668
27669
27670 \begin_inset LatexCommand index
27671 name "Files ! Include"
27672
27673 \end_inset
27674
27675
27676 \end_layout
27677
27678 \begin_layout Standard
27679 Child documents are used when you have a long document consisting of several
27680  larger parts or sections.
27681  For maintenance it is often useful and sometimes even required to split
27682  the document in several files that can be revised separately.
27683  The different documents are then the so called child documents and a master
27684  document connects them to print the full document or parts of it.
27685 \end_layout
27686
27687 \begin_layout Standard
27688 Included documents are displayed in LyX as a box like this: 
27689 \begin_inset Graphics
27690         filename clipart/ChildDocumentQt4.png
27691         scale 85
27692         scaleBeforeRotation
27693
27694 \end_inset
27695
27696  To include child documents to a master document use the menu 
27697 \family sans
27698 Insert\SpecialChar \menuseparator
27699 File\SpecialChar \menuseparator
27700 Child\InsetSpace ~
27701 Documents
27702 \family default
27703 .
27704  A dialog pops up where you can choose between four include methods:
27705 \end_layout
27706
27707 \begin_layout Description
27708 Include You can include LyX and LaTeX-documents.
27709  When you press the 
27710 \family sans
27711 Load
27712 \family default
27713  button in the 
27714 \family sans
27715 Child Document
27716 \family default
27717  dialog, the included documents will be opened in LyX in a new file tab
27718  so that you can modify it.
27719 \newline
27720
27721 \end_layout
27722
27723 \begin_layout Standard
27724 Here is a child document inserted using 
27725 \family sans
27726 Include
27727 \family default
27728
27729 \begin_inset Include \include{DummyDocument1.lyx}
27730 preview false
27731
27732 \end_inset
27733
27734
27735 \end_layout
27736
27737 \begin_layout Standard
27738 The section numbering includes the sections of the included files in the
27739  order they are inserted in the master document.
27740  The included example document has for example a subsection that is numbered
27741  as subsection of this section.
27742  Labels of included documents can be referenced: Subsection\InsetSpace ~
27743
27744 \begin_inset LatexCommand ref
27745 reference "sub:External-Subsection-1"
27746
27747 \end_inset
27748
27749
27750 \end_layout
27751
27752 \begin_layout Standard
27753 The preamble of the child document is ignored, only the preamble of the
27754  master document is used.
27755  Included documents are inserted starting on a new page and end with a pagebreak.
27756 \end_layout
27757
27758 \begin_layout Standard
27759 With the LaTeX-command 
27760 \series bold
27761
27762 \backslash
27763 includeonly 
27764 \series default
27765 you can specify which included child documents are processed when the output
27766  is generated.
27767  This is useful when you are perhaps only working on a certain chapter of
27768  your large document as this saves compiling time.
27769  
27770 \series bold
27771
27772 \backslash
27773 includeonly
27774 \series default
27775  is inserted to the master document preamble.
27776  It takes a comma-separated list of the filenames as argument, e.g.
27777 \end_layout
27778
27779 \begin_layout Standard
27780
27781 \series bold
27782
27783 \backslash
27784 includeonly{chapter1,chapter5}
27785 \end_layout
27786
27787 \begin_layout Standard
27788 will only process the included files named 
27789 \begin_inset Quotes eld
27790 \end_inset
27791
27792 chapter1.lyx
27793 \begin_inset Quotes erd
27794 \end_inset
27795
27796  (or 
27797 \begin_inset Quotes eld
27798 \end_inset
27799
27800 chapter1.tex
27801 \begin_inset Quotes erd
27802 \end_inset
27803
27804 ) and 
27805 \begin_inset Quotes eld
27806 \end_inset
27807
27808 chapter5.lyx
27809 \begin_inset Quotes erd
27810 \end_inset
27811
27812  .
27813 \end_layout
27814
27815 \begin_layout Standard
27816 \begin_inset Note Greyedout
27817 status open
27818
27819 \begin_layout Standard
27820
27821 \series bold
27822 Note:
27823 \series default
27824  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27825 w the document in case that the child document uses another document class
27826  than the master document as this will lead to unexpected outputs.
27827 \end_layout
27828
27829 \end_inset
27830
27831
27832 \end_layout
27833
27834 \begin_layout Description
27835 Input This method is very similar to the Include method.
27836  The differences are:
27837 \end_layout
27838
27839 \begin_deeper
27840 \begin_layout Itemize
27841 Input files don't start with a new page and don't end with a pagebreak.
27842 \end_layout
27843
27844 \begin_layout Itemize
27845 Input files can be previewed in LyX when 
27846 \family sans
27847 Instant\InsetSpace ~
27848 Preview
27849 \family default
27850  is enabled in LyX's preferences under 
27851 \family sans
27852 Look\InsetSpace ~
27853 and\InsetSpace ~
27854 feel\SpecialChar \menuseparator
27855 Graphics
27856 \family default
27857 .
27858 \end_layout
27859
27860 \begin_layout Itemize
27861 The LaTeX-command 
27862 \series bold
27863
27864 \backslash
27865 includeonly
27866 \series default
27867  cannot be used.
27868 \end_layout
27869
27870 \end_deeper
27871 \begin_layout Standard
27872 Here is a child document inserted using 
27873 \family sans
27874 Input
27875 \family default
27876
27877 \begin_inset Include \input{DummyDocument2.lyx}
27878 preview false
27879
27880 \end_inset
27881
27882
27883 \end_layout
27884
27885 \begin_layout Description
27886 Verbatim With this method every text file can be included.
27887  The file is shown in the output with its source code, no command used in
27888  the text is invoked.
27889  You can use the option 
27890 \family sans
27891 Mark spaces in output
27892 \family default
27893  that displays the character 
27894 \begin_inset Quotes eld
27895 \end_inset
27896
27897
27898 \begin_inset ERT
27899 status collapsed
27900
27901 \begin_layout Standard
27902
27903
27904 \backslash
27905 textvisiblespace 
27906 \end_layout
27907
27908 \end_inset
27909
27910
27911 \begin_inset Quotes erd
27912 \end_inset
27913
27914  for every space character in the source code.
27915  The difference to the method via the menu 
27916 \family sans
27917 Insert\SpecialChar \menuseparator
27918 File\SpecialChar \menuseparator
27919 Plain\InsetSpace ~
27920 Text
27921 \family default
27922  is that the document content is not shown in LyX.
27923 \end_layout
27924
27925 \begin_layout Standard
27926 Here is a child document inserted as Verbatim: 
27927 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27928 preview false
27929
27930 \end_inset
27931
27932
27933 \begin_inset VSpace bigskip
27934 \end_inset
27935
27936 Here is a child document inserted as Verbatim using the 
27937 \family sans
27938 Mark spaces in output
27939 \family default
27940  option: 
27941 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27942 preview false
27943
27944 \end_inset
27945
27946
27947 \end_layout
27948
27949 \begin_layout Standard
27950 \begin_inset VSpace bigskip
27951 \end_inset
27952
27953
27954 \end_layout
27955
27956 \begin_layout Standard
27957 \begin_inset Note Greyedout
27958 status open
27959
27960 \begin_layout Standard
27961
27962 \series bold
27963 Note:
27964 \series default
27965  As you can see in the examples above, the text of the documents included
27966  as 
27967 \family sans
27968 verbatim
27969 \family default
27970  is not broken at the end of the document lines.
27971 \end_layout
27972
27973 \end_inset
27974
27975
27976 \end_layout
27977
27978 \begin_layout Description
27979 Listings This type is described in chapter\InsetSpace ~
27980
27981 \begin_inset LatexCommand ref
27982 reference "cha:Program-Code-Listings"
27983
27984 \end_inset
27985
27986 .
27987 \end_layout
27988
27989 \begin_layout Standard
27990 \begin_inset Note Greyedout
27991 status open
27992
27993 \begin_layout Standard
27994
27995 \series bold
27996 Note:
27997 \series default
27998  Including the same document twice in a document using different methods
27999  could cause LaTeX-problems.
28000 \end_layout
28001
28002 \end_inset
28003
28004
28005 \end_layout
28006
28007 \begin_layout Chapter
28008 Program Code Listings
28009 \begin_inset LatexCommand label
28010 name "cha:Program-Code-Listings"
28011
28012 \end_inset
28013
28014
28015 \begin_inset LatexCommand index
28016 name "Listings"
28017
28018 \end_inset
28019
28020
28021 \begin_inset LatexCommand index
28022 name "Program Code"
28023
28024 \end_inset
28025
28026
28027 \begin_inset LatexCommand index
28028 name "Floats ! Listings"
28029
28030 \end_inset
28031
28032
28033 \end_layout
28034
28035 \begin_layout Standard
28036 To include and typeset program code you can use the 
28037 \family sans
28038 Listings
28039 \family default
28040  inset that can be inserted via the menu 
28041 \family sans
28042 Insert\SpecialChar \menuseparator
28043 Program Listing
28044 \family default
28045 .
28046  The LaTeX-package 
28047 \series bold
28048 listings
28049 \series default
28050
28051 \begin_inset LatexCommand index
28052 name "LaTeX-packages ! listings"
28053
28054 \end_inset
28055
28056  provides a powerful and flexible way to insert program source code to your
28057  document.
28058 \end_layout
28059
28060 \begin_layout Standard
28061 When right-clicking on a listings inset a dialog pops up where you can set
28062  the listings format.
28063 \end_layout
28064
28065 \begin_layout Standard
28066 By default, a listing starts a new paragraph in the output.
28067  The placement option 
28068 \family sans
28069 Inline\InsetSpace ~
28070 listing
28071 \family default
28072  prints the listing inline like this: 
28073 \begin_inset listings
28074 lstparams "language={C++}"
28075 inline true
28076 status open
28077
28078 \begin_layout Standard
28079
28080 int a=5;
28081 \end_layout
28082
28083 \end_inset
28084
28085
28086 \newline
28087 The option 
28088 \family sans
28089 Float
28090 \family default
28091  creates a listings float where you can specify the placement options 
28092 \begin_inset Quotes eld
28093 \end_inset
28094
28095
28096 \family sans
28097 h
28098 \family default
28099
28100 \begin_inset Quotes erd
28101 \end_inset
28102
28103
28104 \begin_inset Quotes eld
28105 \end_inset
28106
28107
28108 \family sans
28109 t
28110 \family default
28111
28112 \begin_inset Quotes erd
28113 \end_inset
28114
28115
28116 \begin_inset Quotes eld
28117 \end_inset
28118
28119
28120 \family sans
28121 b
28122 \family default
28123
28124 \begin_inset Quotes erd
28125 \end_inset
28126
28127 , and 
28128 \begin_inset Quotes eld
28129 \end_inset
28130
28131
28132 \family sans
28133 p
28134 \family default
28135
28136 \begin_inset Quotes erd
28137 \end_inset
28138
28139  corresponding to the float placement options described in section\InsetSpace ~
28140
28141 \begin_inset LatexCommand ref
28142 reference "sec:Float-Placement"
28143
28144 \end_inset
28145
28146 .
28147  The placement options can be mixed and are inserted without any separation,
28148  e.\InsetSpace \thinspace{}
28149 g.\InsetSpace ~
28150
28151 \begin_inset Quotes eld
28152 \end_inset
28153
28154
28155 \family sans
28156 htbp
28157 \family default
28158
28159 \begin_inset Quotes erd
28160 \end_inset
28161
28162 .
28163  The option 
28164 \begin_inset Quotes eld
28165 \end_inset
28166
28167 h
28168 \begin_inset Quotes erd
28169 \end_inset
28170
28171  has sometimes no effect, but you don't need to use the 
28172 \family sans
28173 Float
28174 \family default
28175  option in this case as also non-float listings can have captions and be
28176  referenced.
28177 \end_layout
28178
28179 \begin_layout Standard
28180 You can add captions to listings with the menu 
28181 \family sans
28182 Insert\SpecialChar \menuseparator
28183 Caption
28184 \family default
28185 .
28186  Listings can be referenced like floats: Listing\InsetSpace ~
28187
28188 \begin_inset LatexCommand ref
28189 reference "lst:Example-Listing"
28190
28191 \end_inset
28192
28193
28194 \end_layout
28195
28196 \begin_layout Standard
28197 \begin_inset listings
28198 lstparams "language=Python"
28199 inline false
28200 status open
28201
28202 \begin_layout Standard
28203
28204 \begin_inset Caption
28205
28206 \begin_layout Standard
28207 \begin_inset LatexCommand label
28208 name "lst:Example-Listing"
28209
28210 \end_inset
28211
28212 Example Listing float
28213 \end_layout
28214
28215 \end_inset
28216
28217 # Example listing float
28218 \end_layout
28219
28220 \begin_layout Standard
28221
28222 def func(param):
28223 \end_layout
28224
28225 \begin_layout Standard
28226
28227     'this is a python function'
28228 \end_layout
28229
28230 \begin_layout Standard
28231
28232     pass
28233 \end_layout
28234
28235 \end_inset
28236
28237
28238 \end_layout
28239
28240 \begin_layout Standard
28241 When you have set a programming language in the listings dialog, the keywords
28242  of this language will be recognized and specially typeset in the output.
28243  In the example listings the Python keyword 
28244 \begin_inset Quotes eld
28245 \end_inset
28246
28247 def
28248 \begin_inset Quotes erd
28249 \end_inset
28250
28251  is recognized and printed bold in the output.
28252 \end_layout
28253
28254 \begin_layout Standard
28255 In section 
28256 \family sans
28257 Line\InsetSpace ~
28258 numbering
28259 \family default
28260  of the listings dialog you can specify the line numbering style.
28261  You can insert a number to specify which lines are numbered to the field
28262  
28263 \family sans
28264 Step
28265 \family default
28266 .
28267  When you insert e.g.
28268  
28269 \begin_inset Quotes eld
28270 \end_inset
28271
28272 3
28273 \begin_inset Quotes erd
28274 \end_inset
28275
28276 , only every 3rd line will be numbered.
28277 \end_layout
28278
28279 \begin_layout Standard
28280 You can furthermore specify a range of lines, only these will then appear
28281  in the output.
28282  The option 
28283 \family sans
28284 Extended\InsetSpace ~
28285 chars
28286 \family default
28287  should be used when you use national characters like the German umlauts
28288  in the listing.
28289 \newline
28290 Here is an example listing with left line numbering, step
28291  
28292 \begin_inset Quotes eld
28293 \end_inset
28294
28295 3
28296 \begin_inset Quotes erd
28297 \end_inset
28298
28299 , language 
28300 \begin_inset Quotes eld
28301 \end_inset
28302
28303 Python
28304 \begin_inset Quotes erd
28305 \end_inset
28306
28307 , options 
28308 \begin_inset Quotes eld
28309 \end_inset
28310
28311 Extended\InsetSpace ~
28312 chars
28313 \begin_inset Quotes erd
28314 \end_inset
28315
28316  and 
28317 \begin_inset Quotes eld
28318 \end_inset
28319
28320 Space\InsetSpace ~
28321 as\InsetSpace ~
28322 Symbol
28323 \begin_inset Quotes erd
28324 \end_inset
28325
28326 , range lines 3\InsetSpace \thinspace{}
28327 -\InsetSpace \thinspace{}
28328 8:
28329 \end_layout
28330
28331 \begin_layout Standard
28332 \begin_inset listings
28333 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
28334 inline false
28335 status open
28336
28337 \begin_layout Standard
28338
28339 def func(param):
28340 \end_layout
28341
28342 \begin_layout Standard
28343
28344     'this is a python function'
28345 \end_layout
28346
28347 \begin_layout Standard
28348
28349     pass
28350 \end_layout
28351
28352 \begin_layout Standard
28353
28354 def func(param):
28355 \end_layout
28356
28357 \begin_layout Standard
28358
28359 'This is a German word: Tschüß'
28360 \end_layout
28361
28362 \begin_layout Standard
28363
28364 pass
28365 \end_layout
28366
28367 \begin_layout Standard
28368
28369 def func(param):
28370 \end_layout
28371
28372 \begin_layout Standard
28373
28374 'this is a python function'
28375 \end_layout
28376
28377 \begin_layout Standard
28378
28379 pass
28380 \end_layout
28381
28382 \end_inset
28383
28384
28385 \end_layout
28386
28387 \begin_layout Standard
28388 \begin_inset Note Greyedout
28389 status open
28390
28391 \begin_layout Standard
28392
28393 \series bold
28394 Note:
28395 \series default
28396  The line numbering is shifted by a line by every previous listing.
28397  That's the reason why the lines 2 and 5 are numbered in the above listing
28398  and not the lines 3 and 6.
28399 \end_layout
28400
28401 \end_inset
28402
28403
28404 \end_layout
28405
28406 \begin_layout Standard
28407 \begin_inset VSpace bigskip
28408 \end_inset
28409
28410
28411 \end_layout
28412
28413 \begin_layout Standard
28414 It is also possible to print lines from a file as listing.
28415  To do this, use the menu 
28416 \family sans
28417 Insert\SpecialChar \menuseparator
28418 File\SpecialChar \menuseparator
28419 Child Document
28420 \family default
28421  and choose the type 
28422 \family sans
28423 Listings
28424 \family default
28425 .
28426 \begin_inset Foot
28427 status collapsed
28428
28429 \begin_layout Standard
28430 The other child document types are described in section\InsetSpace ~
28431
28432 \begin_inset LatexCommand ref
28433 reference "sec:Child-Documents"
28434
28435 \end_inset
28436
28437 .
28438 \end_layout
28439
28440 \end_inset
28441
28442  In the child document dialog you can specify the listing parameters in
28443  a text box.
28444  To show a list of all available parameters, type in a question mark 
28445 \begin_inset Quotes eld
28446 \end_inset
28447
28448 ?
28449 \begin_inset Quotes erd
28450 \end_inset
28451
28452  in the text box.
28453 \end_layout
28454
28455 \begin_layout Standard
28456 To reference child document listings, write a label text into the corresponding
28457  field of the child document dialog.
28458  The label can then be referenced using the menu 
28459 \family sans
28460 Insert\SpecialChar \menuseparator
28461 Cross-Reference
28462 \family default
28463 .
28464 \end_layout
28465
28466 \begin_layout Standard
28467 Listing\InsetSpace ~
28468
28469 \begin_inset LatexCommand ref
28470 reference "lst:file-listing"
28471
28472 \end_inset
28473
28474  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
28475 -\InsetSpace \thinspace{}
28476 15 of this LyX
28477  file are listed.
28478 \end_layout
28479
28480 \begin_layout Standard
28481 \begin_inset Include \lstinputlisting{EmbeddedObjects.lyx}[breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15]
28482 preview false
28483
28484 \end_inset
28485
28486
28487 \end_layout
28488
28489 \begin_layout Standard
28490 \begin_inset VSpace bigskip
28491 \end_inset
28492
28493
28494 \end_layout
28495
28496 \begin_layout Standard
28497 Global listings settings can be set in the 
28498 \family sans
28499 Document\SpecialChar \menuseparator
28500 Settings\SpecialChar \menuseparator
28501 Text Layout
28502 \family default
28503  dialog.
28504  To get there a list of available options, type in a question mark 
28505 \begin_inset Quotes eld
28506 \end_inset
28507
28508 ?
28509 \begin_inset Quotes erd
28510 \end_inset
28511
28512  in the 
28513 \family sans
28514 Listings\InsetSpace ~
28515 settings
28516 \family default
28517  field.
28518 \end_layout
28519
28520 \begin_layout Standard
28521 For more information about the 
28522 \series bold
28523 listings
28524 \series default
28525  package, we refer to its documentation 
28526 \begin_inset LatexCommand cite
28527 key "listings"
28528
28529 \end_inset
28530
28531 .
28532 \end_layout
28533
28534 \begin_layout Standard
28535
28536 \newpage
28537
28538 \end_layout
28539
28540 \begin_layout Chapter
28541 \start_of_appendix
28542 Units available in 
28543 \begin_inset ERT
28544 status collapsed
28545
28546 \begin_layout Standard
28547
28548
28549 \backslash
28550 texorpdfstring{
28551 \end_layout
28552
28553 \end_inset
28554
28555 LyX
28556 \begin_inset ERT
28557 status collapsed
28558
28559 \begin_layout Standard
28560
28561 }{LyX}
28562 \end_layout
28563
28564 \end_inset
28565
28566
28567 \begin_inset LatexCommand index
28568 name "Units"
28569
28570 \end_inset
28571
28572
28573 \begin_inset LatexCommand label
28574 name "cha:Units-available-in"
28575
28576 \end_inset
28577
28578
28579 \begin_inset Note Note
28580 status collapsed
28581
28582 \begin_layout Standard
28583 The command 
28584 \backslash
28585 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
28586  are displayed wrongly in PDF-bookmarks.
28587  For more information about this, have a look at 
28588 \begin_inset LatexCommand cite
28589 key "hyperref"
28590
28591 \end_inset
28592
28593 .
28594 \end_layout
28595
28596 \end_inset
28597
28598
28599 \end_layout
28600
28601 \begin_layout Standard
28602 To understand the units described in this documentation, Table\InsetSpace ~
28603
28604 \begin_inset LatexCommand ref
28605 reference "tab:Units"
28606
28607 \end_inset
28608
28609  explains all units available in LyX.
28610 \end_layout
28611
28612 \begin_layout Standard
28613 \begin_inset Float table
28614 placement h
28615 wide false
28616 sideways false
28617 status open
28618
28619 \begin_layout Standard
28620 \begin_inset Caption
28621
28622 \begin_layout Standard
28623 \begin_inset LatexCommand label
28624 name "tab:Units"
28625
28626 \end_inset
28627
28628 Units
28629 \end_layout
28630
28631 \end_inset
28632
28633
28634 \end_layout
28635
28636 \begin_layout Standard
28637 \begin_inset VSpace medskip
28638 \end_inset
28639
28640
28641 \end_layout
28642
28643 \begin_layout Standard
28644 \align center
28645 \begin_inset Tabular
28646 <lyxtabular version="3" rows="20" columns="2">
28647 <features>
28648 <column alignment="center" valignment="top" leftline="true" width="0">
28649 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28650 <row topline="true" bottomline="true">
28651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28652 \begin_inset Text
28653
28654 \begin_layout Standard
28655 unit
28656 \end_layout
28657
28658 \end_inset
28659 </cell>
28660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28661 \begin_inset Text
28662
28663 \begin_layout Standard
28664 name/description
28665 \end_layout
28666
28667 \end_inset
28668 </cell>
28669 </row>
28670 <row topline="true">
28671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28672 \begin_inset Text
28673
28674 \begin_layout Standard
28675 mm
28676 \end_layout
28677
28678 \end_inset
28679 </cell>
28680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28681 \begin_inset Text
28682
28683 \begin_layout Standard
28684 millimeter
28685 \end_layout
28686
28687 \end_inset
28688 </cell>
28689 </row>
28690 <row topline="true">
28691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28692 \begin_inset Text
28693
28694 \begin_layout Standard
28695 cm
28696 \end_layout
28697
28698 \end_inset
28699 </cell>
28700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28701 \begin_inset Text
28702
28703 \begin_layout Standard
28704 centimeter
28705 \end_layout
28706
28707 \end_inset
28708 </cell>
28709 </row>
28710 <row topline="true">
28711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28712 \begin_inset Text
28713
28714 \begin_layout Standard
28715 in
28716 \end_layout
28717
28718 \end_inset
28719 </cell>
28720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28721 \begin_inset Text
28722
28723 \begin_layout Standard
28724 inch
28725 \end_layout
28726
28727 \end_inset
28728 </cell>
28729 </row>
28730 <row topline="true">
28731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28732 \begin_inset Text
28733
28734 \begin_layout Standard
28735 pt
28736 \end_layout
28737
28738 \end_inset
28739 </cell>
28740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28741 \begin_inset Text
28742
28743 \begin_layout Standard
28744 point (72.27\InsetSpace \thinspace{}
28745 pt = 1\InsetSpace \thinspace{}
28746 in)
28747 \end_layout
28748
28749 \end_inset
28750 </cell>
28751 </row>
28752 <row topline="true">
28753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28754 \begin_inset Text
28755
28756 \begin_layout Standard
28757 pc
28758 \end_layout
28759
28760 \end_inset
28761 </cell>
28762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28763 \begin_inset Text
28764
28765 \begin_layout Standard
28766 pica (1\InsetSpace \thinspace{}
28767 pc = 12\InsetSpace \thinspace{}
28768 pt)
28769 \end_layout
28770
28771 \end_inset
28772 </cell>
28773 </row>
28774 <row topline="true">
28775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28776 \begin_inset Text
28777
28778 \begin_layout Standard
28779 sp
28780 \end_layout
28781
28782 \end_inset
28783 </cell>
28784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28785 \begin_inset Text
28786
28787 \begin_layout Standard
28788 scaled point (65536\InsetSpace \thinspace{}
28789 sp = 1\InsetSpace \thinspace{}
28790 pt)
28791 \end_layout
28792
28793 \end_inset
28794 </cell>
28795 </row>
28796 <row topline="true">
28797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28798 \begin_inset Text
28799
28800 \begin_layout Standard
28801 bp
28802 \end_layout
28803
28804 \end_inset
28805 </cell>
28806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28807 \begin_inset Text
28808
28809 \begin_layout Standard
28810 big point (72\InsetSpace \thinspace{}
28811 bp = 1\InsetSpace \thinspace{}
28812 in)
28813 \end_layout
28814
28815 \end_inset
28816 </cell>
28817 </row>
28818 <row topline="true">
28819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28820 \begin_inset Text
28821
28822 \begin_layout Standard
28823 dd
28824 \end_layout
28825
28826 \end_inset
28827 </cell>
28828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28829 \begin_inset Text
28830
28831 \begin_layout Standard
28832 didot (1\InsetSpace \thinspace{}
28833 dd 
28834 \begin_inset Formula $\approx$
28835 \end_inset
28836
28837  0.376\InsetSpace \thinspace{}
28838 mm)
28839 \end_layout
28840
28841 \end_inset
28842 </cell>
28843 </row>
28844 <row topline="true">
28845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28846 \begin_inset Text
28847
28848 \begin_layout Standard
28849 cc
28850 \end_layout
28851
28852 \end_inset
28853 </cell>
28854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28855 \begin_inset Text
28856
28857 \begin_layout Standard
28858 cicero (1\InsetSpace \thinspace{}
28859 cc = 12\InsetSpace \thinspace{}
28860 dd)
28861 \end_layout
28862
28863 \end_inset
28864 </cell>
28865 </row>
28866 <row topline="true">
28867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28868 \begin_inset Text
28869
28870 \begin_layout Standard
28871 Scale%
28872 \end_layout
28873
28874 \end_inset
28875 </cell>
28876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28877 \begin_inset Text
28878
28879 \begin_layout Standard
28880 % of original image width
28881 \end_layout
28882
28883 \end_inset
28884 </cell>
28885 </row>
28886 <row topline="true">
28887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28888 \begin_inset Text
28889
28890 \begin_layout Standard
28891 text%
28892 \end_layout
28893
28894 \end_inset
28895 </cell>
28896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28897 \begin_inset Text
28898
28899 \begin_layout Standard
28900 % of text width
28901 \end_layout
28902
28903 \end_inset
28904 </cell>
28905 </row>
28906 <row topline="true">
28907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28908 \begin_inset Text
28909
28910 \begin_layout Standard
28911 col%
28912 \end_layout
28913
28914 \end_inset
28915 </cell>
28916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28917 \begin_inset Text
28918
28919 \begin_layout Standard
28920 % of column width
28921 \end_layout
28922
28923 \end_inset
28924 </cell>
28925 </row>
28926 <row topline="true">
28927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28928 \begin_inset Text
28929
28930 \begin_layout Standard
28931 page%
28932 \end_layout
28933
28934 \end_inset
28935 </cell>
28936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28937 \begin_inset Text
28938
28939 \begin_layout Standard
28940 % of paper width
28941 \end_layout
28942
28943 \end_inset
28944 </cell>
28945 </row>
28946 <row topline="true">
28947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28948 \begin_inset Text
28949
28950 \begin_layout Standard
28951 line%
28952 \end_layout
28953
28954 \end_inset
28955 </cell>
28956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28957 \begin_inset Text
28958
28959 \begin_layout Standard
28960 % of line width
28961 \end_layout
28962
28963 \end_inset
28964 </cell>
28965 </row>
28966 <row topline="true">
28967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28968 \begin_inset Text
28969
28970 \begin_layout Standard
28971 theight%
28972 \end_layout
28973
28974 \end_inset
28975 </cell>
28976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28977 \begin_inset Text
28978
28979 \begin_layout Standard
28980 % of text height
28981 \end_layout
28982
28983 \end_inset
28984 </cell>
28985 </row>
28986 <row topline="true">
28987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28988 \begin_inset Text
28989
28990 \begin_layout Standard
28991 pheight%
28992 \end_layout
28993
28994 \end_inset
28995 </cell>
28996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28997 \begin_inset Text
28998
28999 \begin_layout Standard
29000 % of paper height
29001 \end_layout
29002
29003 \end_inset
29004 </cell>
29005 </row>
29006 <row topline="true">
29007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29008 \begin_inset Text
29009
29010 \begin_layout Standard
29011 ex
29012 \end_layout
29013
29014 \end_inset
29015 </cell>
29016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29017 \begin_inset Text
29018
29019 \begin_layout Standard
29020 height of letter 
29021 \emph on
29022 x
29023 \emph default
29024  in current font
29025 \end_layout
29026
29027 \end_inset
29028 </cell>
29029 </row>
29030 <row topline="true">
29031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29032 \begin_inset Text
29033
29034 \begin_layout Standard
29035 em
29036 \end_layout
29037
29038 \end_inset
29039 </cell>
29040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29041 \begin_inset Text
29042
29043 \begin_layout Standard
29044 width of letter 
29045 \emph on
29046 M
29047 \emph default
29048  in current font
29049 \end_layout
29050
29051 \end_inset
29052 </cell>
29053 </row>
29054 <row topline="true" bottomline="true">
29055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29056 \begin_inset Text
29057
29058 \begin_layout Standard
29059 mu
29060 \end_layout
29061
29062 \end_inset
29063 </cell>
29064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29065 \begin_inset Text
29066
29067 \begin_layout Standard
29068 math unit (1\InsetSpace \thinspace{}
29069 mu = 1/18\InsetSpace \thinspace{}
29070 em)
29071 \end_layout
29072
29073 \end_inset
29074 </cell>
29075 </row>
29076 </lyxtabular>
29077
29078 \end_inset
29079
29080
29081 \end_layout
29082
29083 \end_inset
29084
29085
29086 \end_layout
29087
29088 \begin_layout Chapter
29089 Output File Formats with Graphics
29090 \begin_inset LatexCommand label
29091 name "cha:Output-File-Formats"
29092
29093 \end_inset
29094
29095
29096 \end_layout
29097
29098 \begin_layout Section
29099 DVI
29100 \begin_inset LatexCommand index
29101 name "File Formats ! DVI"
29102
29103 \end_inset
29104
29105
29106 \begin_inset LatexCommand index
29107 name "DVI|see{File Formats}"
29108
29109 \end_inset
29110
29111
29112 \end_layout
29113
29114 \begin_layout Standard
29115 This file type has the extension 
29116 \begin_inset Quotes eld
29117 \end_inset
29118
29119
29120 \family typewriter
29121 .dvi
29122 \family default
29123
29124 \begin_inset Quotes erd
29125 \end_inset
29126
29127 .
29128  It is called 
29129 \begin_inset Quotes eld
29130 \end_inset
29131
29132 device-independent
29133 \begin_inset Quotes erd
29134 \end_inset
29135
29136  (DVI), because it is completely portable; you can move them from one machine
29137  to another without needing to do any sort of conversion.
29138  At the time when this file-format was developed, this was no matter of
29139  course.
29140  DVIs are used for quick previews and as pre-stage for other output formats,
29141  like PostScript.
29142 \end_layout
29143
29144 \begin_layout Standard
29145 \begin_inset Note Greyedout
29146 status open
29147
29148 \begin_layout Standard
29149
29150 \series bold
29151 Note:
29152 \series default
29153  DVI-files doesn't contain images, they will only be a linked.
29154 \end_layout
29155
29156 \end_inset
29157
29158  So don't forget this, if you move your 
29159 \family typewriter
29160 .dvi
29161 \family default
29162  file to another computer.
29163  This property can also slow down your computer when you view the DVI.
29164  Because the DVI-viewer has to convert the image in the background to make
29165  it visible when you scroll in the DVI.
29166  So we recommend to use PDF for files with many images.
29167 \end_layout
29168
29169 \begin_layout Standard
29170 You can export your document to DVI by using the menu 
29171 \family sans
29172 File\SpecialChar \menuseparator
29173 Export\SpecialChar \menuseparator
29174 DVI
29175 \family default
29176 .
29177  You can view your document as DVI via the 
29178 \family sans
29179 View
29180 \family default
29181  menu or by using the toolbar button 
29182 \begin_inset Graphics
29183         filename ../images/buffer-view_dvi.xpm
29184         scale 85
29185         scaleBeforeRotation
29186
29187 \end_inset
29188
29189 .
29190 \end_layout
29191
29192 \begin_layout Section
29193 PostScript
29194 \begin_inset LatexCommand label
29195 name "sec:PostScript"
29196
29197 \end_inset
29198
29199
29200 \begin_inset LatexCommand index
29201 name "File Formats ! PostScript"
29202
29203 \end_inset
29204
29205
29206 \begin_inset LatexCommand index
29207 name "PostScript|see{File Formats}"
29208
29209 \end_inset
29210
29211
29212 \end_layout
29213
29214 \begin_layout Standard
29215 This file type has the extension 
29216 \begin_inset Quotes eld
29217 \end_inset
29218
29219
29220 \family typewriter
29221 .ps
29222 \family default
29223
29224 \begin_inset Quotes erd
29225 \end_inset
29226
29227 .
29228  PostScript was developed by the company 
29229 \family typewriter
29230 Adobe
29231 \family default
29232  as printer language.
29233  The file contains therefore commands that the printer uses to print the
29234  file.
29235  PostScript can be seen as 
29236 \begin_inset Quotes eld
29237 \end_inset
29238
29239 programming language
29240 \begin_inset Quotes erd
29241 \end_inset
29242
29243 ; you can calculate with it and draw diagrams and images
29244 \begin_inset Foot
29245 status collapsed
29246
29247 \begin_layout Standard
29248 If you are interested to learn more about this, have a look at the LaTeX-package
29249  
29250 \series bold
29251 PSTricks
29252 \series default
29253  
29254 \begin_inset LatexCommand cite
29255 key "pstricks"
29256
29257 \end_inset
29258
29259 .
29260 \end_layout
29261
29262 \end_inset
29263
29264 .
29265  Due to this ability, the files are often bigger than PDFs.
29266 \end_layout
29267
29268 \begin_layout Standard
29269 PostScript can only contain images in the format 
29270 \begin_inset Quotes eld
29271 \end_inset
29272
29273 Encapsulated PostScript
29274 \begin_inset Quotes erd
29275 \end_inset
29276
29277  (EPS, file extension 
29278 \begin_inset Quotes eld
29279 \end_inset
29280
29281
29282 \family typewriter
29283 .eps
29284 \family default
29285
29286 \begin_inset Quotes erd
29287 \end_inset
29288
29289 ).
29290  As LyX allows you to use any known image format in your document, it has
29291  to convert images in the background to EPS.
29292  If you have e.g 50 images in your document, LyX has to do 50 conversions
29293  whenever you view or export your document.
29294  This will slow down your work flow with LyX drastically.
29295  So if you plan to use PostScript, you can insert your images directly as
29296  EPS to avoid this problem.
29297 \end_layout
29298
29299 \begin_layout Standard
29300 You can export your document to PostScript using the menu 
29301 \family sans
29302 File\SpecialChar \menuseparator
29303 Export\SpecialChar \menuseparator
29304 Postscript
29305 \family default
29306 .
29307  You can view your document as PostScript via the 
29308 \family sans
29309 View
29310 \family default
29311  menu or by using the toolbar button 
29312 \begin_inset Graphics
29313         filename ../images/buffer-view_ps.xpm
29314         scale 85
29315         scaleBeforeRotation
29316
29317 \end_inset
29318
29319 .
29320 \end_layout
29321
29322 \begin_layout Section
29323 PDF
29324 \begin_inset LatexCommand label
29325 name "sec:PDF"
29326
29327 \end_inset
29328
29329
29330 \begin_inset LatexCommand index
29331 name "File Formats ! PDF"
29332
29333 \end_inset
29334
29335
29336 \begin_inset LatexCommand index
29337 name "PDF"
29338
29339 \end_inset
29340
29341
29342 \end_layout
29343
29344 \begin_layout Standard
29345 This file type has the extension 
29346 \begin_inset Quotes eld
29347 \end_inset
29348
29349
29350 \family typewriter
29351 .pdf
29352 \family default
29353
29354 \begin_inset Quotes erd
29355 \end_inset
29356
29357 .
29358  The 
29359 \begin_inset Quotes eld
29360 \end_inset
29361
29362 Portable Document Format
29363 \begin_inset Quotes erd
29364 \end_inset
29365
29366  (PDF) is developed by 
29367 \family typewriter
29368 Adobe
29369 \family default
29370  as derivative from PostScript.
29371  It is more compressed and it uses much less commands than PostScript.
29372  As the name 
29373 \begin_inset Quotes eld
29374 \end_inset
29375
29376 portable
29377 \begin_inset Quotes erd
29378 \end_inset
29379
29380  implies, it can be processed at any computer system and the printed output
29381  looks exactly the same.
29382 \end_layout
29383
29384 \begin_layout Standard
29385 PDF can contain images in its own PDF format, in the format 
29386 \begin_inset Quotes eld
29387 \end_inset
29388
29389 Joint Photographic Experts Group
29390 \begin_inset Quotes erd
29391 \end_inset
29392
29393  (JPG, file extension 
29394 \begin_inset Quotes eld
29395 \end_inset
29396
29397
29398 \family typewriter
29399 .jpg
29400 \family default
29401
29402 \begin_inset Quotes erd
29403 \end_inset
29404
29405  or 
29406 \begin_inset Quotes eld
29407 \end_inset
29408
29409
29410 \family typewriter
29411 .jpeg
29412 \family default
29413
29414 \begin_inset Quotes erd
29415 \end_inset
29416
29417 ), and in the format 
29418 \begin_inset Quotes eld
29419 \end_inset
29420
29421 Portable Network Graphics
29422 \begin_inset Quotes erd
29423 \end_inset
29424
29425  (PNG, file extension 
29426 \begin_inset Quotes eld
29427 \end_inset
29428
29429
29430 \family typewriter
29431 .png
29432 \family default
29433
29434 \begin_inset Quotes erd
29435 \end_inset
29436
29437 ).
29438  Nevertheless you can use any other image format, because LyX converts them
29439  in the background to one of these formats.
29440  But as described in the section about PostScript, the image conversion
29441  will slow down your work flow.
29442  So it is recommended to use images in one of the three mentioned formats.
29443 \end_layout
29444
29445 \begin_layout Standard
29446 You can export your document to PDF via the menu 
29447 \family sans
29448 File\SpecialChar \menuseparator
29449 Export
29450 \family default
29451  in three different ways:
29452 \end_layout
29453
29454 \begin_layout Description
29455 PDF\InsetSpace ~
29456 (ps2pdf) This uses the program 
29457 \family typewriter
29458 ps2pdf
29459 \family default
29460  that creates a PDF from a PostScript-version of your file.
29461  The PostScript-version is produced by the program 
29462 \family typewriter
29463 dvips
29464 \family default
29465  which uses a DVI-version as intermediate step.
29466  So this export variant consist of three conversions.
29467 \end_layout
29468
29469 \begin_layout Description
29470 PDF\InsetSpace ~
29471 (dvipdfm) This uses the program 
29472 \family typewriter
29473 dvipdfm
29474 \family default
29475  that converts your file in the background to DVI and in a second step to
29476  PDF.
29477 \end_layout
29478
29479 \begin_layout Description
29480 PDF\InsetSpace ~
29481 (pdflatex) This uses the program 
29482 \family typewriter
29483 pdftex
29484 \family default
29485  that converts your file directly to PDF.
29486 \end_layout
29487
29488 \begin_layout Standard
29489 It is recommended to use 
29490 \family sans
29491 PDF\InsetSpace ~
29492 (pdflatex)
29493 \family default
29494  because 
29495 \family typewriter
29496 pdftex
29497 \family default
29498  supports all features of actual PDF-versions, is quick and works stable
29499  without problems.
29500  The program 
29501 \family typewriter
29502 dvipdfm
29503 \family default
29504  is not under development and therefore a bit outdated.
29505 \end_layout
29506
29507 \begin_layout Standard
29508 You can view your document as PDF via the 
29509 \family sans
29510 View
29511 \family default
29512  menu or by using the toolbar button 
29513 \begin_inset Graphics
29514         filename ../images/buffer-view_pdf2.xpm
29515         scale 85
29516         scaleBeforeRotation
29517
29518 \end_inset
29519
29520  
29521 \family sans
29522 (
29523 \family default
29524 that uses 
29525 \family sans
29526 PDF\InsetSpace ~
29527 (pdflatex)
29528 \family default
29529 ).
29530 \end_layout
29531
29532 \begin_layout Chapter
29533 Explanation of Equation\InsetSpace ~
29534
29535 \begin_inset LatexCommand eqref
29536 reference "eq:Wgn"
29537
29538 \end_inset
29539
29540
29541 \begin_inset LatexCommand label
29542 name "cha:Explanation-of-Equation"
29543
29544 \end_inset
29545
29546
29547 \end_layout
29548
29549 \begin_layout Standard
29550 The total width of 
29551 \emph on
29552 n
29553 \emph default
29554  table cells 
29555 \begin_inset Formula $W_{\mathrm{tot\, n}}$
29556 \end_inset
29557
29558  can be calculated to
29559 \end_layout
29560
29561 \begin_layout Standard
29562 \begin_inset Formula \begin{equation}
29563 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
29564
29565 \end_inset
29566
29567
29568 \end_layout
29569
29570 \begin_layout Standard
29571 Where 
29572 \begin_inset Formula $W_{g\, n}$
29573 \end_inset
29574
29575  is the given width of all cells.
29576  
29577 \series bold
29578
29579 \backslash
29580 tabcolsep
29581 \series default
29582  is the LaTeX-length between the cell text and the cell border, its default
29583  value is 6\InsetSpace \thinspace{}
29584 pt.
29585  
29586 \series bold
29587
29588 \backslash
29589 arrayrulewidth
29590 \series default
29591  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
29592 pt.
29593 \end_layout
29594
29595 \begin_layout Standard
29596 Following equation\InsetSpace ~
29597
29598 \begin_inset LatexCommand eqref
29599 reference "eq:Wtot_n"
29600
29601 \end_inset
29602
29603 , the total width of a multicolumn 
29604 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
29605 \end_inset
29606
29607  is
29608 \end_layout
29609
29610 \begin_layout Standard
29611 \begin_inset Formula \begin{equation}
29612 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
29613
29614 \end_inset
29615
29616
29617 \end_layout
29618
29619 \begin_layout Standard
29620 By setting equation\InsetSpace ~
29621
29622 \begin_inset LatexCommand eqref
29623 reference "eq:Wtot_n"
29624
29625 \end_inset
29626
29627  and 
29628 \begin_inset LatexCommand eqref
29629 reference "eq:Wtot_mult"
29630
29631 \end_inset
29632
29633  equal we can calculate the needed given width 
29634 \begin_inset Formula $W_{g\, n}$
29635 \end_inset
29636
29637  when 
29638 \emph on
29639 n
29640 \emph default
29641  columns are spanned, so that each column has a total width of 
29642 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
29643 \end_inset
29644
29645 :
29646 \end_layout
29647
29648 \begin_layout Standard
29649 \begin_inset Formula \begin{equation}
29650 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
29651
29652 \end_inset
29653
29654
29655 \end_layout
29656
29657 \begin_layout Bibliography
29658 \begin_inset LatexCommand bibitem
29659 key "latexcompanion"
29660
29661 \end_inset
29662
29663 Frank Mittelbach and Michel Goossens: 
29664 \emph on
29665 The LaTeX Companion Second Edition.
29666
29667 \emph default
29668  Addison-Wesley, 2004
29669 \end_layout
29670
29671 \begin_layout Bibliography
29672 \begin_inset LatexCommand bibitem
29673 key "latexguide"
29674
29675 \end_inset
29676
29677 Helmut Kopka and Patrick W.
29678  Daly: 
29679 \emph on
29680 A Guide to LaTeX Fourth Edition.
29681
29682 \emph default
29683  Addison-Wesley, 2003
29684 \end_layout
29685
29686 \begin_layout Bibliography
29687 \begin_inset LatexCommand bibitem
29688 key "latexbook"
29689
29690 \end_inset
29691
29692 Leslie Lamport: 
29693 \emph on
29694 LaTeX: A Document Preparation System.
29695
29696 \emph default
29697  Addison-Wesley, second edition, 1994
29698 \end_layout
29699
29700 \begin_layout Bibliography
29701 \begin_inset LatexCommand bibitem
29702 key "booktabs"
29703
29704 \end_inset
29705
29706
29707 \begin_inset ERT
29708 status collapsed
29709
29710 \begin_layout Standard
29711
29712
29713 \backslash
29714 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
29715 {
29716 \end_layout
29717
29718 \end_inset
29719
29720 Documentation
29721 \begin_inset ERT
29722 status collapsed
29723
29724 \begin_layout Standard
29725
29726 }
29727 \end_layout
29728
29729 \end_inset
29730
29731  of the LaTeX-package 
29732 \series bold
29733 booktabs
29734 \series default
29735
29736 \begin_inset LatexCommand index
29737 name "LaTeX-packages ! booktabs"
29738
29739 \end_inset
29740
29741
29742 \end_layout
29743
29744 \begin_layout Bibliography
29745 \begin_inset LatexCommand bibitem
29746 key "caption"
29747
29748 \end_inset
29749
29750
29751 \begin_inset ERT
29752 status collapsed
29753
29754 \begin_layout Standard
29755
29756
29757 \backslash
29758 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29759 \end_layout
29760
29761 \end_inset
29762
29763 Documentation
29764 \begin_inset ERT
29765 status collapsed
29766
29767 \begin_layout Standard
29768
29769 }
29770 \end_layout
29771
29772 \end_inset
29773
29774  of the LaTeX-package 
29775 \series bold
29776 caption
29777 \series default
29778
29779 \begin_inset LatexCommand index
29780 name "LaTeX-packages ! caption"
29781
29782 \end_inset
29783
29784
29785 \end_layout
29786
29787 \begin_layout Bibliography
29788 \begin_inset LatexCommand bibitem
29789 key "caption-de"
29790
29791 \end_inset
29792
29793 German 
29794 \begin_inset ERT
29795 status collapsed
29796
29797 \begin_layout Standard
29798
29799
29800 \backslash
29801 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29802 {
29803 \end_layout
29804
29805 \end_inset
29806
29807 documentation
29808 \begin_inset ERT
29809 status collapsed
29810
29811 \begin_layout Standard
29812
29813 }
29814 \end_layout
29815
29816 \end_inset
29817
29818  of the LaTeX-package 
29819 \series bold
29820 caption
29821 \end_layout
29822
29823 \begin_layout Bibliography
29824 \begin_inset LatexCommand bibitem
29825 key "endfloat"
29826
29827 \end_inset
29828
29829
29830 \begin_inset ERT
29831 status collapsed
29832
29833 \begin_layout Standard
29834
29835
29836 \backslash
29837 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29838 {
29839 \end_layout
29840
29841 \end_inset
29842
29843 Documentation
29844 \begin_inset ERT
29845 status collapsed
29846
29847 \begin_layout Standard
29848
29849 }
29850 \end_layout
29851
29852 \end_inset
29853
29854  of the LaTeX-package 
29855 \series bold
29856 endf\SpecialChar \textcompwordmark{}
29857 loat
29858 \series default
29859
29860 \begin_inset LatexCommand index
29861 name "LaTeX-packages ! endfloat"
29862
29863 \end_inset
29864
29865
29866 \end_layout
29867
29868 \begin_layout Bibliography
29869 \begin_inset LatexCommand bibitem
29870 key "floatflt"
29871
29872 \end_inset
29873
29874
29875 \begin_inset ERT
29876 status collapsed
29877
29878 \begin_layout Standard
29879
29880
29881 \backslash
29882 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29883 {
29884 \end_layout
29885
29886 \end_inset
29887
29888 Documentation
29889 \begin_inset ERT
29890 status collapsed
29891
29892 \begin_layout Standard
29893
29894 }
29895 \end_layout
29896
29897 \end_inset
29898
29899  of the LaTeX-package 
29900 \series bold
29901 f\SpecialChar \textcompwordmark{}
29902 loatf\SpecialChar \textcompwordmark{}
29903 lt
29904 \series default
29905
29906 \begin_inset LatexCommand index
29907 name "LaTeX-packages ! floatflt"
29908
29909 \end_inset
29910
29911
29912 \end_layout
29913
29914 \begin_layout Bibliography
29915 \begin_inset LatexCommand bibitem
29916 key "footmisc"
29917
29918 \end_inset
29919
29920
29921 \begin_inset ERT
29922 status collapsed
29923
29924 \begin_layout Standard
29925
29926
29927 \backslash
29928 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29929 {
29930 \end_layout
29931
29932 \end_inset
29933
29934 Documentation
29935 \begin_inset ERT
29936 status collapsed
29937
29938 \begin_layout Standard
29939
29940 }
29941 \end_layout
29942
29943 \end_inset
29944
29945  of the LaTeX-package 
29946 \series bold
29947 footmisc
29948 \series default
29949
29950 \begin_inset LatexCommand index
29951 name "LaTeX-packages ! footmisc"
29952
29953 \end_inset
29954
29955
29956 \end_layout
29957
29958 \begin_layout Bibliography
29959 \begin_inset LatexCommand bibitem
29960 key "hypcap"
29961
29962 \end_inset
29963
29964
29965 \begin_inset ERT
29966 status collapsed
29967
29968 \begin_layout Standard
29969
29970
29971 \backslash
29972 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29973 \end_layout
29974
29975 \end_inset
29976
29977 Documentation
29978 \begin_inset ERT
29979 status collapsed
29980
29981 \begin_layout Standard
29982
29983 }
29984 \end_layout
29985
29986 \end_inset
29987
29988  of the LaTeX-package 
29989 \series bold
29990 hypcap
29991 \series default
29992
29993 \begin_inset LatexCommand index
29994 name "LaTeX-packages ! hyperref"
29995
29996 \end_inset
29997
29998
29999 \end_layout
30000
30001 \begin_layout Bibliography
30002 \begin_inset LatexCommand bibitem
30003 key "hyperref"
30004
30005 \end_inset
30006
30007
30008 \begin_inset ERT
30009 status collapsed
30010
30011 \begin_layout Standard
30012
30013
30014 \backslash
30015 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
30016 {
30017 \end_layout
30018
30019 \end_inset
30020
30021 Documentation
30022 \begin_inset ERT
30023 status collapsed
30024
30025 \begin_layout Standard
30026
30027 }
30028 \end_layout
30029
30030 \end_inset
30031
30032  of the LaTeX-package 
30033 \series bold
30034 hyperref
30035 \series default
30036
30037 \begin_inset LatexCommand index
30038 name "LaTeX-packages ! hyperref"
30039
30040 \end_inset
30041
30042
30043 \end_layout
30044
30045 \begin_layout Bibliography
30046 \begin_inset LatexCommand bibitem
30047 key "koma-script"
30048
30049 \end_inset
30050
30051
30052 \begin_inset ERT
30053 status collapsed
30054
30055 \begin_layout Standard
30056
30057
30058 \backslash
30059 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
30060 df}{
30061 \end_layout
30062
30063 \end_inset
30064
30065 Documentation
30066 \begin_inset ERT
30067 status collapsed
30068
30069 \begin_layout Standard
30070
30071 }
30072 \end_layout
30073
30074 \end_inset
30075
30076  of the LaTeX-package 
30077 \series bold
30078 koma-script
30079 \series default
30080
30081 \begin_inset LatexCommand index
30082 name "LaTeX-packages ! koma-script"
30083
30084 \end_inset
30085
30086
30087 \end_layout
30088
30089 \begin_layout Bibliography
30090 \begin_inset LatexCommand bibitem
30091 key "koma-script-de"
30092
30093 \end_inset
30094
30095 German 
30096 \begin_inset ERT
30097 status collapsed
30098
30099 \begin_layout Standard
30100
30101
30102 \backslash
30103 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
30104 df}{
30105 \end_layout
30106
30107 \end_inset
30108
30109 documentation
30110 \begin_inset ERT
30111 status collapsed
30112
30113 \begin_layout Standard
30114
30115 }
30116 \end_layout
30117
30118 \end_inset
30119
30120  of the LaTeX-package 
30121 \series bold
30122 koma-script
30123 \series default
30124
30125 \begin_inset LatexCommand index
30126 name "LaTeX-packages ! koma-script"
30127
30128 \end_inset
30129
30130
30131 \end_layout
30132
30133 \begin_layout Bibliography
30134 \begin_inset LatexCommand bibitem
30135 key "listings"
30136
30137 \end_inset
30138
30139
30140 \begin_inset ERT
30141 status collapsed
30142
30143 \begin_layout Standard
30144
30145
30146 \backslash
30147 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
30148 {
30149 \end_layout
30150
30151 \end_inset
30152
30153 Documentation
30154 \begin_inset ERT
30155 status collapsed
30156
30157 \begin_layout Standard
30158
30159 }
30160 \end_layout
30161
30162 \end_inset
30163
30164  of the LaTeX-package 
30165 \series bold
30166 listings
30167 \series default
30168
30169 \begin_inset LatexCommand index
30170 name "LaTeX-packages ! listings"
30171
30172 \end_inset
30173
30174
30175 \end_layout
30176
30177 \begin_layout Bibliography
30178 \begin_inset LatexCommand bibitem
30179 key "marginnote"
30180
30181 \end_inset
30182
30183
30184 \begin_inset ERT
30185 status collapsed
30186
30187 \begin_layout Standard
30188
30189
30190 \backslash
30191 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
30192 pdf}{
30193 \end_layout
30194
30195 \end_inset
30196
30197 Documentation
30198 \begin_inset ERT
30199 status collapsed
30200
30201 \begin_layout Standard
30202
30203 }
30204 \end_layout
30205
30206 \end_inset
30207
30208  of the LaTeX-package 
30209 \series bold
30210 marginnote
30211 \series default
30212
30213 \begin_inset LatexCommand index
30214 name "LaTeX-packages ! marginnote"
30215
30216 \end_inset
30217
30218
30219 \end_layout
30220
30221 \begin_layout Bibliography
30222 \begin_inset LatexCommand bibitem
30223 key "pstricks"
30224
30225 \end_inset
30226
30227
30228 \begin_inset ERT
30229 status collapsed
30230
30231 \begin_layout Standard
30232
30233
30234 \backslash
30235 href{http://tug.org/PSTricks/main.cgi/}{
30236 \end_layout
30237
30238 \end_inset
30239
30240 Web page
30241 \begin_inset ERT
30242 status collapsed
30243
30244 \begin_layout Standard
30245
30246 }
30247 \end_layout
30248
30249 \end_inset
30250
30251  of the LaTeX-package 
30252 \series bold
30253 PSTricks
30254 \series default
30255
30256 \begin_inset LatexCommand index
30257 name "LaTeX-packages ! PSTricks"
30258
30259 \end_inset
30260
30261
30262 \end_layout
30263
30264 \begin_layout Bibliography
30265 \begin_inset LatexCommand bibitem
30266 key "sidecap"
30267
30268 \end_inset
30269
30270
30271 \begin_inset ERT
30272 status collapsed
30273
30274 \begin_layout Standard
30275
30276
30277 \backslash
30278 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
30279 \end_layout
30280
30281 \end_inset
30282
30283 Documentation
30284 \begin_inset ERT
30285 status collapsed
30286
30287 \begin_layout Standard
30288
30289 }
30290 \end_layout
30291
30292 \end_inset
30293
30294  of the LaTeX-package 
30295 \series bold
30296 sidecap
30297 \series default
30298
30299 \begin_inset LatexCommand index
30300 name "LaTeX-packages ! sidecap"
30301
30302 \end_inset
30303
30304
30305 \end_layout
30306
30307 \begin_layout Bibliography
30308 \begin_inset LatexCommand bibitem
30309 key "NewInLyX15"
30310
30311 \end_inset
30312
30313
30314 \begin_inset ERT
30315 status collapsed
30316
30317 \begin_layout Standard
30318
30319
30320 \backslash
30321 href{http://wiki.lyx.org/LyX/NewInLyX15}{
30322 \end_layout
30323
30324 \end_inset
30325
30326 Wiki page
30327 \begin_inset ERT
30328 status collapsed
30329
30330 \begin_layout Standard
30331
30332 }
30333 \end_layout
30334
30335 \end_inset
30336
30337  about new LyX-features planned for the release 
30338 \family sans
30339 LyX 1.5
30340 \family default
30341 .0.
30342 \end_layout
30343
30344 \begin_layout Standard
30345 \begin_inset LatexCommand printindex
30346
30347 \end_inset
30348
30349
30350 \end_layout
30351
30352 \begin_layout Standard
30353 \begin_inset FloatList figure
30354
30355 \end_inset
30356
30357
30358 \end_layout
30359
30360 \begin_layout Standard
30361 \begin_inset FloatList table
30362
30363 \end_inset
30364
30365
30366 \end_layout
30367
30368 \end_body
30369 \end_document