]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
InsetListings: update EmbeddedObjects.lyx
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 271
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}} % if it exists
14  {% if it exists not
15   \usepackage[scaled=0.92]{helvet}
16   \usepackage{mathptmx}
17   \usepackage{courier}
18  } % end if it exists not
19
20 % link all cross references and URLs
21 % in pdf output
22  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24   pdfpagelayout=OneColumn, pdfnewwindow=true,
25   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26   pdfauthor={LyX Team}, pdftex,
27   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
30  
31 \else % if dvi or ps is produced
32
33  % link all cross references and URLs in DVI output
34  \usepackage[ps2pdf, colorlinks=true,
35   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
36
37 \fi % end if pdflatex is used
38
39 % that links to image floats jumps
40 % to the beginning of the float and 
41 % not to its caption
42 \usepackage[figure]{hypcap}
43
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
46 \pagenumbering{roman}
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49  \pdfbookmark[1]{Contents}{}
50  \myTOC
51  \cleardoublepage
52  \pagenumbering{arabic}}
53
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
56
57 % provides commands to set caption
58 % beside tables/images
59 \usepackage{sidecap}
60
61 \newcommand{\TabBesBeg}{%
62  \let\MyTable\table
63  \let\MyEndtable\endtable
64  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
65
66 \newcommand{\TabBesEnd}{%
67  \let\table\MyTable
68  \let\endtable\MyEndtable}
69
70 \newcommand{\FigBesBeg}{%
71  \let\MyFigure\figure
72  \let\MyEndfigure\endfigure
73  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
74
75 \newcommand{\FigBesEnd}{%
76  \let\figure\MyFigure
77  \let\endfigure\MyEndfigure}
78
79 % enables calculation of values,
80 \usepackage{calc}
81
82 % provides special table cell alignments
83 \usepackage{dcolumn}
84
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
87
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
91
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
94
95 % used for colored tables
96 \@ifundefined{textcolor}
97  {\usepackage{color}}{}
98 \usepackage{colortbl}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
101
102 % used for multirows
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
105
106 % used for book-style tables
107 \usepackage{booktabs}
108
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
111
112 % used for customized tables
113 % ---
114 \newcolumntype{M}[1]
115  {>{\centering\hspace{0pt}}m{#1}}
116
117 \newcolumntype{S}[2]
118  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
119
120 \newcolumntype{K}[1]
121  {>{\columncolor{#1}\hspace{0pt}}c}
122
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
124
125 \newcolumntype{W}{!{\color{green}\vline}}
126 % ---
127
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
131
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
134 \let\myFoot\footnote
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
136
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
143
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
146
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149  {\textcolor{blue}\bgroup}{\egroup}
150
151 % ------------------------------------
152 % used to check for needed LaTeX packages
153 \usepackage{ifthen}
154
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159  {\usepackage{arydshln}
160   \setboolean{arydshln}{true}}
161  {\setboolean{arydshln}{false}}
162
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167  {\usepackage{marginnote}
168   \let\marginpar\marginnote
169   \setboolean{marginnote}{true}}
170  {\setboolean{marginnote}{false}}
171 \end_preamble
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
173 \language english
174 \inputencoding auto
175 \font_roman default
176 \font_sans default
177 \font_typewriter default
178 \font_default_family default
179 \font_sc false
180 \font_osf false
181 \font_sf_scale 100
182 \font_tt_scale 100
183 \graphics default
184 \paperfontsize 12
185 \spacing single
186 \papersize default
187 \use_geometry false
188 \use_amsmath 2
189 \use_esint 0
190 \cite_engine basic
191 \use_bibtopic false
192 \paperorientation portrait
193 \secnumdepth 3
194 \tocdepth 3
195 \paragraph_separation skip
196 \defskip medskip
197 \quotes_language english
198 \papercolumns 1
199 \papersides 2
200 \paperpagestyle default
201 \bullet 1 1 34 -1
202 \bullet 2 2 35 -1
203 \bullet 3 2 7 -1
204 \tracking_changes false
205 \output_changes false
206 \author "Bo Peng" 
207 \author "usti" 
208 \author "muso" 
209 \author "Uwe Stöhr" 
210 \end_header
211
212 \begin_body
213
214 \begin_layout Title
215 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
216  manual
217 \end_layout
218
219 \begin_layout Author
220 by the LyX Team
221 \begin_inset Foot
222 status collapsed
223
224 \begin_layout Standard
225 \noindent
226 If you have comments or error corrections, please send them to the LyX Documenta
227 tion mailing list: 
228 \family typewriter
229
230 \begin_inset ERT
231 status open
232
233 \begin_layout Standard
234
235
236 \backslash
237 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
238 \end_layout
239
240 \end_inset
241
242 lyx-docs@lists.lyx.org
243 \begin_inset ERT
244 status collapsed
245
246 \begin_layout Standard
247
248 }
249 \end_layout
250
251 \end_inset
252
253
254 \end_layout
255
256 \end_inset
257
258
259 \begin_inset Note Note
260 status collapsed
261
262 \begin_layout Standard
263 original author: Uwe Stöhr
264 \end_layout
265
266 \end_inset
267
268
269 \newline
270
271 \newline
272
273 \family sans
274 Version 1.5.0-
275 \family default
276 1
277 \end_layout
278
279 \begin_layout Standard
280 \begin_inset LatexCommand tableofcontents
281
282 \end_inset
283
284
285 \end_layout
286
287 \begin_layout Standard
288 \begin_inset Note Note
289 status open
290
291 \begin_layout Standard
292 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
293  
294 \series bold
295 arydshln
296 \series default
297  and 
298 \series bold
299 marginnote
300 \series default
301  must be installed.
302  If they are not installed you can export the document anyway but the sections
303  where the packages are required won't appear in the output.
304 \end_layout
305
306 \begin_layout Standard
307 The latest PDF-version of this document can be found here:
308 \newline
309
310 \series bold
311 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
312 \end_layout
313
314 \end_inset
315
316
317 \end_layout
318
319 \begin_layout Chapter
320 Figures
321 \begin_inset LatexCommand label
322 name "cha:Figures"
323
324 \end_inset
325
326
327 \begin_inset LatexCommand index
328 name "Figures"
329
330 \end_inset
331
332
333 \begin_inset LatexCommand index
334 name "Graphics|see{Figures}"
335
336 \end_inset
337
338
339 \end_layout
340
341 \begin_layout Section
342 Graphics Dialog
343 \begin_inset LatexCommand index
344 name "Figures ! Graphics Dialog"
345
346 \end_inset
347
348
349 \begin_inset LatexCommand label
350 name "sec:Graphics-Dialog"
351
352 \end_inset
353
354
355 \end_layout
356
357 \begin_layout Standard
358 To insert an image into your document, place the cursor at the text position
359  you want and click on the toolbar icon 
360 \begin_inset Graphics
361         filename ../images/dialog-show-new-inset_graphics.xpm
362         scale 85
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         rotateOrigin center
567
568 \end_inset
569
570
571 \end_layout
572
573 \begin_layout Standard
574 This is the same image like the one above but in draft mode:
575 \end_layout
576
577 \begin_layout Standard
578 \align center
579 \begin_inset Graphics
580         filename clipart/mobius.eps
581         display color
582         scale 70
583         draft
584         rotateOrigin center
585
586 \end_inset
587
588
589 \end_layout
590
591 \begin_layout Section
592 Figure Floats
593 \begin_inset LatexCommand label
594 name "sec:Figure-Floats"
595
596 \end_inset
597
598
599 \begin_inset LatexCommand index
600 name "Floats ! Figures"
601
602 \end_inset
603
604
605 \begin_inset LatexCommand index
606 name "Figures ! Floats"
607
608 \end_inset
609
610
611 \end_layout
612
613 \begin_layout Standard
614 For general explanations about floats, have a look at section\InsetSpace ~
615
616 \begin_inset LatexCommand ref
617 reference "sec:FloatIntroduction"
618
619 \end_inset
620
621 .
622 \end_layout
623
624 \begin_layout Standard
625 The toolbar button 
626 \begin_inset Graphics
627         filename ../images/float-insert_figure.xpm
628         scale 85
629
630 \end_inset
631
632  and the menu 
633 \family sans
634 Insert\SpecialChar \menuseparator
635 Float\SpecialChar \menuseparator
636 Figure
637 \family default
638  inserts a float with a caption that has the label 
639 \begin_inset Quotes eld
640 \end_inset
641
642 Figure\InsetSpace ~
643 #:
644 \begin_inset Quotes erd
645 \end_inset
646
647  (# is the actual number).
648  You can insert the image above the caption, like in Figure\InsetSpace ~
649
650 \begin_inset LatexCommand ref
651 reference "fig:kill-plat"
652
653 \end_inset
654
655  or below the caption, like in Figure\InsetSpace ~
656
657 \begin_inset LatexCommand ref
658 reference "fig:escher"
659
660 \end_inset
661
662 .
663  More about the caption placement is described in section\InsetSpace ~
664
665 \begin_inset LatexCommand ref
666 reference "sec:Caption-Placement"
667
668 \end_inset
669
670 .
671 \end_layout
672
673 \begin_layout Standard
674 \begin_inset Float figure
675 wide false
676 sideways false
677 status open
678
679 \begin_layout Standard
680 \align center
681 \begin_inset Graphics
682         filename clipart/platypus.eps
683         display color
684         width 50col%
685         rotateOrigin center
686
687 \end_inset
688
689
690 \end_layout
691
692 \begin_layout Standard
693 \begin_inset Caption
694
695 \begin_layout Standard
696 \begin_inset LatexCommand label
697 name "fig:kill-plat"
698
699 \end_inset
700
701 A severely distorted platypus in a float.
702 \end_layout
703
704 \end_inset
705
706
707 \end_layout
708
709 \end_inset
710
711
712 \end_layout
713
714 \begin_layout Standard
715 \begin_inset Float figure
716 wide false
717 sideways false
718 status open
719
720 \begin_layout Standard
721 \begin_inset Caption
722
723 \begin_layout Standard
724 \begin_inset LatexCommand label
725 name "fig:escher"
726
727 \end_inset
728
729 M.C.
730  Escher on acid.
731 \end_layout
732
733 \end_inset
734
735
736 \end_layout
737
738 \begin_layout Standard
739 \align center
740 \begin_inset Graphics
741         filename clipart/escher-lsd.eps
742         display color
743         scale 80
744         rotateOrigin center
745
746 \end_inset
747
748
749 \end_layout
750
751 \end_inset
752
753
754 \end_layout
755
756 \begin_layout Standard
757 \begin_inset LatexCommand index
758 name "References ! to Figures"
759
760 \end_inset
761
762 Figure\InsetSpace ~
763
764 \begin_inset LatexCommand ref
765 reference "fig:kill-plat"
766
767 \end_inset
768
769  and 
770 \begin_inset LatexCommand ref
771 reference "fig:escher"
772
773 \end_inset
774
775  are examples of referenced figures.
776  Figures can be referenced in the text by referencing their label.
777  To do this insert a label in the caption using the menu 
778 \family sans
779 Insert\SpecialChar \menuseparator
780 Label
781 \family default
782  or the toolbar button 
783 \begin_inset Graphics
784         filename ../images/label-insert.xpm
785         scale 85
786
787 \end_inset
788
789 .
790  You can now refer to the label using the menu 
791 \family sans
792 Insert\SpecialChar \menuseparator
793 Cross\InsetSpace ~
794 reference
795 \family default
796  or the toolbar button 
797 \begin_inset Graphics
798         filename ../images/dialog-show-new-inset_ref.xpm
799         scale 85
800
801 \end_inset
802
803 .
804  It is important to use references to floats, rather than using vague references
805  like 
806 \begin_inset Quotes eld
807 \end_inset
808
809 the figure above
810 \begin_inset Quotes erd
811 \end_inset
812
813 , because as LaTeX will reposition the floats in the final document, it
814  might not be 
815 \begin_inset Quotes eld
816 \end_inset
817
818 above
819 \begin_inset Quotes erd
820 \end_inset
821
822  at all.
823 \newline
824 Referencing is explained in detail in section\InsetSpace ~
825
826 \begin_inset LatexCommand ref
827 reference "sec:Referencing-Floats"
828
829 \end_inset
830
831 .
832 \end_layout
833
834 \begin_layout Standard
835 Normally only one image is inserted to a figure float, but sometimes you
836  might want to use two images with separate subcaptions.
837  This can be set in the tab 
838 \family sans
839 Extra\InsetSpace ~
840 options
841 \family default
842  of the graphics dialog.
843  Choose there the option 
844 \family sans
845 Subfigure
846 \family default
847  and enter the subcaption for the image in the caption field.
848  Note that only the main caption of the float is added to the List of Figures.
849 \newline
850 Ref
851 erencing subfigures is explained in section\InsetSpace ~
852
853 \begin_inset LatexCommand ref
854 reference "sub:Referencing-Subfigures"
855
856 \end_inset
857
858 .
859 \end_layout
860
861 \begin_layout Standard
862 Figure\InsetSpace ~
863
864 \begin_inset LatexCommand ref
865 reference "fig:Two-distorted-images"
866
867 \end_inset
868
869  is an example of a figure float with two images set side by side.
870  You can also set the images one below the other.
871 \end_layout
872
873 \begin_layout Standard
874 \begin_inset Float figure
875 wide false
876 sideways false
877 status open
878
879 \begin_layout Standard
880
881 \hfill
882
883 \begin_inset Graphics
884         filename clipart/escher-lsd.eps
885         width 45col%
886         subcaption
887         subcaptionText "Undefinable structure"
888
889 \end_inset
890
891
892 \hfill
893
894 \begin_inset Graphics
895         filename clipart/platypus.eps
896         lyxscale 60
897         width 45col%
898         subcaption
899         subcaptionText "\label{fig:Platypus} Platypus"
900
901 \end_inset
902
903
904 \hfill
905
906 \end_layout
907
908 \begin_layout Standard
909 \begin_inset Caption
910
911 \begin_layout Standard
912 \begin_inset LatexCommand label
913 name "fig:Two-distorted-images"
914
915 \end_inset
916
917 Two distorted images.
918 \end_layout
919
920 \end_inset
921
922
923 \end_layout
924
925 \end_inset
926
927
928 \end_layout
929
930 \begin_layout Section
931 Image Formats
932 \begin_inset LatexCommand label
933 name "sec:Image-Formats"
934
935 \end_inset
936
937
938 \begin_inset LatexCommand index
939 name "Image Formats"
940
941 \end_inset
942
943
944 \begin_inset LatexCommand index
945 name "Figures ! Image Formats"
946
947 \end_inset
948
949
950 \end_layout
951
952 \begin_layout Standard
953 You can insert images in any known file format.
954  But as explained in appendix\InsetSpace ~
955
956 \begin_inset LatexCommand ref
957 reference "cha:Output-File-Formats"
958
959 \end_inset
960
961 , every output document format allows only a few image formats.
962  LyX uses therefore the program 
963 \family typewriter
964 Imagemagick
965 \family default
966  in the background to convert the images to the right format.
967  To increase your work flow by avoiding these conversions in the background,
968  you can use only the image formats that can directly be embedded in the
969  output file format.
970  The output file formats are explained in appendix\InsetSpace ~
971
972 \begin_inset LatexCommand ref
973 reference "cha:Output-File-Formats"
974
975 \end_inset
976
977 .
978 \end_layout
979
980 \begin_layout Standard
981 Similar to fonts there are two types of image formats:
982 \end_layout
983
984 \begin_layout Description
985 Bitmap\InsetSpace ~
986 images consist of pixel values, often in a compressed form.
987  They are therefore not fully scalable and look pixeled in large zooms.
988  Well-known bitmap image formats are 
989 \begin_inset Quotes eld
990 \end_inset
991
992 Graphics Interchange Format
993 \begin_inset Quotes erd
994 \end_inset
995
996  (GIF, file extension 
997 \begin_inset Quotes eld
998 \end_inset
999
1000
1001 \family typewriter
1002 .gif
1003 \family default
1004
1005 \begin_inset Quotes erd
1006 \end_inset
1007
1008 )
1009 \begin_inset LatexCommand index
1010 name "GIF|see{Image formats}"
1011
1012 \end_inset
1013
1014
1015 \begin_inset Quotes eld
1016 \end_inset
1017
1018 Portable Network Graphics
1019 \begin_inset Quotes erd
1020 \end_inset
1021
1022  (PNG, file extension 
1023 \begin_inset Quotes eld
1024 \end_inset
1025
1026
1027 \family typewriter
1028 .png
1029 \family default
1030
1031 \begin_inset Quotes erd
1032 \end_inset
1033
1034 )
1035 \begin_inset LatexCommand index
1036 name "PNG|see{Image formats}"
1037
1038 \end_inset
1039
1040 , and 
1041 \begin_inset Quotes eld
1042 \end_inset
1043
1044 Joint Photographic Experts Group
1045 \begin_inset Quotes erd
1046 \end_inset
1047
1048  (JPG, file extension 
1049 \begin_inset Quotes eld
1050 \end_inset
1051
1052
1053 \family typewriter
1054 .jpg
1055 \family default
1056
1057 \begin_inset Quotes erd
1058 \end_inset
1059
1060  or 
1061 \begin_inset Quotes eld
1062 \end_inset
1063
1064
1065 \family typewriter
1066 .jpeg
1067 \family default
1068
1069 \begin_inset Quotes erd
1070 \end_inset
1071
1072 )
1073 \begin_inset LatexCommand index
1074 name "JPG|see{Image formats}"
1075
1076 \end_inset
1077
1078 .
1079 \end_layout
1080
1081 \begin_layout Description
1082 Vector\InsetSpace ~
1083 images consist of vectors and can therefore be scaled to any size
1084  without data loss.
1085  The scaling ability is necessary if you want to create presentations, because
1086  presentations are always scaled by the video projector.
1087  Scaling is also useful for online documents to let the user zoom into diagrams.
1088 \newline
1089 W
1090 ell-known scalable image formats are 
1091 \begin_inset Quotes eld
1092 \end_inset
1093
1094 Scalable Vector Graphics
1095 \begin_inset Quotes erd
1096 \end_inset
1097
1098  (SVG, file extension 
1099 \begin_inset Quotes eld
1100 \end_inset
1101
1102
1103 \family typewriter
1104 .svg
1105 \family default
1106
1107 \begin_inset Quotes erd
1108 \end_inset
1109
1110 )
1111 \begin_inset LatexCommand index
1112 name "SVG|see{Image formats}"
1113
1114 \end_inset
1115
1116
1117 \begin_inset Quotes eld
1118 \end_inset
1119
1120 Encapsulated PostScript
1121 \begin_inset Quotes erd
1122 \end_inset
1123
1124  (EPS, file extension 
1125 \begin_inset Quotes eld
1126 \end_inset
1127
1128
1129 \family typewriter
1130 .eps
1131 \family default
1132
1133 \begin_inset Quotes erd
1134 \end_inset
1135
1136 )
1137 \begin_inset LatexCommand index
1138 name "EPS|see{Image formats}"
1139
1140 \end_inset
1141
1142
1143 \begin_inset Quotes eld
1144 \end_inset
1145
1146 Portable Document Format
1147 \begin_inset Quotes erd
1148 \end_inset
1149
1150  (PDF, file extension 
1151 \begin_inset Quotes eld
1152 \end_inset
1153
1154
1155 \family typewriter
1156 .pdf
1157 \family default
1158
1159 \begin_inset Quotes erd
1160 \end_inset
1161
1162 )
1163 \begin_inset LatexCommand index
1164 name "PDF"
1165
1166 \end_inset
1167
1168 , and 
1169 \begin_inset Quotes eld
1170 \end_inset
1171
1172 Windows Metafile
1173 \begin_inset Quotes erd
1174 \end_inset
1175
1176  (WMF, file extension 
1177 \begin_inset Quotes eld
1178 \end_inset
1179
1180
1181 \family typewriter
1182 .wmf
1183 \family default
1184
1185 \begin_inset Quotes erd
1186 \end_inset
1187
1188 )
1189 \begin_inset LatexCommand index
1190 name "SVG|see{Image formats}"
1191
1192 \end_inset
1193
1194 .
1195  We wrote 
1196 \begin_inset Quotes eld
1197 \end_inset
1198
1199 can be
1200 \begin_inset Quotes erd
1201 \end_inset
1202
1203 , because you can convert any bitmap image to a PDF or EPS-image and the
1204  result will still be a bitmap image.
1205  In this cases only a header with the image properties is added to the original
1206  image
1207 \begin_inset Foot
1208 status open
1209
1210 \begin_layout Standard
1211 In the case of PDF, the original image is additionally compressed.
1212 \end_layout
1213
1214 \end_inset
1215
1216 .
1217  The PDF-files generated by 
1218 \family typewriter
1219 Adobe Photoshop
1220 \family default
1221  are for example bitmap images.
1222 \end_layout
1223
1224 \begin_layout Standard
1225 Normally it is not possible to convert a bitmap image into a scalable one,
1226  only vice versa.
1227  Only the image formats PDF and EPS can directly be embedded to PDF and
1228  PostScript output files, respectively.
1229  SVG and WMF-images are currently recalculated to bitmaps when the output
1230  file is generated because there is currently no adequate WMF/SVG
1231 \begin_inset Formula $\to$
1232 \end_inset
1233
1234 PDF/EPS converter available.
1235 \end_layout
1236
1237 \begin_layout Chapter
1238 Tables
1239 \begin_inset LatexCommand label
1240 name "cha:Tables"
1241
1242 \end_inset
1243
1244
1245 \begin_inset LatexCommand index
1246 name "Table"
1247
1248 \end_inset
1249
1250
1251 \end_layout
1252
1253 \begin_layout Section
1254 Introduction
1255 \begin_inset LatexCommand index
1256 name "Table ! Introduction"
1257
1258 \end_inset
1259
1260
1261 \end_layout
1262
1263 \begin_layout Standard
1264 You can insert a table using either the toolbar button 
1265 \begin_inset Graphics
1266         filename ../images/tabular-insert.xpm
1267         scale 85
1268
1269 \end_inset
1270
1271  or the menu 
1272 \family sans
1273 Insert\SpecialChar \menuseparator
1274 Table
1275 \family default
1276 .
1277  The toolbar button offers you a graphical selection: Move the mouse to
1278  set the column/row number of the table that should be created and then
1279  press a mouse button.
1280  When you use the menu to create a table, a dialog will appear, asking you
1281  for the number of rows and columns.
1282 \newline
1283  The default table has lines around any
1284  cell and the first row appears separated from the rest of the table.
1285  This separation occurs due to a double line: The cells of the first row
1286  have a line below them and the cells of the second row have a line above
1287  them.
1288  Here is an example table:
1289 \end_layout
1290
1291 \begin_layout Standard
1292 \align center
1293 \begin_inset Tabular
1294 <lyxtabular version="3" rows="4" columns="4">
1295 <features>
1296 <column alignment="center" valignment="top" leftline="true" width="0">
1297 <column alignment="center" valignment="top" leftline="true" width="0">
1298 <column alignment="center" valignment="top" leftline="true" width="0">
1299 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1300 <row topline="true" bottomline="true">
1301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1302 \begin_inset Text
1303
1304 \begin_layout Standard
1305
1306 \end_layout
1307
1308 \end_inset
1309 </cell>
1310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1311 \begin_inset Text
1312
1313 \begin_layout Standard
1314
1315 \family roman
1316 \series medium
1317 \shape up
1318 \size normal
1319 \emph off
1320 \bar no
1321 \noun off
1322 \color none
1323 1
1324 \end_layout
1325
1326 \end_inset
1327 </cell>
1328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1329 \begin_inset Text
1330
1331 \begin_layout Standard
1332 2
1333 \end_layout
1334
1335 \end_inset
1336 </cell>
1337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1338 \begin_inset Text
1339
1340 \begin_layout Standard
1341 3
1342 \end_layout
1343
1344 \end_inset
1345 </cell>
1346 </row>
1347 <row topline="true">
1348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1349 \begin_inset Text
1350
1351 \begin_layout Standard
1352
1353 \family roman
1354 \series medium
1355 \shape up
1356 \size normal
1357 \emph off
1358 \bar no
1359 \noun off
1360 \color none
1361 A
1362 \end_layout
1363
1364 \end_inset
1365 </cell>
1366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1367 \begin_inset Text
1368
1369 \begin_layout Standard
1370
1371 \end_layout
1372
1373 \end_inset
1374 </cell>
1375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1376 \begin_inset Text
1377
1378 \begin_layout Standard
1379
1380 \end_layout
1381
1382 \end_inset
1383 </cell>
1384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1385 \begin_inset Text
1386
1387 \begin_layout Standard
1388
1389 \end_layout
1390
1391 \end_inset
1392 </cell>
1393 </row>
1394 <row topline="true">
1395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1396 \begin_inset Text
1397
1398 \begin_layout Standard
1399
1400 \family roman
1401 \series medium
1402 \shape up
1403 \size normal
1404 \emph off
1405 \bar no
1406 \noun off
1407 \color none
1408 B
1409 \end_layout
1410
1411 \end_inset
1412 </cell>
1413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1414 \begin_inset Text
1415
1416 \begin_layout Standard
1417
1418 \end_layout
1419
1420 \end_inset
1421 </cell>
1422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1423 \begin_inset Text
1424
1425 \begin_layout Standard
1426
1427 \end_layout
1428
1429 \end_inset
1430 </cell>
1431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1432 \begin_inset Text
1433
1434 \begin_layout Standard
1435
1436 \end_layout
1437
1438 \end_inset
1439 </cell>
1440 </row>
1441 <row topline="true" bottomline="true">
1442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1443 \begin_inset Text
1444
1445 \begin_layout Standard
1446
1447 \family roman
1448 \series medium
1449 \shape up
1450 \size normal
1451 \emph off
1452 \bar no
1453 \noun off
1454 \color none
1455 C
1456 \end_layout
1457
1458 \end_inset
1459 </cell>
1460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1461 \begin_inset Text
1462
1463 \begin_layout Standard
1464
1465 \end_layout
1466
1467 \end_inset
1468 </cell>
1469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1470 \begin_inset Text
1471
1472 \begin_layout Standard
1473
1474 \end_layout
1475
1476 \end_inset
1477 </cell>
1478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1479 \begin_inset Text
1480
1481 \begin_layout Standard
1482
1483 \end_layout
1484
1485 \end_inset
1486 </cell>
1487 </row>
1488 </lyxtabular>
1489
1490 \end_inset
1491
1492
1493 \end_layout
1494
1495 \begin_layout Section
1496 Table Dialog
1497 \begin_inset LatexCommand index
1498 name "Table ! Dialog"
1499
1500 \end_inset
1501
1502
1503 \end_layout
1504
1505 \begin_layout Standard
1506 You can alter a table by clicking on it with the right mouse button, which
1507  brings up the table dialog.
1508  Here you can adjust the settings of that cell and row/column respectively
1509  where the cursor is currently placed.
1510  Most of the dialog options also work on selections.
1511  This means if you select more cells, columns or rows, the action is done
1512  for the whole selection.
1513  Note that there is a difference between selecting the 
1514 \emph on
1515 contents
1516 \emph default
1517  of the cell, and the cell itself.
1518  You can alter tables with the following tabs of the table dialog:
1519 \end_layout
1520
1521 \begin_layout Description
1522
1523 \family sans
1524 Table\InsetSpace ~
1525 Settings
1526 \family default
1527  Here you can set the horizontal alignment and the width of the current
1528  column.
1529  When you have set a width you can also adjust the vertical alignment of
1530  the current row.
1531  A given width will allow the cell to have line breaks and multiple paragraphs
1532  of text, see section\InsetSpace ~
1533
1534 \begin_inset LatexCommand ref
1535 reference "sub:Multiple-Lines-in"
1536
1537 \end_inset
1538
1539 .
1540  If you set no width, the column is as wide as their widest cell content
1541  is.
1542 \newline
1543 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1544  cell, see section\InsetSpace ~
1545
1546 \begin_inset LatexCommand ref
1547 reference "sub:Multicolumns"
1548
1549 \end_inset
1550
1551 .
1552 \newline
1553 The rotate check boxes rotates the current cell, a selection, or the whole
1554  table counter-clockwise by 90°.
1555  The rotation is not shown within LyX, only in the output.
1556 \newline
1557
1558 \begin_inset Note Greyedout
1559 status open
1560
1561 \begin_layout Standard
1562
1563 \series bold
1564 Note:
1565 \series default
1566  Not all DVI-viewers are able to display rotations.
1567 \end_layout
1568
1569 \end_inset
1570
1571
1572 \newline
1573 It is also possible to enter a LaTeX-argument which is needed for special
1574  table formattings, see section\InsetSpace ~
1575
1576 \begin_inset LatexCommand ref
1577 reference "sub:Multicolumn-Calculations"
1578
1579 \end_inset
1580
1581  and 
1582 \begin_inset LatexCommand ref
1583 reference "sec:Colored-Tables"
1584
1585 \end_inset
1586
1587 .
1588 \end_layout
1589
1590 \begin_layout Description
1591
1592 \family sans
1593 Borders
1594 \family default
1595  In this tab you can add and delete border lines for the current row/column.
1596 \newline
1597 Using
1598  the style option 
1599 \family sans
1600 Formal
1601 \family default
1602  will convert the table to a formal table as described in section\InsetSpace ~
1603
1604 \begin_inset LatexCommand ref
1605 reference "sec:Formal-Tables"
1606
1607 \end_inset
1608
1609 .
1610 \newline
1611 You can also add here space to table rows as decribed in section\InsetSpace ~
1612
1613 \begin_inset LatexCommand ref
1614 reference "sub:Row-Spacing"
1615
1616 \end_inset
1617
1618 .
1619 \end_layout
1620
1621 \begin_layout Description
1622
1623 \family sans
1624 Longtable
1625 \family default
1626  This tab is to make a table a so called 
1627 \begin_inset Quotes eld
1628 \end_inset
1629
1630
1631 \emph on
1632 longtable
1633 \emph default
1634
1635 \begin_inset Quotes erd
1636 \end_inset
1637
1638  that can run over several pages.
1639  Section\InsetSpace ~
1640
1641 \begin_inset LatexCommand ref
1642 reference "sec:Longtables"
1643
1644 \end_inset
1645
1646  and 
1647 \begin_inset LatexCommand ref
1648 reference "sec:Special-Longtable-Issues"
1649
1650 \end_inset
1651
1652  describe the longtable features in detail.
1653 \end_layout
1654
1655 \begin_layout Standard
1656 When the table toolbar is opened, you can move the cursor with the arrow
1657  keys from cell to cell and the property of the current cell will immediately
1658  be displayed in the dialog.
1659 \end_layout
1660
1661 \begin_layout Section
1662 Table Toolbar
1663 \begin_inset LatexCommand index
1664 name "Table ! Toolbar"
1665
1666 \end_inset
1667
1668
1669 \end_layout
1670
1671 \begin_layout Standard
1672 The table toolbar is an alternative to the table dialog to be able to alter
1673  tables faster.
1674  It should normally appear at the bottom of LyX's main window when the cursor
1675  is inside a table.
1676  You can alternatively switch it on to appear always, by right-clicking
1677  in LyX's main menu bar.
1678 \end_layout
1679
1680 \begin_layout Standard
1681 The toolbar has the following icons:
1682 \end_layout
1683
1684 \begin_layout Labeling
1685 \labelwidthstring 00.00.0000
1686 \begin_inset Graphics
1687         filename ../images/tabular-feature_append-row.xpm
1688
1689 \end_inset
1690
1691  adds a row below the current cell or selection
1692 \end_layout
1693
1694 \begin_layout Labeling
1695 \labelwidthstring 00.00.0000
1696 \begin_inset Graphics
1697         filename ../images/tabular-feature_append-column.xpm
1698
1699 \end_inset
1700
1701  adds a column right beside the current cell or selection
1702 \end_layout
1703
1704 \begin_layout Labeling
1705 \labelwidthstring 00.00.0000
1706 \begin_inset Graphics
1707         filename ../images/tabular-feature_delete-row.xpm
1708
1709 \end_inset
1710
1711  deletes the current row or selection
1712 \end_layout
1713
1714 \begin_layout Labeling
1715 \labelwidthstring 00.00.0000
1716 \begin_inset Graphics
1717         filename ../images/tabular-feature_delete-column.xpm
1718
1719 \end_inset
1720
1721  deletes the current column or selection
1722 \end_layout
1723
1724 \begin_layout Labeling
1725 \labelwidthstring 00.00.0000
1726 \begin_inset Graphics
1727         filename ../images/tabular-feature_toggle-line-top.xpm
1728
1729 \end_inset
1730
1731  adds a line at the top of the current cell / row or of a selection
1732 \end_layout
1733
1734 \begin_layout Labeling
1735 \labelwidthstring 00.00.0000
1736 \begin_inset Graphics
1737         filename ../images/tabular-feature_toggle-line-bottom.xpm
1738
1739 \end_inset
1740
1741  adds a line at the bottom of the current cell / row or of a selection
1742 \end_layout
1743
1744 \begin_layout Labeling
1745 \labelwidthstring 00.00.0000
1746 \begin_inset Graphics
1747         filename ../images/tabular-feature_toggle-line-left.xpm
1748
1749 \end_inset
1750
1751  adds a line at the left side of the current cell / row or of a selection
1752 \end_layout
1753
1754 \begin_layout Labeling
1755 \labelwidthstring 00.00.0000
1756 \begin_inset Graphics
1757         filename ../images/tabular-feature_toggle-line-right.xpm
1758
1759 \end_inset
1760
1761  adds a line at the right side of the current cell / row or of a selection
1762 \end_layout
1763
1764 \begin_layout Labeling
1765 \labelwidthstring 00.00.0000
1766 \begin_inset Graphics
1767         filename ../images/tabular-feature_set-all-lines.xpm
1768
1769 \end_inset
1770
1771  adds lines around the current or selected cells - if the current cell no
1772  multicolumn this also affects the current row and column
1773 \end_layout
1774
1775 \begin_layout Labeling
1776 \labelwidthstring 00.00.0000
1777 \begin_inset Graphics
1778         filename ../images/tabular-feature_unset-all-lines.xpm
1779
1780 \end_inset
1781
1782  deletes all lines of the current or selected cells - if the current cell
1783  no multicolumn this also affects the current row and column
1784 \end_layout
1785
1786 \begin_layout Labeling
1787 \labelwidthstring 00.00.0000
1788 \begin_inset Graphics
1789         filename ../images/tabular-feature_align-left.xpm
1790
1791 \end_inset
1792
1793  left-aligns the content of the current cell / column
1794 \end_layout
1795
1796 \begin_layout Labeling
1797 \labelwidthstring 00.00.0000
1798 \begin_inset Graphics
1799         filename ../images/tabular-feature_align-center.xpm
1800
1801 \end_inset
1802
1803  centers the content of the current cell / column horizontally
1804 \end_layout
1805
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Graphics
1809         filename ../images/tabular-feature_align-right.xpm
1810
1811 \end_inset
1812
1813  right-aligns the content of the current cell / column
1814 \end_layout
1815
1816 \begin_layout Labeling
1817 \labelwidthstring 00.00.0000
1818 \begin_inset Graphics
1819         filename ../images/tabular-feature_valign-top.xpm
1820
1821 \end_inset
1822
1823  aligns the content of the current cell vertically to the top
1824 \end_layout
1825
1826 \begin_layout Labeling
1827 \labelwidthstring 00.00.0000
1828 \begin_inset Graphics
1829         filename ../images/tabular-feature_valign-middle.xpm
1830
1831 \end_inset
1832
1833  centers the content of the current cell vertically
1834 \end_layout
1835
1836 \begin_layout Labeling
1837 \labelwidthstring 00.00.0000
1838 \begin_inset Graphics
1839         filename ../images/tabular-feature_valign-bottom.xpm
1840
1841 \end_inset
1842
1843  aligns the content of the current cell vertically to the bottom
1844 \end_layout
1845
1846 \begin_layout Labeling
1847 \labelwidthstring 00.00.0000
1848 \begin_inset Graphics
1849         filename ../images/tabular-feature_set-rotate-cell.xpm
1850
1851 \end_inset
1852
1853  rotates the current cell or selection counter-clockwise by 90°
1854 \end_layout
1855
1856 \begin_layout Labeling
1857 \labelwidthstring 00.00.0000
1858 \begin_inset Graphics
1859         filename ../images/tabular-feature_set-rotate-tabular.xpm
1860
1861 \end_inset
1862
1863  rotates the whole table counter-clockwise by 90°
1864 \end_layout
1865
1866 \begin_layout Labeling
1867 \labelwidthstring 00.00.0000
1868 \begin_inset Graphics
1869         filename ../images/tabular-feature_multicolumn.xpm
1870
1871 \end_inset
1872
1873  sets the current cell or selection as a multicolumn
1874 \end_layout
1875
1876 \begin_layout Standard
1877 \begin_inset Note Greyedout
1878 status open
1879
1880 \begin_layout Standard
1881
1882 \series bold
1883 Note:
1884 \series default
1885  For the output the vertical alignment of the first cell in a row is used
1886  for all following cells in the row.
1887 \end_layout
1888
1889 \end_inset
1890
1891
1892 \end_layout
1893
1894 \begin_layout Section
1895 Edit Table Menu
1896 \begin_inset LatexCommand index
1897 name "Table ! Edit Menu"
1898
1899 \end_inset
1900
1901
1902 \end_layout
1903
1904 \begin_layout Standard
1905 Additionally to the table dialog and toolbar, the menu 
1906 \family sans
1907 Edit\SpecialChar \menuseparator
1908 Table
1909 \family default
1910  allows you to add and delete border lines for the current row/column and
1911  to set the current selection as multicolumn.
1912  The menu is only available when the cursor is inside a table.
1913 \end_layout
1914
1915 \begin_layout Section
1916 Table Floats
1917 \begin_inset LatexCommand label
1918 name "sec:Table-Floats"
1919
1920 \end_inset
1921
1922
1923 \begin_inset LatexCommand index
1924 name "Floats ! Tables"
1925
1926 \end_inset
1927
1928
1929 \begin_inset LatexCommand index
1930 name "Table ! Floats"
1931
1932 \end_inset
1933
1934
1935 \end_layout
1936
1937 \begin_layout Standard
1938 For general explanations about floats, have a look at section\InsetSpace ~
1939
1940 \begin_inset LatexCommand ref
1941 reference "sec:FloatIntroduction"
1942
1943 \end_inset
1944
1945 .
1946 \end_layout
1947
1948 \begin_layout Standard
1949 \begin_inset Float table
1950 placement h
1951 wide false
1952 sideways false
1953 status open
1954
1955 \begin_layout Standard
1956 \begin_inset Caption
1957
1958 \begin_layout Standard
1959 \begin_inset LatexCommand label
1960 name "tab:a table float"
1961
1962 \end_inset
1963
1964 A table float.
1965 \end_layout
1966
1967 \end_inset
1968
1969
1970 \end_layout
1971
1972 \begin_layout Standard
1973 \align center
1974 \begin_inset Tabular
1975 <lyxtabular version="3" rows="3" columns="3">
1976 <features>
1977 <column alignment="center" valignment="top" leftline="true" width="0pt">
1978 <column alignment="center" valignment="top" leftline="true" width="0pt">
1979 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1980 <row topline="true" bottomline="true">
1981 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1982 \begin_inset Text
1983
1984 \begin_layout Standard
1985
1986 \family roman
1987 \series medium
1988 \shape up
1989 \size normal
1990 \emph off
1991 \bar no
1992 \noun off
1993 \color none
1994 1
1995 \end_layout
1996
1997 \end_inset
1998 </cell>
1999 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2000 \begin_inset Text
2001
2002 \begin_layout Standard
2003
2004 \family roman
2005 \series medium
2006 \shape up
2007 \size normal
2008 \emph off
2009 \bar no
2010 \noun off
2011 \color none
2012 2
2013 \end_layout
2014
2015 \end_inset
2016 </cell>
2017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2018 \begin_inset Text
2019
2020 \begin_layout Standard
2021
2022 \family roman
2023 \series medium
2024 \shape up
2025 \size normal
2026 \emph off
2027 \bar no
2028 \noun off
2029 \color none
2030 3
2031 \end_layout
2032
2033 \end_inset
2034 </cell>
2035 </row>
2036 <row topline="true">
2037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2038 \begin_inset Text
2039
2040 \begin_layout Standard
2041
2042 \family roman
2043 \series medium
2044 \shape up
2045 \size normal
2046 \emph off
2047 \bar no
2048 \noun off
2049 \color none
2050 Joe
2051 \end_layout
2052
2053 \end_inset
2054 </cell>
2055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2056 \begin_inset Text
2057
2058 \begin_layout Standard
2059
2060 \family roman
2061 \series medium
2062 \shape up
2063 \size normal
2064 \emph off
2065 \bar no
2066 \noun off
2067 \color none
2068 Mary
2069 \end_layout
2070
2071 \end_inset
2072 </cell>
2073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2074 \begin_inset Text
2075
2076 \begin_layout Standard
2077
2078 \family roman
2079 \series medium
2080 \shape up
2081 \size normal
2082 \emph off
2083 \bar no
2084 \noun off
2085 \color none
2086 Ted
2087 \end_layout
2088
2089 \end_inset
2090 </cell>
2091 </row>
2092 <row topline="true" bottomline="true">
2093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2094 \begin_inset Text
2095
2096 \begin_layout Standard
2097
2098 \family roman
2099 \series medium
2100 \shape up
2101 \size normal
2102 \emph off
2103 \bar no
2104 \noun off
2105 \color none
2106 \begin_inset Formula $\int x^{2}dx$
2107 \end_inset
2108
2109
2110 \end_layout
2111
2112 \end_inset
2113 </cell>
2114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2115 \begin_inset Text
2116
2117 \begin_layout Standard
2118
2119 \family roman
2120 \series medium
2121 \shape up
2122 \size normal
2123 \emph off
2124 \bar no
2125 \noun off
2126 \color none
2127 \begin_inset Formula $\left[\begin{array}{cc}
2128 a & b\\
2129 c & d\end{array}\right]$
2130 \end_inset
2131
2132
2133 \end_layout
2134
2135 \end_inset
2136 </cell>
2137 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2138 \begin_inset Text
2139
2140 \begin_layout Standard
2141
2142 \family roman
2143 \series medium
2144 \shape up
2145 \size normal
2146 \emph off
2147 \bar no
2148 \noun off
2149 \color none
2150 \begin_inset Formula $1+1=2$
2151 \end_inset
2152
2153
2154 \end_layout
2155
2156 \end_inset
2157 </cell>
2158 </row>
2159 </lyxtabular>
2160
2161 \end_inset
2162
2163
2164 \end_layout
2165
2166 \end_inset
2167
2168
2169 \end_layout
2170
2171 \begin_layout Standard
2172 Table floats can be inserted using the menu 
2173 \family sans
2174 Insert\SpecialChar \menuseparator
2175 Float\SpecialChar \menuseparator
2176 Table
2177 \family default
2178  or the toolbar button 
2179 \begin_inset Graphics
2180         filename ../images/float-insert_table.xpm
2181         scale 85
2182
2183 \end_inset
2184
2185 .
2186 \end_layout
2187
2188 \begin_layout Standard
2189 The float appears as a collapsible box with a caption that has the label
2190  
2191 \begin_inset Quotes eld
2192 \end_inset
2193
2194 Table\InsetSpace ~
2195 #:
2196 \begin_inset Quotes erd
2197 \end_inset
2198
2199  (# is the actual table number).
2200  You can insert tables to the float above or below the caption.
2201 \end_layout
2202
2203 \begin_layout Standard
2204 Table\InsetSpace ~
2205
2206 \begin_inset LatexCommand ref
2207 reference "tab:a table float"
2208
2209 \end_inset
2210
2211  is an example table within a table float.
2212 \end_layout
2213
2214 \begin_layout Standard
2215 Having the caption above the table is the common rule that is unfortunately
2216  not supported in LaTeX's standard classes.
2217  That means if you are using the document classes 
2218 \family sans
2219 article
2220 \family default
2221
2222 \family sans
2223 book
2224 \family default
2225
2226 \family sans
2227 letter
2228 \family default
2229 , or 
2230 \family sans
2231 report
2232 \family default
2233  there will be no space between the caption and the table.
2234  To insert the needed space, add the following option to the load command
2235  of the LaTeX-package 
2236 \series bold
2237 caption
2238 \series default
2239
2240 \begin_inset LatexCommand index
2241 name "LaTeX-packages ! caption"
2242
2243 \end_inset
2244
2245  in your document preamble
2246 \begin_inset Foot
2247 status collapsed
2248
2249 \begin_layout Standard
2250 For more information have a look at section\InsetSpace ~
2251
2252 \begin_inset LatexCommand ref
2253 reference "sec:Caption-Placement"
2254
2255 \end_inset
2256
2257 .
2258 \end_layout
2259
2260 \end_inset
2261
2262 :
2263 \end_layout
2264
2265 \begin_layout Standard
2266
2267 \series bold
2268 tableposition=top
2269 \end_layout
2270
2271 \begin_layout Standard
2272 The package 
2273 \series bold
2274 caption
2275 \series default
2276 , which is described in section\InsetSpace ~
2277
2278 \begin_inset LatexCommand ref
2279 reference "sec:Caption-Formatting"
2280
2281 \end_inset
2282
2283 , is used to adjust the caption format.
2284 \end_layout
2285
2286 \begin_layout Standard
2287 \begin_inset LatexCommand index
2288 name "References ! to Tables"
2289
2290 \end_inset
2291
2292 Tables can be cross-referenced in the text by referencing their label.
2293  To do this insert a label in the caption using the menu 
2294 \family sans
2295 Insert\SpecialChar \menuseparator
2296 Label
2297 \family default
2298  or the toolbar button 
2299 \begin_inset Graphics
2300         filename ../images/label-insert.xpm
2301         scale 85
2302
2303 \end_inset
2304
2305 .
2306  You can now refer to the label using the menu 
2307 \family sans
2308 Insert\SpecialChar \menuseparator
2309 Cross\InsetSpace ~
2310 reference
2311 \family default
2312  or the toolbar button 
2313 \begin_inset Graphics
2314         filename ../images/dialog-show-new-inset_ref.xpm
2315         scale 85
2316
2317 \end_inset
2318
2319 .
2320 \newline
2321 Referencing is explained in detail in section\InsetSpace ~
2322
2323 \begin_inset LatexCommand ref
2324 reference "sec:Referencing-Floats"
2325
2326 \end_inset
2327
2328 .
2329 \end_layout
2330
2331 \begin_layout Section
2332 Longtables
2333 \begin_inset LatexCommand label
2334 name "sec:Longtables"
2335
2336 \end_inset
2337
2338
2339 \begin_inset LatexCommand index
2340 name "Longtables"
2341
2342 \end_inset
2343
2344
2345 \begin_inset LatexCommand index
2346 name "Table ! Longtables"
2347
2348 \end_inset
2349
2350
2351 \end_layout
2352
2353 \begin_layout Standard
2354 If the table is too long to fit on one page, you can use the option 
2355 \family sans
2356 Use\InsetSpace ~
2357 long\InsetSpace ~
2358 table
2359 \family default
2360  in the tab 
2361 \family sans
2362 Longtable
2363 \family default
2364  of the table dialog to split the table automatically over more pages.
2365  Doing this enables some check boxes and you can now define:
2366 \end_layout
2367
2368 \begin_layout Description
2369
2370 \family sans
2371 Header
2372 \family default
2373 : The current row and all rows above, that don't have any special options
2374  defined, are defined to be the header rows of all pages of the longtable;
2375  except for the first page, if 
2376 \family sans
2377 First\InsetSpace ~
2378 header
2379 \family default
2380  is defined.
2381  This therefore called the main header.
2382 \end_layout
2383
2384 \begin_layout Description
2385
2386 \family sans
2387 First\InsetSpace ~
2388 header
2389 \family default
2390 : The current row and all rows above, that don't have any special options
2391  defined, are defined to be the header rows of the first page of the longtable.
2392 \end_layout
2393
2394 \begin_layout Description
2395
2396 \family sans
2397 Footer
2398 \family default
2399 : The current row and all rows below, that don't have any special options
2400  defined, are defined to be the footer rows of all pages of the longtable;
2401  except for the last page, if 
2402 \family sans
2403 Last\InsetSpace ~
2404 footer
2405 \family default
2406  is defined.
2407 \end_layout
2408
2409 \begin_layout Description
2410
2411 \family sans
2412 Last\InsetSpace ~
2413 footer
2414 \family default
2415 : The current row and all rows below, that don't have any special options
2416  defined, are defined to be the footer rows of the last page of the longtable.
2417 \end_layout
2418
2419 \begin_layout Standard
2420 You can also specify a row where the table is splitted.
2421  If you set more than one option in the same table row, you should be aware
2422  of the fact that only the first one is used in the given table row.
2423  The others will then be defined as 
2424 \emph on
2425 empty
2426 \emph default
2427 .
2428  In this context, first means first in this order: 
2429 \family sans
2430 Header,
2431 \family default
2432  
2433 \family sans
2434 First\InsetSpace ~
2435 header, Footer, Last\InsetSpace ~
2436 footer.
2437
2438 \family default
2439  See the following longtable to see how it works:
2440 \end_layout
2441
2442 \begin_layout Standard
2443 \align center
2444 \begin_inset Tabular
2445 <lyxtabular version="3" rows="69" columns="3">
2446 <features islongtable="true">
2447 <column alignment="left" valignment="top" leftline="true" width="0cm">
2448 <column alignment="left" valignment="top" width="0pt">
2449 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2450 <row topline="true" bottomline="true" endfirsthead="true">
2451 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2452 \begin_inset Text
2453
2454 \begin_layout Standard
2455
2456 \series bold
2457 Example Phone List (ignore the names)
2458 \end_layout
2459
2460 \end_inset
2461 </cell>
2462 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2463 \begin_inset Text
2464
2465 \begin_layout Standard
2466
2467 \end_layout
2468
2469 \end_inset
2470 </cell>
2471 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2472 \begin_inset Text
2473
2474 \begin_layout Standard
2475
2476 \end_layout
2477
2478 \end_inset
2479 </cell>
2480 </row>
2481 <row topline="true" bottomline="true" endfirsthead="true">
2482 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2483 \begin_inset Text
2484
2485 \begin_layout Standard
2486
2487 \series bold
2488 NAME
2489 \end_layout
2490
2491 \end_inset
2492 </cell>
2493 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2494 \begin_inset Text
2495
2496 \begin_layout Standard
2497
2498 \end_layout
2499
2500 \end_inset
2501 </cell>
2502 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2503 \begin_inset Text
2504
2505 \begin_layout Standard
2506
2507 \series bold
2508 TEL.
2509 \end_layout
2510
2511 \end_inset
2512 </cell>
2513 </row>
2514 <row topline="true" bottomline="true" endhead="true">
2515 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2516 \begin_inset Text
2517
2518 \begin_layout Standard
2519
2520 \series bold
2521 Example Phone List
2522 \end_layout
2523
2524 \end_inset
2525 </cell>
2526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2527 \begin_inset Text
2528
2529 \begin_layout Standard
2530
2531 \end_layout
2532
2533 \end_inset
2534 </cell>
2535 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2536 \begin_inset Text
2537
2538 \begin_layout Standard
2539
2540 \end_layout
2541
2542 \end_inset
2543 </cell>
2544 </row>
2545 <row topline="true" bottomline="true" endhead="true">
2546 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2547 \begin_inset Text
2548
2549 \begin_layout Standard
2550
2551 \series bold
2552 NAME
2553 \end_layout
2554
2555 \end_inset
2556 </cell>
2557 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2558 \begin_inset Text
2559
2560 \begin_layout Standard
2561
2562 \end_layout
2563
2564 \end_inset
2565 </cell>
2566 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2567 \begin_inset Text
2568
2569 \begin_layout Standard
2570
2571 \series bold
2572 TEL.
2573 \end_layout
2574
2575 \end_inset
2576 </cell>
2577 </row>
2578 <row topline="true" bottomline="true" endfoot="true">
2579 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2580 \begin_inset Text
2581
2582 \begin_layout Standard
2583  continued on next page
2584 \end_layout
2585
2586 \end_inset
2587 </cell>
2588 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2589 \begin_inset Text
2590
2591 \begin_layout Standard
2592
2593 \end_layout
2594
2595 \end_inset
2596 </cell>
2597 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2598 \begin_inset Text
2599
2600 \begin_layout Standard
2601
2602 \end_layout
2603
2604 \end_inset
2605 </cell>
2606 </row>
2607 <row>
2608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2609 \begin_inset Text
2610
2611 \begin_layout Standard
2612
2613 \series bold
2614 Annovi
2615 \end_layout
2616
2617 \end_inset
2618 </cell>
2619 <cell alignment="center" valignment="top" topline="true" usebox="none">
2620 \begin_inset Text
2621
2622 \begin_layout Standard
2623 Silvia
2624 \end_layout
2625
2626 \end_inset
2627 </cell>
2628 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2629 \begin_inset Text
2630
2631 \begin_layout Standard
2632 111
2633 \end_layout
2634
2635 \end_inset
2636 </cell>
2637 </row>
2638 <row>
2639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2640 \begin_inset Text
2641
2642 \begin_layout Standard
2643
2644 \series bold
2645 Bertoli
2646 \end_layout
2647
2648 \end_inset
2649 </cell>
2650 <cell alignment="center" valignment="top" topline="true" usebox="none">
2651 \begin_inset Text
2652
2653 \begin_layout Standard
2654 Stefano
2655 \end_layout
2656
2657 \end_inset
2658 </cell>
2659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2660 \begin_inset Text
2661
2662 \begin_layout Standard
2663 111
2664 \end_layout
2665
2666 \end_inset
2667 </cell>
2668 </row>
2669 <row>
2670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2671 \begin_inset Text
2672
2673 \begin_layout Standard
2674
2675 \series bold
2676 Bozzi
2677 \end_layout
2678
2679 \end_inset
2680 </cell>
2681 <cell alignment="center" valignment="top" topline="true" usebox="none">
2682 \begin_inset Text
2683
2684 \begin_layout Standard
2685 Walter
2686 \end_layout
2687
2688 \end_inset
2689 </cell>
2690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2691 \begin_inset Text
2692
2693 \begin_layout Standard
2694 111
2695 \end_layout
2696
2697 \end_inset
2698 </cell>
2699 </row>
2700 <row>
2701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2702 \begin_inset Text
2703
2704 \begin_layout Standard
2705
2706 \series bold
2707 Cachia
2708 \end_layout
2709
2710 \end_inset
2711 </cell>
2712 <cell alignment="center" valignment="top" topline="true" usebox="none">
2713 \begin_inset Text
2714
2715 \begin_layout Standard
2716 Maria
2717 \end_layout
2718
2719 \end_inset
2720 </cell>
2721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2722 \begin_inset Text
2723
2724 \begin_layout Standard
2725 111
2726 \end_layout
2727
2728 \end_inset
2729 </cell>
2730 </row>
2731 <row>
2732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2733 \begin_inset Text
2734
2735 \begin_layout Standard
2736
2737 \series bold
2738 Cachia
2739 \end_layout
2740
2741 \end_inset
2742 </cell>
2743 <cell alignment="center" valignment="top" topline="true" usebox="none">
2744 \begin_inset Text
2745
2746 \begin_layout Standard
2747 Maurizio
2748 \end_layout
2749
2750 \end_inset
2751 </cell>
2752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2753 \begin_inset Text
2754
2755 \begin_layout Standard
2756 111
2757 \end_layout
2758
2759 \end_inset
2760 </cell>
2761 </row>
2762 <row>
2763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2764 \begin_inset Text
2765
2766 \begin_layout Standard
2767
2768 \series bold
2769 Cinquemani
2770 \end_layout
2771
2772 \end_inset
2773 </cell>
2774 <cell alignment="center" valignment="top" topline="true" usebox="none">
2775 \begin_inset Text
2776
2777 \begin_layout Standard
2778 Giusi
2779 \end_layout
2780
2781 \end_inset
2782 </cell>
2783 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2784 \begin_inset Text
2785
2786 \begin_layout Standard
2787 111
2788 \end_layout
2789
2790 \end_inset
2791 </cell>
2792 </row>
2793 <row>
2794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2795 \begin_inset Text
2796
2797 \begin_layout Standard
2798
2799 \series bold
2800 Colin
2801 \end_layout
2802
2803 \end_inset
2804 </cell>
2805 <cell alignment="center" valignment="top" topline="true" usebox="none">
2806 \begin_inset Text
2807
2808 \begin_layout Standard
2809 Bernard
2810 \end_layout
2811
2812 \end_inset
2813 </cell>
2814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2815 \begin_inset Text
2816
2817 \begin_layout Standard
2818 111
2819 \end_layout
2820
2821 \end_inset
2822 </cell>
2823 </row>
2824 <row>
2825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2826 \begin_inset Text
2827
2828 \begin_layout Standard
2829
2830 \series bold
2831 Concli
2832 \end_layout
2833
2834 \end_inset
2835 </cell>
2836 <cell alignment="center" valignment="top" topline="true" usebox="none">
2837 \begin_inset Text
2838
2839 \begin_layout Standard
2840 Gianfranco
2841 \end_layout
2842
2843 \end_inset
2844 </cell>
2845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2846 \begin_inset Text
2847
2848 \begin_layout Standard
2849 111
2850 \end_layout
2851
2852 \end_inset
2853 </cell>
2854 </row>
2855 <row>
2856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2857 \begin_inset Text
2858
2859 \begin_layout Standard
2860
2861 \series bold
2862 Dal Bosco
2863 \end_layout
2864
2865 \end_inset
2866 </cell>
2867 <cell alignment="center" valignment="top" topline="true" usebox="none">
2868 \begin_inset Text
2869
2870 \begin_layout Standard
2871 Carolina
2872 \end_layout
2873
2874 \end_inset
2875 </cell>
2876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2877 \begin_inset Text
2878
2879 \begin_layout Standard
2880 111
2881 \end_layout
2882
2883 \end_inset
2884 </cell>
2885 </row>
2886 <row>
2887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2888 \begin_inset Text
2889
2890 \begin_layout Standard
2891
2892 \series bold
2893 Dalpiaz
2894 \end_layout
2895
2896 \end_inset
2897 </cell>
2898 <cell alignment="center" valignment="top" topline="true" usebox="none">
2899 \begin_inset Text
2900
2901 \begin_layout Standard
2902 Annamaria
2903 \end_layout
2904
2905 \end_inset
2906 </cell>
2907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2908 \begin_inset Text
2909
2910 \begin_layout Standard
2911 111
2912 \end_layout
2913
2914 \end_inset
2915 </cell>
2916 </row>
2917 <row>
2918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2919 \begin_inset Text
2920
2921 \begin_layout Standard
2922
2923 \series bold
2924 Feliciello
2925 \end_layout
2926
2927 \end_inset
2928 </cell>
2929 <cell alignment="center" valignment="top" topline="true" usebox="none">
2930 \begin_inset Text
2931
2932 \begin_layout Standard
2933 Domenico
2934 \end_layout
2935
2936 \end_inset
2937 </cell>
2938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2939 \begin_inset Text
2940
2941 \begin_layout Standard
2942 111
2943 \end_layout
2944
2945 \end_inset
2946 </cell>
2947 </row>
2948 <row>
2949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2950 \begin_inset Text
2951
2952 \begin_layout Standard
2953
2954 \series bold
2955 Focarelli
2956 \end_layout
2957
2958 \end_inset
2959 </cell>
2960 <cell alignment="center" valignment="top" topline="true" usebox="none">
2961 \begin_inset Text
2962
2963 \begin_layout Standard
2964 Paola
2965 \end_layout
2966
2967 \end_inset
2968 </cell>
2969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2970 \begin_inset Text
2971
2972 \begin_layout Standard
2973 111
2974 \end_layout
2975
2976 \end_inset
2977 </cell>
2978 </row>
2979 <row>
2980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2981 \begin_inset Text
2982
2983 \begin_layout Standard
2984
2985 \series bold
2986 Galletti
2987 \end_layout
2988
2989 \end_inset
2990 </cell>
2991 <cell alignment="center" valignment="top" topline="true" usebox="none">
2992 \begin_inset Text
2993
2994 \begin_layout Standard
2995 Oreste
2996 \end_layout
2997
2998 \end_inset
2999 </cell>
3000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3001 \begin_inset Text
3002
3003 \begin_layout Standard
3004 111
3005 \end_layout
3006
3007 \end_inset
3008 </cell>
3009 </row>
3010 <row>
3011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3012 \begin_inset Text
3013
3014 \begin_layout Standard
3015
3016 \series bold
3017 Gasparini
3018 \end_layout
3019
3020 \end_inset
3021 </cell>
3022 <cell alignment="center" valignment="top" topline="true" usebox="none">
3023 \begin_inset Text
3024
3025 \begin_layout Standard
3026 Franca
3027 \end_layout
3028
3029 \end_inset
3030 </cell>
3031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3032 \begin_inset Text
3033
3034 \begin_layout Standard
3035 111
3036 \end_layout
3037
3038 \end_inset
3039 </cell>
3040 </row>
3041 <row>
3042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3043 \begin_inset Text
3044
3045 \begin_layout Standard
3046
3047 \series bold
3048 Rizzardi
3049 \end_layout
3050
3051 \end_inset
3052 </cell>
3053 <cell alignment="center" valignment="top" topline="true" usebox="none">
3054 \begin_inset Text
3055
3056 \begin_layout Standard
3057 Paola
3058 \end_layout
3059
3060 \end_inset
3061 </cell>
3062 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3063 \begin_inset Text
3064
3065 \begin_layout Standard
3066 111
3067 \end_layout
3068
3069 \end_inset
3070 </cell>
3071 </row>
3072 <row>
3073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3074 \begin_inset Text
3075
3076 \begin_layout Standard
3077
3078 \series bold
3079 Lassini
3080 \end_layout
3081
3082 \end_inset
3083 </cell>
3084 <cell alignment="center" valignment="top" topline="true" usebox="none">
3085 \begin_inset Text
3086
3087 \begin_layout Standard
3088 Giancarlo
3089 \end_layout
3090
3091 \end_inset
3092 </cell>
3093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3094 \begin_inset Text
3095
3096 \begin_layout Standard
3097 111
3098 \end_layout
3099
3100 \end_inset
3101 </cell>
3102 </row>
3103 <row>
3104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3105 \begin_inset Text
3106
3107 \begin_layout Standard
3108
3109 \series bold
3110 Malfatti
3111 \end_layout
3112
3113 \end_inset
3114 </cell>
3115 <cell alignment="center" valignment="top" topline="true" usebox="none">
3116 \begin_inset Text
3117
3118 \begin_layout Standard
3119 Luciano
3120 \end_layout
3121
3122 \end_inset
3123 </cell>
3124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3125 \begin_inset Text
3126
3127 \begin_layout Standard
3128 111
3129 \end_layout
3130
3131 \end_inset
3132 </cell>
3133 </row>
3134 <row>
3135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3136 \begin_inset Text
3137
3138 \begin_layout Standard
3139
3140 \series bold
3141 Malfatti
3142 \end_layout
3143
3144 \end_inset
3145 </cell>
3146 <cell alignment="center" valignment="top" topline="true" usebox="none">
3147 \begin_inset Text
3148
3149 \begin_layout Standard
3150 Valeriano
3151 \end_layout
3152
3153 \end_inset
3154 </cell>
3155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3156 \begin_inset Text
3157
3158 \begin_layout Standard
3159 111
3160 \end_layout
3161
3162 \end_inset
3163 </cell>
3164 </row>
3165 <row>
3166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3167 \begin_inset Text
3168
3169 \begin_layout Standard
3170
3171 \series bold
3172 Meneguzzo
3173 \end_layout
3174
3175 \end_inset
3176 </cell>
3177 <cell alignment="center" valignment="top" topline="true" usebox="none">
3178 \begin_inset Text
3179
3180 \begin_layout Standard
3181 Roberto
3182 \end_layout
3183
3184 \end_inset
3185 </cell>
3186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3187 \begin_inset Text
3188
3189 \begin_layout Standard
3190 111
3191 \end_layout
3192
3193 \end_inset
3194 </cell>
3195 </row>
3196 <row>
3197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3198 \begin_inset Text
3199
3200 \begin_layout Standard
3201
3202 \series bold
3203 Mezzadra
3204 \end_layout
3205
3206 \end_inset
3207 </cell>
3208 <cell alignment="center" valignment="top" topline="true" usebox="none">
3209 \begin_inset Text
3210
3211 \begin_layout Standard
3212 Roberto
3213 \end_layout
3214
3215 \end_inset
3216 </cell>
3217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3218 \begin_inset Text
3219
3220 \begin_layout Standard
3221 111
3222 \end_layout
3223
3224 \end_inset
3225 </cell>
3226 </row>
3227 <row>
3228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3229 \begin_inset Text
3230
3231 \begin_layout Standard
3232
3233 \series bold
3234 Pirpamer
3235 \end_layout
3236
3237 \end_inset
3238 </cell>
3239 <cell alignment="center" valignment="top" topline="true" usebox="none">
3240 \begin_inset Text
3241
3242 \begin_layout Standard
3243 Erich
3244 \end_layout
3245
3246 \end_inset
3247 </cell>
3248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3249 \begin_inset Text
3250
3251 \begin_layout Standard
3252 111
3253 \end_layout
3254
3255 \end_inset
3256 </cell>
3257 </row>
3258 <row>
3259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3260 \begin_inset Text
3261
3262 \begin_layout Standard
3263
3264 \series bold
3265 Pochiesa
3266 \end_layout
3267
3268 \end_inset
3269 </cell>
3270 <cell alignment="center" valignment="top" topline="true" usebox="none">
3271 \begin_inset Text
3272
3273 \begin_layout Standard
3274 Paolo
3275 \end_layout
3276
3277 \end_inset
3278 </cell>
3279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3280 \begin_inset Text
3281
3282 \begin_layout Standard
3283 111, 222
3284 \end_layout
3285
3286 \end_inset
3287 </cell>
3288 </row>
3289 <row>
3290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3291 \begin_inset Text
3292
3293 \begin_layout Standard
3294
3295 \series bold
3296 Radina
3297 \end_layout
3298
3299 \end_inset
3300 </cell>
3301 <cell alignment="center" valignment="top" topline="true" usebox="none">
3302 \begin_inset Text
3303
3304 \begin_layout Standard
3305 Claudio
3306 \end_layout
3307
3308 \end_inset
3309 </cell>
3310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3311 \begin_inset Text
3312
3313 \begin_layout Standard
3314 111
3315 \end_layout
3316
3317 \end_inset
3318 </cell>
3319 </row>
3320 <row>
3321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3322 \begin_inset Text
3323
3324 \begin_layout Standard
3325
3326 \series bold
3327 Stuffer
3328 \end_layout
3329
3330 \end_inset
3331 </cell>
3332 <cell alignment="center" valignment="top" topline="true" usebox="none">
3333 \begin_inset Text
3334
3335 \begin_layout Standard
3336 Oskar
3337 \end_layout
3338
3339 \end_inset
3340 </cell>
3341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3342 \begin_inset Text
3343
3344 \begin_layout Standard
3345 111
3346 \end_layout
3347
3348 \end_inset
3349 </cell>
3350 </row>
3351 <row>
3352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3353 \begin_inset Text
3354
3355 \begin_layout Standard
3356
3357 \series bold
3358 Tacchelli
3359 \end_layout
3360
3361 \end_inset
3362 </cell>
3363 <cell alignment="center" valignment="top" topline="true" usebox="none">
3364 \begin_inset Text
3365
3366 \begin_layout Standard
3367 Ugo
3368 \end_layout
3369
3370 \end_inset
3371 </cell>
3372 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3373 \begin_inset Text
3374
3375 \begin_layout Standard
3376 111
3377 \end_layout
3378
3379 \end_inset
3380 </cell>
3381 </row>
3382 <row>
3383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3384 \begin_inset Text
3385
3386 \begin_layout Standard
3387
3388 \series bold
3389 Tezzele
3390 \end_layout
3391
3392 \end_inset
3393 </cell>
3394 <cell alignment="center" valignment="top" topline="true" usebox="none">
3395 \begin_inset Text
3396
3397 \begin_layout Standard
3398 Margit
3399 \end_layout
3400
3401 \end_inset
3402 </cell>
3403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3404 \begin_inset Text
3405
3406 \begin_layout Standard
3407 111
3408 \end_layout
3409
3410 \end_inset
3411 </cell>
3412 </row>
3413 <row>
3414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3415 \begin_inset Text
3416
3417 \begin_layout Standard
3418
3419 \series bold
3420 Unterkalmsteiner
3421 \end_layout
3422
3423 \end_inset
3424 </cell>
3425 <cell alignment="center" valignment="top" topline="true" usebox="none">
3426 \begin_inset Text
3427
3428 \begin_layout Standard
3429 Frieda
3430 \end_layout
3431
3432 \end_inset
3433 </cell>
3434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3435 \begin_inset Text
3436
3437 \begin_layout Standard
3438 111
3439 \end_layout
3440
3441 \end_inset
3442 </cell>
3443 </row>
3444 <row>
3445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3446 \begin_inset Text
3447
3448 \begin_layout Standard
3449
3450 \series bold
3451 Vieider
3452 \end_layout
3453
3454 \end_inset
3455 </cell>
3456 <cell alignment="center" valignment="top" topline="true" usebox="none">
3457 \begin_inset Text
3458
3459 \begin_layout Standard
3460 Hilde
3461 \end_layout
3462
3463 \end_inset
3464 </cell>
3465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3466 \begin_inset Text
3467
3468 \begin_layout Standard
3469 111
3470 \end_layout
3471
3472 \end_inset
3473 </cell>
3474 </row>
3475 <row>
3476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3477 \begin_inset Text
3478
3479 \begin_layout Standard
3480
3481 \series bold
3482 Vigna
3483 \end_layout
3484
3485 \end_inset
3486 </cell>
3487 <cell alignment="center" valignment="top" topline="true" usebox="none">
3488 \begin_inset Text
3489
3490 \begin_layout Standard
3491 Jürgen
3492 \end_layout
3493
3494 \end_inset
3495 </cell>
3496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3497 \begin_inset Text
3498
3499 \begin_layout Standard
3500 111
3501 \end_layout
3502
3503 \end_inset
3504 </cell>
3505 </row>
3506 <row>
3507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3508 \begin_inset Text
3509
3510 \begin_layout Standard
3511
3512 \series bold
3513 Weber
3514 \end_layout
3515
3516 \end_inset
3517 </cell>
3518 <cell alignment="center" valignment="top" topline="true" usebox="none">
3519 \begin_inset Text
3520
3521 \begin_layout Standard
3522 Maurizio
3523 \end_layout
3524
3525 \end_inset
3526 </cell>
3527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3528 \begin_inset Text
3529
3530 \begin_layout Standard
3531 111
3532 \end_layout
3533
3534 \end_inset
3535 </cell>
3536 </row>
3537 <row bottomline="true">
3538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3539 \begin_inset Text
3540
3541 \begin_layout Standard
3542
3543 \series bold
3544 Winkler
3545 \end_layout
3546
3547 \end_inset
3548 </cell>
3549 <cell alignment="center" valignment="top" topline="true" usebox="none">
3550 \begin_inset Text
3551
3552 \begin_layout Standard
3553 Franz
3554 \end_layout
3555
3556 \end_inset
3557 </cell>
3558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3559 \begin_inset Text
3560
3561 \begin_layout Standard
3562 111
3563 \end_layout
3564
3565 \end_inset
3566 </cell>
3567 </row>
3568 <row bottomline="true">
3569 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3570 \begin_inset Text
3571
3572 \begin_layout Standard
3573  
3574 \end_layout
3575
3576 \end_inset
3577 </cell>
3578 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3579 \begin_inset Text
3580
3581 \begin_layout Standard
3582
3583 \end_layout
3584
3585 \end_inset
3586 </cell>
3587 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3588 \begin_inset Text
3589
3590 \begin_layout Standard
3591
3592 \end_layout
3593
3594 \end_inset
3595 </cell>
3596 </row>
3597 <row>
3598 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3599 \begin_inset Text
3600
3601 \begin_layout Standard
3602
3603 \series bold
3604 Annovi
3605 \end_layout
3606
3607 \end_inset
3608 </cell>
3609 <cell alignment="center" valignment="top" topline="true" usebox="none">
3610 \begin_inset Text
3611
3612 \begin_layout Standard
3613 Silvia
3614 \end_layout
3615
3616 \end_inset
3617 </cell>
3618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3619 \begin_inset Text
3620
3621 \begin_layout Standard
3622 555
3623 \end_layout
3624
3625 \end_inset
3626 </cell>
3627 </row>
3628 <row>
3629 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3630 \begin_inset Text
3631
3632 \begin_layout Standard
3633
3634 \series bold
3635 Bertoli
3636 \end_layout
3637
3638 \end_inset
3639 </cell>
3640 <cell alignment="center" valignment="top" topline="true" usebox="none">
3641 \begin_inset Text
3642
3643 \begin_layout Standard
3644 Stefano
3645 \end_layout
3646
3647 \end_inset
3648 </cell>
3649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3650 \begin_inset Text
3651
3652 \begin_layout Standard
3653 555
3654 \end_layout
3655
3656 \end_inset
3657 </cell>
3658 </row>
3659 <row>
3660 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3661 \begin_inset Text
3662
3663 \begin_layout Standard
3664
3665 \series bold
3666 Bozzi
3667 \end_layout
3668
3669 \end_inset
3670 </cell>
3671 <cell alignment="center" valignment="top" topline="true" usebox="none">
3672 \begin_inset Text
3673
3674 \begin_layout Standard
3675 Walter
3676 \end_layout
3677
3678 \end_inset
3679 </cell>
3680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3681 \begin_inset Text
3682
3683 \begin_layout Standard
3684 555
3685 \end_layout
3686
3687 \end_inset
3688 </cell>
3689 </row>
3690 <row>
3691 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3692 \begin_inset Text
3693
3694 \begin_layout Standard
3695
3696 \series bold
3697 Cachia
3698 \end_layout
3699
3700 \end_inset
3701 </cell>
3702 <cell alignment="center" valignment="top" topline="true" usebox="none">
3703 \begin_inset Text
3704
3705 \begin_layout Standard
3706 Maria
3707 \end_layout
3708
3709 \end_inset
3710 </cell>
3711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3712 \begin_inset Text
3713
3714 \begin_layout Standard
3715 555
3716 \end_layout
3717
3718 \end_inset
3719 </cell>
3720 </row>
3721 <row>
3722 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3723 \begin_inset Text
3724
3725 \begin_layout Standard
3726
3727 \series bold
3728 Cachia
3729 \end_layout
3730
3731 \end_inset
3732 </cell>
3733 <cell alignment="center" valignment="top" topline="true" usebox="none">
3734 \begin_inset Text
3735
3736 \begin_layout Standard
3737 Maurizio
3738 \end_layout
3739
3740 \end_inset
3741 </cell>
3742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3743 \begin_inset Text
3744
3745 \begin_layout Standard
3746 555
3747 \end_layout
3748
3749 \end_inset
3750 </cell>
3751 </row>
3752 <row>
3753 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3754 \begin_inset Text
3755
3756 \begin_layout Standard
3757
3758 \series bold
3759 Cinquemani
3760 \end_layout
3761
3762 \end_inset
3763 </cell>
3764 <cell alignment="center" valignment="top" topline="true" usebox="none">
3765 \begin_inset Text
3766
3767 \begin_layout Standard
3768 Giusi
3769 \end_layout
3770
3771 \end_inset
3772 </cell>
3773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3774 \begin_inset Text
3775
3776 \begin_layout Standard
3777 555
3778 \end_layout
3779
3780 \end_inset
3781 </cell>
3782 </row>
3783 <row>
3784 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3785 \begin_inset Text
3786
3787 \begin_layout Standard
3788
3789 \series bold
3790 Colin
3791 \end_layout
3792
3793 \end_inset
3794 </cell>
3795 <cell alignment="center" valignment="top" topline="true" usebox="none">
3796 \begin_inset Text
3797
3798 \begin_layout Standard
3799 Bernard
3800 \end_layout
3801
3802 \end_inset
3803 </cell>
3804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3805 \begin_inset Text
3806
3807 \begin_layout Standard
3808 555
3809 \end_layout
3810
3811 \end_inset
3812 </cell>
3813 </row>
3814 <row>
3815 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3816 \begin_inset Text
3817
3818 \begin_layout Standard
3819
3820 \series bold
3821 Concli
3822 \end_layout
3823
3824 \end_inset
3825 </cell>
3826 <cell alignment="center" valignment="top" topline="true" usebox="none">
3827 \begin_inset Text
3828
3829 \begin_layout Standard
3830 Gianfranco
3831 \end_layout
3832
3833 \end_inset
3834 </cell>
3835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3836 \begin_inset Text
3837
3838 \begin_layout Standard
3839 555
3840 \end_layout
3841
3842 \end_inset
3843 </cell>
3844 </row>
3845 <row>
3846 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3847 \begin_inset Text
3848
3849 \begin_layout Standard
3850
3851 \series bold
3852 Dal Bosco
3853 \end_layout
3854
3855 \end_inset
3856 </cell>
3857 <cell alignment="center" valignment="top" topline="true" usebox="none">
3858 \begin_inset Text
3859
3860 \begin_layout Standard
3861 Carolina
3862 \end_layout
3863
3864 \end_inset
3865 </cell>
3866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3867 \begin_inset Text
3868
3869 \begin_layout Standard
3870 555
3871 \end_layout
3872
3873 \end_inset
3874 </cell>
3875 </row>
3876 <row>
3877 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3878 \begin_inset Text
3879
3880 \begin_layout Standard
3881
3882 \series bold
3883 Dalpiaz
3884 \end_layout
3885
3886 \end_inset
3887 </cell>
3888 <cell alignment="center" valignment="top" topline="true" usebox="none">
3889 \begin_inset Text
3890
3891 \begin_layout Standard
3892 Annamaria
3893 \end_layout
3894
3895 \end_inset
3896 </cell>
3897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3898 \begin_inset Text
3899
3900 \begin_layout Standard
3901 555
3902 \end_layout
3903
3904 \end_inset
3905 </cell>
3906 </row>
3907 <row>
3908 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3909 \begin_inset Text
3910
3911 \begin_layout Standard
3912
3913 \series bold
3914 Feliciello
3915 \end_layout
3916
3917 \end_inset
3918 </cell>
3919 <cell alignment="center" valignment="top" topline="true" usebox="none">
3920 \begin_inset Text
3921
3922 \begin_layout Standard
3923 Domenico
3924 \end_layout
3925
3926 \end_inset
3927 </cell>
3928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3929 \begin_inset Text
3930
3931 \begin_layout Standard
3932 555
3933 \end_layout
3934
3935 \end_inset
3936 </cell>
3937 </row>
3938 <row>
3939 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3940 \begin_inset Text
3941
3942 \begin_layout Standard
3943
3944 \series bold
3945 Focarelli
3946 \end_layout
3947
3948 \end_inset
3949 </cell>
3950 <cell alignment="center" valignment="top" topline="true" usebox="none">
3951 \begin_inset Text
3952
3953 \begin_layout Standard
3954 Paola
3955 \end_layout
3956
3957 \end_inset
3958 </cell>
3959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3960 \begin_inset Text
3961
3962 \begin_layout Standard
3963 555
3964 \end_layout
3965
3966 \end_inset
3967 </cell>
3968 </row>
3969 <row>
3970 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3971 \begin_inset Text
3972
3973 \begin_layout Standard
3974
3975 \series bold
3976 Galletti
3977 \end_layout
3978
3979 \end_inset
3980 </cell>
3981 <cell alignment="center" valignment="top" topline="true" usebox="none">
3982 \begin_inset Text
3983
3984 \begin_layout Standard
3985 Oreste
3986 \end_layout
3987
3988 \end_inset
3989 </cell>
3990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3991 \begin_inset Text
3992
3993 \begin_layout Standard
3994 555
3995 \end_layout
3996
3997 \end_inset
3998 </cell>
3999 </row>
4000 <row>
4001 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4002 \begin_inset Text
4003
4004 \begin_layout Standard
4005
4006 \series bold
4007 Gasparini
4008 \end_layout
4009
4010 \end_inset
4011 </cell>
4012 <cell alignment="center" valignment="top" topline="true" usebox="none">
4013 \begin_inset Text
4014
4015 \begin_layout Standard
4016 Franca
4017 \end_layout
4018
4019 \end_inset
4020 </cell>
4021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4022 \begin_inset Text
4023
4024 \begin_layout Standard
4025 555
4026 \end_layout
4027
4028 \end_inset
4029 </cell>
4030 </row>
4031 <row>
4032 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4033 \begin_inset Text
4034
4035 \begin_layout Standard
4036
4037 \series bold
4038 Rizzardi
4039 \end_layout
4040
4041 \end_inset
4042 </cell>
4043 <cell alignment="center" valignment="top" topline="true" usebox="none">
4044 \begin_inset Text
4045
4046 \begin_layout Standard
4047 Paola
4048 \end_layout
4049
4050 \end_inset
4051 </cell>
4052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4053 \begin_inset Text
4054
4055 \begin_layout Standard
4056 555
4057 \end_layout
4058
4059 \end_inset
4060 </cell>
4061 </row>
4062 <row>
4063 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4064 \begin_inset Text
4065
4066 \begin_layout Standard
4067
4068 \series bold
4069 Lassini
4070 \end_layout
4071
4072 \end_inset
4073 </cell>
4074 <cell alignment="center" valignment="top" topline="true" usebox="none">
4075 \begin_inset Text
4076
4077 \begin_layout Standard
4078 Giancarlo
4079 \end_layout
4080
4081 \end_inset
4082 </cell>
4083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4084 \begin_inset Text
4085
4086 \begin_layout Standard
4087 555
4088 \end_layout
4089
4090 \end_inset
4091 </cell>
4092 </row>
4093 <row>
4094 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4095 \begin_inset Text
4096
4097 \begin_layout Standard
4098
4099 \series bold
4100 Malfatti
4101 \end_layout
4102
4103 \end_inset
4104 </cell>
4105 <cell alignment="center" valignment="top" topline="true" usebox="none">
4106 \begin_inset Text
4107
4108 \begin_layout Standard
4109 Luciano
4110 \end_layout
4111
4112 \end_inset
4113 </cell>
4114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4115 \begin_inset Text
4116
4117 \begin_layout Standard
4118 555
4119 \end_layout
4120
4121 \end_inset
4122 </cell>
4123 </row>
4124 <row>
4125 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4126 \begin_inset Text
4127
4128 \begin_layout Standard
4129
4130 \series bold
4131 Malfatti
4132 \end_layout
4133
4134 \end_inset
4135 </cell>
4136 <cell alignment="center" valignment="top" topline="true" usebox="none">
4137 \begin_inset Text
4138
4139 \begin_layout Standard
4140 Valeriano
4141 \end_layout
4142
4143 \end_inset
4144 </cell>
4145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4146 \begin_inset Text
4147
4148 \begin_layout Standard
4149 555
4150 \end_layout
4151
4152 \end_inset
4153 </cell>
4154 </row>
4155 <row>
4156 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4157 \begin_inset Text
4158
4159 \begin_layout Standard
4160
4161 \series bold
4162 Meneguzzo
4163 \end_layout
4164
4165 \end_inset
4166 </cell>
4167 <cell alignment="center" valignment="top" topline="true" usebox="none">
4168 \begin_inset Text
4169
4170 \begin_layout Standard
4171 Roberto
4172 \end_layout
4173
4174 \end_inset
4175 </cell>
4176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4177 \begin_inset Text
4178
4179 \begin_layout Standard
4180 555
4181 \end_layout
4182
4183 \end_inset
4184 </cell>
4185 </row>
4186 <row>
4187 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4188 \begin_inset Text
4189
4190 \begin_layout Standard
4191
4192 \series bold
4193 Mezzadra
4194 \end_layout
4195
4196 \end_inset
4197 </cell>
4198 <cell alignment="center" valignment="top" topline="true" usebox="none">
4199 \begin_inset Text
4200
4201 \begin_layout Standard
4202 Roberto
4203 \end_layout
4204
4205 \end_inset
4206 </cell>
4207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4208 \begin_inset Text
4209
4210 \begin_layout Standard
4211 555
4212 \end_layout
4213
4214 \end_inset
4215 </cell>
4216 </row>
4217 <row>
4218 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4219 \begin_inset Text
4220
4221 \begin_layout Standard
4222
4223 \series bold
4224 Pirpamer
4225 \end_layout
4226
4227 \end_inset
4228 </cell>
4229 <cell alignment="center" valignment="top" topline="true" usebox="none">
4230 \begin_inset Text
4231
4232 \begin_layout Standard
4233 Erich
4234 \end_layout
4235
4236 \end_inset
4237 </cell>
4238 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4239 \begin_inset Text
4240
4241 \begin_layout Standard
4242 555
4243 \end_layout
4244
4245 \end_inset
4246 </cell>
4247 </row>
4248 <row>
4249 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4250 \begin_inset Text
4251
4252 \begin_layout Standard
4253
4254 \series bold
4255 Pochiesa
4256 \end_layout
4257
4258 \end_inset
4259 </cell>
4260 <cell alignment="center" valignment="top" topline="true" usebox="none">
4261 \begin_inset Text
4262
4263 \begin_layout Standard
4264 Paolo
4265 \end_layout
4266
4267 \end_inset
4268 </cell>
4269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4270 \begin_inset Text
4271
4272 \begin_layout Standard
4273 555, 222
4274 \end_layout
4275
4276 \end_inset
4277 </cell>
4278 </row>
4279 <row>
4280 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4281 \begin_inset Text
4282
4283 \begin_layout Standard
4284
4285 \series bold
4286 Radina
4287 \end_layout
4288
4289 \end_inset
4290 </cell>
4291 <cell alignment="center" valignment="top" topline="true" usebox="none">
4292 \begin_inset Text
4293
4294 \begin_layout Standard
4295 Claudio
4296 \end_layout
4297
4298 \end_inset
4299 </cell>
4300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4301 \begin_inset Text
4302
4303 \begin_layout Standard
4304 555
4305 \end_layout
4306
4307 \end_inset
4308 </cell>
4309 </row>
4310 <row>
4311 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4312 \begin_inset Text
4313
4314 \begin_layout Standard
4315
4316 \series bold
4317 Stuffer
4318 \end_layout
4319
4320 \end_inset
4321 </cell>
4322 <cell alignment="center" valignment="top" topline="true" usebox="none">
4323 \begin_inset Text
4324
4325 \begin_layout Standard
4326 Oskar
4327 \end_layout
4328
4329 \end_inset
4330 </cell>
4331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4332 \begin_inset Text
4333
4334 \begin_layout Standard
4335 555
4336 \end_layout
4337
4338 \end_inset
4339 </cell>
4340 </row>
4341 <row>
4342 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4343 \begin_inset Text
4344
4345 \begin_layout Standard
4346
4347 \series bold
4348 Tacchelli
4349 \end_layout
4350
4351 \end_inset
4352 </cell>
4353 <cell alignment="center" valignment="top" topline="true" usebox="none">
4354 \begin_inset Text
4355
4356 \begin_layout Standard
4357 Ugo
4358 \end_layout
4359
4360 \end_inset
4361 </cell>
4362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4363 \begin_inset Text
4364
4365 \begin_layout Standard
4366 555
4367 \end_layout
4368
4369 \end_inset
4370 </cell>
4371 </row>
4372 <row>
4373 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4374 \begin_inset Text
4375
4376 \begin_layout Standard
4377
4378 \series bold
4379 Tezzele
4380 \end_layout
4381
4382 \end_inset
4383 </cell>
4384 <cell alignment="center" valignment="top" topline="true" usebox="none">
4385 \begin_inset Text
4386
4387 \begin_layout Standard
4388 Margit
4389 \end_layout
4390
4391 \end_inset
4392 </cell>
4393 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4394 \begin_inset Text
4395
4396 \begin_layout Standard
4397 555
4398 \end_layout
4399
4400 \end_inset
4401 </cell>
4402 </row>
4403 <row>
4404 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4405 \begin_inset Text
4406
4407 \begin_layout Standard
4408
4409 \series bold
4410 Unterkalmsteiner
4411 \end_layout
4412
4413 \end_inset
4414 </cell>
4415 <cell alignment="center" valignment="top" topline="true" usebox="none">
4416 \begin_inset Text
4417
4418 \begin_layout Standard
4419 Frieda
4420 \end_layout
4421
4422 \end_inset
4423 </cell>
4424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4425 \begin_inset Text
4426
4427 \begin_layout Standard
4428 555
4429 \end_layout
4430
4431 \end_inset
4432 </cell>
4433 </row>
4434 <row>
4435 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4436 \begin_inset Text
4437
4438 \begin_layout Standard
4439
4440 \series bold
4441 Vieider
4442 \end_layout
4443
4444 \end_inset
4445 </cell>
4446 <cell alignment="center" valignment="top" topline="true" usebox="none">
4447 \begin_inset Text
4448
4449 \begin_layout Standard
4450 Hilde
4451 \end_layout
4452
4453 \end_inset
4454 </cell>
4455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4456 \begin_inset Text
4457
4458 \begin_layout Standard
4459 555
4460 \end_layout
4461
4462 \end_inset
4463 </cell>
4464 </row>
4465 <row>
4466 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4467 \begin_inset Text
4468
4469 \begin_layout Standard
4470
4471 \series bold
4472 Vigna
4473 \end_layout
4474
4475 \end_inset
4476 </cell>
4477 <cell alignment="center" valignment="top" topline="true" usebox="none">
4478 \begin_inset Text
4479
4480 \begin_layout Standard
4481 Jürgen
4482 \end_layout
4483
4484 \end_inset
4485 </cell>
4486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4487 \begin_inset Text
4488
4489 \begin_layout Standard
4490 999
4491 \end_layout
4492
4493 \end_inset
4494 </cell>
4495 </row>
4496 <row>
4497 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4498 \begin_inset Text
4499
4500 \begin_layout Standard
4501
4502 \series bold
4503 Weber
4504 \end_layout
4505
4506 \end_inset
4507 </cell>
4508 <cell alignment="center" valignment="top" topline="true" usebox="none">
4509 \begin_inset Text
4510
4511 \begin_layout Standard
4512 Maurizio
4513 \end_layout
4514
4515 \end_inset
4516 </cell>
4517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4518 \begin_inset Text
4519
4520 \begin_layout Standard
4521 555
4522 \end_layout
4523
4524 \end_inset
4525 </cell>
4526 </row>
4527 <row bottomline="true">
4528 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4529 \begin_inset Text
4530
4531 \begin_layout Standard
4532
4533 \series bold
4534 Winkler
4535 \end_layout
4536
4537 \end_inset
4538 </cell>
4539 <cell alignment="center" valignment="top" topline="true" usebox="none">
4540 \begin_inset Text
4541
4542 \begin_layout Standard
4543 Franz
4544 \end_layout
4545
4546 \end_inset
4547 </cell>
4548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4549 \begin_inset Text
4550
4551 \begin_layout Standard
4552 555
4553 \end_layout
4554
4555 \end_inset
4556 </cell>
4557 </row>
4558 <row bottomline="true" endlastfoot="true">
4559 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4560 \begin_inset Text
4561
4562 \begin_layout Standard
4563 end
4564 \end_layout
4565
4566 \end_inset
4567 </cell>
4568 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4569 \begin_inset Text
4570
4571 \begin_layout Standard
4572
4573 \end_layout
4574
4575 \end_inset
4576 </cell>
4577 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4578 \begin_inset Text
4579
4580 \begin_layout Standard
4581
4582 \end_layout
4583
4584 \end_inset
4585 </cell>
4586 </row>
4587 </lyxtabular>
4588
4589 \end_inset
4590
4591
4592 \begin_inset ERT
4593 status collapsed
4594
4595 \begin_layout Standard
4596
4597
4598 \backslash
4599 addtocounter{table}{-1}
4600 \end_layout
4601
4602 \end_inset
4603
4604
4605 \begin_inset Note Note
4606 status collapsed
4607
4608 \begin_layout Standard
4609 See greyed-out note in section 2.6.2 for an explanation of this command.
4610 \end_layout
4611
4612 \end_inset
4613
4614
4615 \end_layout
4616
4617 \begin_layout Subsection
4618 Footnotes in Longtables
4619 \begin_inset LatexCommand label
4620 name "sub:Footnotes-in-Longtables"
4621
4622 \end_inset
4623
4624
4625 \begin_inset LatexCommand index
4626 name "Longtables ! Footnotes"
4627
4628 \end_inset
4629
4630
4631 \end_layout
4632
4633 \begin_layout Standard
4634 Footnotes can be inserted to every longtable cell.
4635  They appear at the bottom of the page where the table cell with the footnote
4636  appears.
4637  Table\InsetSpace ~
4638
4639 \begin_inset LatexCommand ref
4640 reference "tab:DiffCaptions"
4641
4642 \end_inset
4643
4644  has for example a footnote.
4645 \end_layout
4646
4647 \begin_layout Subsection
4648 Longtable Captions
4649 \begin_inset LatexCommand index
4650 name "Longtables ! Captions"
4651
4652 \end_inset
4653
4654
4655 \end_layout
4656
4657 \begin_layout Standard
4658 A longtable cannot be put into a table float because floats can only be
4659  on one page but the caption environment of floats can also be used for
4660  longtables.
4661 \end_layout
4662
4663 \begin_layout Standard
4664 As LyX does not yet fully support captions in longtables, a hack is needed
4665  to create them:
4666 \end_layout
4667
4668 \begin_layout Enumerate
4669 Create a longtable
4670 \family sans
4671 .
4672 \end_layout
4673
4674 \begin_layout Enumerate
4675 Mark the first row and disable its upper line.
4676 \end_layout
4677
4678 \begin_layout Enumerate
4679 Insert a caption via the menu 
4680 \family sans
4681 Insert\SpecialChar \menuseparator
4682 Caption
4683 \family default
4684  into the first table cell.
4685 \newline
4686 You can also add a short title for the caption.
4687 \end_layout
4688
4689 \begin_layout Enumerate
4690 Insert a 
4691 \begin_inset Quotes eld
4692 \end_inset
4693
4694
4695 \series bold
4696
4697 \backslash
4698
4699 \backslash
4700 %
4701 \series default
4702
4703 \begin_inset Quotes erd
4704 \end_inset
4705
4706  as ERT behind the caption.
4707 \end_layout
4708
4709 \begin_layout Standard
4710 A short title that will appear in the LOT instead of the full title.
4711  The 
4712 \series bold
4713
4714 \backslash
4715
4716 \backslash
4717 %
4718 \series default
4719  behind the caption omits the vertical lines between the following cells
4720  in the row.
4721  The first table row is now only a dummy row for the caption, the actual
4722  table starts with the second row.
4723 \end_layout
4724
4725 \begin_layout Standard
4726 Here is a short longtable to see how it works:
4727 \end_layout
4728
4729 \begin_layout Standard
4730 \begin_inset Tabular
4731 <lyxtabular version="3" rows="6" columns="5">
4732 <features islongtable="true">
4733 <column alignment="center" valignment="top" leftline="true" width="0">
4734 <column alignment="center" valignment="top" leftline="true" width="0">
4735 <column alignment="center" valignment="top" leftline="true" width="0">
4736 <column alignment="center" valignment="top" leftline="true" width="0">
4737 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4738 <row>
4739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4740 \begin_inset Text
4741
4742 \begin_layout Standard
4743 \begin_inset Caption
4744
4745 \begin_layout Standard
4746 Longtable with caption
4747 \begin_inset OptArg
4748 status open
4749
4750 \begin_layout Standard
4751 Longtable
4752 \end_layout
4753
4754 \end_inset
4755
4756
4757 \end_layout
4758
4759 \end_inset
4760
4761
4762 \begin_inset ERT
4763 status collapsed
4764
4765 \begin_layout Standard
4766
4767
4768 \backslash
4769
4770 \backslash
4771 %
4772 \end_layout
4773
4774 \end_inset
4775
4776
4777 \end_layout
4778
4779 \end_inset
4780 </cell>
4781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4782 \begin_inset Text
4783
4784 \begin_layout Standard
4785
4786 \end_layout
4787
4788 \end_inset
4789 </cell>
4790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4791 \begin_inset Text
4792
4793 \begin_layout Standard
4794
4795 \end_layout
4796
4797 \end_inset
4798 </cell>
4799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4800 \begin_inset Text
4801
4802 \begin_layout Standard
4803
4804 \end_layout
4805
4806 \end_inset
4807 </cell>
4808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4809 \begin_inset Text
4810
4811 \begin_layout Standard
4812
4813 \end_layout
4814
4815 \end_inset
4816 </cell>
4817 </row>
4818 <row topline="true">
4819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4820 \begin_inset Text
4821
4822 \begin_layout Standard
4823 1
4824 \end_layout
4825
4826 \end_inset
4827 </cell>
4828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4829 \begin_inset Text
4830
4831 \begin_layout Standard
4832 2
4833 \end_layout
4834
4835 \end_inset
4836 </cell>
4837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4838 \begin_inset Text
4839
4840 \begin_layout Standard
4841 3
4842 \end_layout
4843
4844 \end_inset
4845 </cell>
4846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4847 \begin_inset Text
4848
4849 \begin_layout Standard
4850 4
4851 \end_layout
4852
4853 \end_inset
4854 </cell>
4855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4856 \begin_inset Text
4857
4858 \begin_layout Standard
4859 5
4860 \end_layout
4861
4862 \end_inset
4863 </cell>
4864 </row>
4865 <row topline="true">
4866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4867 \begin_inset Text
4868
4869 \begin_layout Standard
4870 asd
4871 \end_layout
4872
4873 \end_inset
4874 </cell>
4875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4876 \begin_inset Text
4877
4878 \begin_layout Standard
4879 s
4880 \end_layout
4881
4882 \end_inset
4883 </cell>
4884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4885 \begin_inset Text
4886
4887 \begin_layout Standard
4888 s
4889 \end_layout
4890
4891 \end_inset
4892 </cell>
4893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4894 \begin_inset Text
4895
4896 \begin_layout Standard
4897 s
4898 \end_layout
4899
4900 \end_inset
4901 </cell>
4902 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4903 \begin_inset Text
4904
4905 \begin_layout Standard
4906 asd
4907 \end_layout
4908
4909 \end_inset
4910 </cell>
4911 </row>
4912 <row topline="true">
4913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4914 \begin_inset Text
4915
4916 \begin_layout Standard
4917 asd
4918 \end_layout
4919
4920 \end_inset
4921 </cell>
4922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4923 \begin_inset Text
4924
4925 \begin_layout Standard
4926 s
4927 \end_layout
4928
4929 \end_inset
4930 </cell>
4931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4932 \begin_inset Text
4933
4934 \begin_layout Standard
4935 s
4936 \end_layout
4937
4938 \end_inset
4939 </cell>
4940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4941 \begin_inset Text
4942
4943 \begin_layout Standard
4944 s
4945 \end_layout
4946
4947 \end_inset
4948 </cell>
4949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4950 \begin_inset Text
4951
4952 \begin_layout Standard
4953 asd
4954 \end_layout
4955
4956 \end_inset
4957 </cell>
4958 </row>
4959 <row topline="true">
4960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4961 \begin_inset Text
4962
4963 \begin_layout Standard
4964 asd
4965 \end_layout
4966
4967 \end_inset
4968 </cell>
4969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4970 \begin_inset Text
4971
4972 \begin_layout Standard
4973 s
4974 \end_layout
4975
4976 \end_inset
4977 </cell>
4978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4979 \begin_inset Text
4980
4981 \begin_layout Standard
4982 s
4983 \end_layout
4984
4985 \end_inset
4986 </cell>
4987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4988 \begin_inset Text
4989
4990 \begin_layout Standard
4991 s
4992 \end_layout
4993
4994 \end_inset
4995 </cell>
4996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4997 \begin_inset Text
4998
4999 \begin_layout Standard
5000 asd
5001 \end_layout
5002
5003 \end_inset
5004 </cell>
5005 </row>
5006 <row topline="true" bottomline="true">
5007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5008 \begin_inset Text
5009
5010 \begin_layout Standard
5011 asd
5012 \end_layout
5013
5014 \end_inset
5015 </cell>
5016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5017 \begin_inset Text
5018
5019 \begin_layout Standard
5020 asd
5021 \end_layout
5022
5023 \end_inset
5024 </cell>
5025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5026 \begin_inset Text
5027
5028 \begin_layout Standard
5029 asd
5030 \end_layout
5031
5032 \end_inset
5033 </cell>
5034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5035 \begin_inset Text
5036
5037 \begin_layout Standard
5038 asd
5039 \end_layout
5040
5041 \end_inset
5042 </cell>
5043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5044 \begin_inset Text
5045
5046 \begin_layout Standard
5047 asd
5048 \end_layout
5049
5050 \end_inset
5051 </cell>
5052 </row>
5053 </lyxtabular>
5054
5055 \end_inset
5056
5057
5058 \end_layout
5059
5060 \begin_layout Standard
5061 \begin_inset VSpace medskip
5062 \end_inset
5063
5064
5065 \begin_inset Note Greyedout
5066 status open
5067
5068 \begin_layout Standard
5069
5070 \series bold
5071 Note:
5072 \series default
5073  The table number is increased for every longtable, also if you didn't set
5074  a caption for it.
5075  For this reason you could have the case that e.g.
5076  Table\InsetSpace ~
5077 2.4 follows on Table\InsetSpace ~
5078 2.1 in the list of tables if there are two longtables
5079  without captions.
5080  To avoid this you can add the following command in ERT behind every longtable
5081  without a caption:
5082 \end_layout
5083
5084 \begin_layout Standard
5085
5086 \series bold
5087
5088 \backslash
5089 addtocounter{table}{-1}
5090 \end_layout
5091
5092 \end_inset
5093
5094
5095 \end_layout
5096
5097 \begin_layout Standard
5098 \begin_inset Note Greyedout
5099 status open
5100
5101 \begin_layout Standard
5102
5103 \series bold
5104 Note:
5105 \series default
5106  If you are using the LaTeX-package 
5107 \series bold
5108 hyperref
5109 \series default
5110
5111 \begin_inset LatexCommand index
5112 name "LaTeX-packages ! hyperref"
5113
5114 \end_inset
5115
5116  to link cross-references, the link to a longtable caption will always point
5117  to the beginning of the document.
5118 \end_layout
5119
5120 \end_inset
5121
5122
5123 \end_layout
5124
5125 \begin_layout Subsubsection
5126 References to Longtables
5127 \begin_inset LatexCommand index
5128 name "Longtables ! References"
5129
5130 \end_inset
5131
5132
5133 \end_layout
5134
5135 \begin_layout Standard
5136 \begin_inset Tabular
5137 <lyxtabular version="3" rows="6" columns="5">
5138 <features islongtable="true">
5139 <column alignment="center" valignment="top" leftline="true" width="0">
5140 <column alignment="center" valignment="top" leftline="true" width="0">
5141 <column alignment="center" valignment="top" leftline="true" width="0">
5142 <column alignment="center" valignment="top" leftline="true" width="0">
5143 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5144 <row>
5145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5146 \begin_inset Text
5147
5148 \begin_layout Standard
5149 \begin_inset Caption
5150
5151 \begin_layout Standard
5152 Referenced longtable
5153 \begin_inset LatexCommand label
5154 name "tab:RefExample"
5155
5156 \end_inset
5157
5158
5159 \end_layout
5160
5161 \end_inset
5162
5163
5164 \begin_inset ERT
5165 status collapsed
5166
5167 \begin_layout Standard
5168
5169
5170 \backslash
5171
5172 \backslash
5173 %
5174 \end_layout
5175
5176 \end_inset
5177
5178
5179 \end_layout
5180
5181 \end_inset
5182 </cell>
5183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5184 \begin_inset Text
5185
5186 \begin_layout Standard
5187
5188 \end_layout
5189
5190 \end_inset
5191 </cell>
5192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5193 \begin_inset Text
5194
5195 \begin_layout Standard
5196
5197 \end_layout
5198
5199 \end_inset
5200 </cell>
5201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5202 \begin_inset Text
5203
5204 \begin_layout Standard
5205
5206 \end_layout
5207
5208 \end_inset
5209 </cell>
5210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5211 \begin_inset Text
5212
5213 \begin_layout Standard
5214
5215 \end_layout
5216
5217 \end_inset
5218 </cell>
5219 </row>
5220 <row topline="true">
5221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5222 \begin_inset Text
5223
5224 \begin_layout Standard
5225 1
5226 \end_layout
5227
5228 \end_inset
5229 </cell>
5230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5231 \begin_inset Text
5232
5233 \begin_layout Standard
5234 2
5235 \end_layout
5236
5237 \end_inset
5238 </cell>
5239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5240 \begin_inset Text
5241
5242 \begin_layout Standard
5243 3
5244 \end_layout
5245
5246 \end_inset
5247 </cell>
5248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5249 \begin_inset Text
5250
5251 \begin_layout Standard
5252 4
5253 \end_layout
5254
5255 \end_inset
5256 </cell>
5257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5258 \begin_inset Text
5259
5260 \begin_layout Standard
5261 5
5262 \end_layout
5263
5264 \end_inset
5265 </cell>
5266 </row>
5267 <row topline="true">
5268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5269 \begin_inset Text
5270
5271 \begin_layout Standard
5272 asd
5273 \end_layout
5274
5275 \end_inset
5276 </cell>
5277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5278 \begin_inset Text
5279
5280 \begin_layout Standard
5281 s
5282 \end_layout
5283
5284 \end_inset
5285 </cell>
5286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5287 \begin_inset Text
5288
5289 \begin_layout Standard
5290 s
5291 \end_layout
5292
5293 \end_inset
5294 </cell>
5295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5296 \begin_inset Text
5297
5298 \begin_layout Standard
5299 s
5300 \end_layout
5301
5302 \end_inset
5303 </cell>
5304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5305 \begin_inset Text
5306
5307 \begin_layout Standard
5308 asd
5309 \end_layout
5310
5311 \end_inset
5312 </cell>
5313 </row>
5314 <row topline="true">
5315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5316 \begin_inset Text
5317
5318 \begin_layout Standard
5319 asd
5320 \end_layout
5321
5322 \end_inset
5323 </cell>
5324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5325 \begin_inset Text
5326
5327 \begin_layout Standard
5328 s
5329 \end_layout
5330
5331 \end_inset
5332 </cell>
5333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5334 \begin_inset Text
5335
5336 \begin_layout Standard
5337 s
5338 \end_layout
5339
5340 \end_inset
5341 </cell>
5342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5343 \begin_inset Text
5344
5345 \begin_layout Standard
5346 s
5347 \end_layout
5348
5349 \end_inset
5350 </cell>
5351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5352 \begin_inset Text
5353
5354 \begin_layout Standard
5355 asd
5356 \end_layout
5357
5358 \end_inset
5359 </cell>
5360 </row>
5361 <row topline="true">
5362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5363 \begin_inset Text
5364
5365 \begin_layout Standard
5366 asd
5367 \end_layout
5368
5369 \end_inset
5370 </cell>
5371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5372 \begin_inset Text
5373
5374 \begin_layout Standard
5375 s
5376 \end_layout
5377
5378 \end_inset
5379 </cell>
5380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5381 \begin_inset Text
5382
5383 \begin_layout Standard
5384 s
5385 \end_layout
5386
5387 \end_inset
5388 </cell>
5389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5390 \begin_inset Text
5391
5392 \begin_layout Standard
5393 s
5394 \end_layout
5395
5396 \end_inset
5397 </cell>
5398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5399 \begin_inset Text
5400
5401 \begin_layout Standard
5402 asd
5403 \end_layout
5404
5405 \end_inset
5406 </cell>
5407 </row>
5408 <row topline="true" bottomline="true">
5409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5410 \begin_inset Text
5411
5412 \begin_layout Standard
5413 asd
5414 \end_layout
5415
5416 \end_inset
5417 </cell>
5418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5419 \begin_inset Text
5420
5421 \begin_layout Standard
5422 sad
5423 \end_layout
5424
5425 \end_inset
5426 </cell>
5427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5428 \begin_inset Text
5429
5430 \begin_layout Standard
5431 asd
5432 \end_layout
5433
5434 \end_inset
5435 </cell>
5436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5437 \begin_inset Text
5438
5439 \begin_layout Standard
5440 asd
5441 \end_layout
5442
5443 \end_inset
5444 </cell>
5445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5446 \begin_inset Text
5447
5448 \begin_layout Standard
5449 asd
5450 \end_layout
5451
5452 \end_inset
5453 </cell>
5454 </row>
5455 </lyxtabular>
5456
5457 \end_inset
5458
5459
5460 \end_layout
5461
5462 \begin_layout Standard
5463 To reference a longtable, insert a label into the caption.
5464  Note that you have to add the label prefix 
5465 \begin_inset Quotes eld
5466 \end_inset
5467
5468
5469 \emph on
5470 tab:
5471 \emph default
5472
5473 \begin_inset Quotes eld
5474 \end_inset
5475
5476  manually in the label field.
5477 \end_layout
5478
5479 \begin_layout Standard
5480 This is a reference to Table\InsetSpace ~
5481
5482 \begin_inset LatexCommand ref
5483 reference "tab:RefExample"
5484
5485 \end_inset
5486
5487 .
5488 \end_layout
5489
5490 \begin_layout Standard
5491 The caption layout can be set together with all other caption of your document
5492  using the LaTeX-package 
5493 \series bold
5494 caption
5495 \series default
5496
5497 \begin_inset LatexCommand index
5498 name "LaTeX-packages ! caption"
5499
5500 \end_inset
5501
5502 , see section\InsetSpace ~
5503
5504 \begin_inset LatexCommand ref
5505 reference "sec:Caption-Formatting"
5506
5507 \end_inset
5508
5509 .
5510 \end_layout
5511
5512 \begin_layout Subsubsection
5513 Caption Width
5514 \begin_inset LatexCommand index
5515 name "Longtables ! Caption Width"
5516
5517 \end_inset
5518
5519
5520 \end_layout
5521
5522 \begin_layout Standard
5523 The maximal width of of caption lines is defined by the length 
5524 \series bold
5525
5526 \backslash
5527 LTcapwidth
5528 \series default
5529 .
5530  Its default value is 4\InsetSpace \thinspace{}
5531 in.
5532  To change it add the following command to your document preamble or as
5533  ERT into your document before the longtable that should be affected
5534 \end_layout
5535
5536 \begin_layout Standard
5537
5538 \series bold
5539
5540 \backslash
5541 setlength{
5542 \backslash
5543 LTcapwidth}{width}
5544 \end_layout
5545
5546 \begin_layout Standard
5547 where the width could have one of the units listed in appendix\InsetSpace ~
5548
5549 \begin_inset LatexCommand ref
5550 reference "cha:Units-available-in"
5551
5552 \end_inset
5553
5554 .
5555 \end_layout
5556
5557 \begin_layout Standard
5558 The following tables show the difference:
5559 \end_layout
5560
5561 \begin_layout Standard
5562 \begin_inset Tabular
5563 <lyxtabular version="3" rows="6" columns="5">
5564 <features islongtable="true">
5565 <column alignment="center" valignment="top" leftline="true" width="0">
5566 <column alignment="center" valignment="top" leftline="true" width="0">
5567 <column alignment="center" valignment="top" leftline="true" width="0">
5568 <column alignment="center" valignment="top" leftline="true" width="0">
5569 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5570 <row>
5571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5572 \begin_inset Text
5573
5574 \begin_layout Standard
5575 \begin_inset Caption
5576
5577 \begin_layout Standard
5578 long full title with default width long full title with default width long
5579  full title with default width
5580 \begin_inset OptArg
5581 status collapsed
5582
5583 \begin_layout Standard
5584 caption with default width
5585 \end_layout
5586
5587 \end_inset
5588
5589
5590 \end_layout
5591
5592 \end_inset
5593
5594
5595 \begin_inset ERT
5596 status collapsed
5597
5598 \begin_layout Standard
5599
5600
5601 \backslash
5602
5603 \backslash
5604 %
5605 \end_layout
5606
5607 \end_inset
5608
5609
5610 \end_layout
5611
5612 \end_inset
5613 </cell>
5614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5615 \begin_inset Text
5616
5617 \begin_layout Standard
5618
5619 \end_layout
5620
5621 \end_inset
5622 </cell>
5623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5624 \begin_inset Text
5625
5626 \begin_layout Standard
5627
5628 \end_layout
5629
5630 \end_inset
5631 </cell>
5632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5633 \begin_inset Text
5634
5635 \begin_layout Standard
5636
5637 \end_layout
5638
5639 \end_inset
5640 </cell>
5641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5642 \begin_inset Text
5643
5644 \begin_layout Standard
5645
5646 \end_layout
5647
5648 \end_inset
5649 </cell>
5650 </row>
5651 <row topline="true">
5652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5653 \begin_inset Text
5654
5655 \begin_layout Standard
5656 1
5657 \end_layout
5658
5659 \end_inset
5660 </cell>
5661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5662 \begin_inset Text
5663
5664 \begin_layout Standard
5665 2
5666 \end_layout
5667
5668 \end_inset
5669 </cell>
5670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5671 \begin_inset Text
5672
5673 \begin_layout Standard
5674 3
5675 \end_layout
5676
5677 \end_inset
5678 </cell>
5679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5680 \begin_inset Text
5681
5682 \begin_layout Standard
5683 4
5684 \end_layout
5685
5686 \end_inset
5687 </cell>
5688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5689 \begin_inset Text
5690
5691 \begin_layout Standard
5692 5
5693 \end_layout
5694
5695 \end_inset
5696 </cell>
5697 </row>
5698 <row topline="true">
5699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5700 \begin_inset Text
5701
5702 \begin_layout Standard
5703 asd
5704 \end_layout
5705
5706 \end_inset
5707 </cell>
5708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5709 \begin_inset Text
5710
5711 \begin_layout Standard
5712 s
5713 \end_layout
5714
5715 \end_inset
5716 </cell>
5717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5718 \begin_inset Text
5719
5720 \begin_layout Standard
5721 s
5722 \end_layout
5723
5724 \end_inset
5725 </cell>
5726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5727 \begin_inset Text
5728
5729 \begin_layout Standard
5730 s
5731 \end_layout
5732
5733 \end_inset
5734 </cell>
5735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5736 \begin_inset Text
5737
5738 \begin_layout Standard
5739 asd
5740 \end_layout
5741
5742 \end_inset
5743 </cell>
5744 </row>
5745 <row topline="true">
5746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5747 \begin_inset Text
5748
5749 \begin_layout Standard
5750 asd
5751 \end_layout
5752
5753 \end_inset
5754 </cell>
5755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5756 \begin_inset Text
5757
5758 \begin_layout Standard
5759 s
5760 \end_layout
5761
5762 \end_inset
5763 </cell>
5764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5765 \begin_inset Text
5766
5767 \begin_layout Standard
5768 s
5769 \end_layout
5770
5771 \end_inset
5772 </cell>
5773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5774 \begin_inset Text
5775
5776 \begin_layout Standard
5777 s
5778 \end_layout
5779
5780 \end_inset
5781 </cell>
5782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5783 \begin_inset Text
5784
5785 \begin_layout Standard
5786 asd
5787 \end_layout
5788
5789 \end_inset
5790 </cell>
5791 </row>
5792 <row topline="true">
5793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5794 \begin_inset Text
5795
5796 \begin_layout Standard
5797 asd
5798 \end_layout
5799
5800 \end_inset
5801 </cell>
5802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5803 \begin_inset Text
5804
5805 \begin_layout Standard
5806 s
5807 \end_layout
5808
5809 \end_inset
5810 </cell>
5811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5812 \begin_inset Text
5813
5814 \begin_layout Standard
5815 s
5816 \end_layout
5817
5818 \end_inset
5819 </cell>
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5821 \begin_inset Text
5822
5823 \begin_layout Standard
5824 s
5825 \end_layout
5826
5827 \end_inset
5828 </cell>
5829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5830 \begin_inset Text
5831
5832 \begin_layout Standard
5833 asd
5834 \end_layout
5835
5836 \end_inset
5837 </cell>
5838 </row>
5839 <row topline="true" bottomline="true">
5840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5841 \begin_inset Text
5842
5843 \begin_layout Standard
5844 asd
5845 \end_layout
5846
5847 \end_inset
5848 </cell>
5849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5850 \begin_inset Text
5851
5852 \begin_layout Standard
5853 sad
5854 \end_layout
5855
5856 \end_inset
5857 </cell>
5858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5859 \begin_inset Text
5860
5861 \begin_layout Standard
5862 asd
5863 \end_layout
5864
5865 \end_inset
5866 </cell>
5867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5868 \begin_inset Text
5869
5870 \begin_layout Standard
5871 asd
5872 \end_layout
5873
5874 \end_inset
5875 </cell>
5876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5877 \begin_inset Text
5878
5879 \begin_layout Standard
5880 asd
5881 \end_layout
5882
5883 \end_inset
5884 </cell>
5885 </row>
5886 </lyxtabular>
5887
5888 \end_inset
5889
5890
5891 \end_layout
5892
5893 \begin_layout Standard
5894 \begin_inset ERT
5895 status collapsed
5896
5897 \begin_layout Standard
5898
5899
5900 \backslash
5901 setlength{
5902 \backslash
5903 LTcapwidth}{5cm}
5904 \end_layout
5905
5906 \end_inset
5907
5908
5909 \begin_inset Tabular
5910 <lyxtabular version="3" rows="6" columns="5">
5911 <features islongtable="true">
5912 <column alignment="center" valignment="top" leftline="true" width="0">
5913 <column alignment="center" valignment="top" leftline="true" width="0">
5914 <column alignment="center" valignment="top" leftline="true" width="0">
5915 <column alignment="center" valignment="top" leftline="true" width="0">
5916 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5917 <row>
5918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5919 \begin_inset Text
5920
5921 \begin_layout Standard
5922 \begin_inset Caption
5923
5924 \begin_layout Standard
5925 long full title with width set to 5\InsetSpace \thinspace{}
5926 cm long full title with width set to
5927  5\InsetSpace \thinspace{}
5928 cm long full title with width set to 5\InsetSpace \thinspace{}
5929 cm
5930 \begin_inset OptArg
5931 status collapsed
5932
5933 \begin_layout Standard
5934 caption with width\InsetSpace \thinspace{}
5935 =\InsetSpace \thinspace{}
5936 5\InsetSpace \thinspace{}
5937 cm
5938 \end_layout
5939
5940 \end_inset
5941
5942
5943 \end_layout
5944
5945 \end_inset
5946
5947
5948 \begin_inset ERT
5949 status collapsed
5950
5951 \begin_layout Standard
5952
5953
5954 \backslash
5955
5956 \backslash
5957 %
5958 \end_layout
5959
5960 \end_inset
5961
5962
5963 \end_layout
5964
5965 \end_inset
5966 </cell>
5967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5968 \begin_inset Text
5969
5970 \begin_layout Standard
5971
5972 \end_layout
5973
5974 \end_inset
5975 </cell>
5976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5977 \begin_inset Text
5978
5979 \begin_layout Standard
5980
5981 \end_layout
5982
5983 \end_inset
5984 </cell>
5985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5986 \begin_inset Text
5987
5988 \begin_layout Standard
5989
5990 \end_layout
5991
5992 \end_inset
5993 </cell>
5994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5995 \begin_inset Text
5996
5997 \begin_layout Standard
5998
5999 \end_layout
6000
6001 \end_inset
6002 </cell>
6003 </row>
6004 <row topline="true">
6005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6006 \begin_inset Text
6007
6008 \begin_layout Standard
6009 1
6010 \end_layout
6011
6012 \end_inset
6013 </cell>
6014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6015 \begin_inset Text
6016
6017 \begin_layout Standard
6018 2
6019 \end_layout
6020
6021 \end_inset
6022 </cell>
6023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6024 \begin_inset Text
6025
6026 \begin_layout Standard
6027 3
6028 \end_layout
6029
6030 \end_inset
6031 </cell>
6032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6033 \begin_inset Text
6034
6035 \begin_layout Standard
6036 4
6037 \end_layout
6038
6039 \end_inset
6040 </cell>
6041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6042 \begin_inset Text
6043
6044 \begin_layout Standard
6045 5
6046 \end_layout
6047
6048 \end_inset
6049 </cell>
6050 </row>
6051 <row topline="true">
6052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6053 \begin_inset Text
6054
6055 \begin_layout Standard
6056 asd
6057 \end_layout
6058
6059 \end_inset
6060 </cell>
6061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6062 \begin_inset Text
6063
6064 \begin_layout Standard
6065 s
6066 \end_layout
6067
6068 \end_inset
6069 </cell>
6070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6071 \begin_inset Text
6072
6073 \begin_layout Standard
6074 s
6075 \end_layout
6076
6077 \end_inset
6078 </cell>
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6080 \begin_inset Text
6081
6082 \begin_layout Standard
6083 s
6084 \end_layout
6085
6086 \end_inset
6087 </cell>
6088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6089 \begin_inset Text
6090
6091 \begin_layout Standard
6092 asd
6093 \end_layout
6094
6095 \end_inset
6096 </cell>
6097 </row>
6098 <row topline="true">
6099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6100 \begin_inset Text
6101
6102 \begin_layout Standard
6103 asd
6104 \end_layout
6105
6106 \end_inset
6107 </cell>
6108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6109 \begin_inset Text
6110
6111 \begin_layout Standard
6112 s
6113 \end_layout
6114
6115 \end_inset
6116 </cell>
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6118 \begin_inset Text
6119
6120 \begin_layout Standard
6121 s
6122 \end_layout
6123
6124 \end_inset
6125 </cell>
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6127 \begin_inset Text
6128
6129 \begin_layout Standard
6130 s
6131 \end_layout
6132
6133 \end_inset
6134 </cell>
6135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6136 \begin_inset Text
6137
6138 \begin_layout Standard
6139 asd
6140 \end_layout
6141
6142 \end_inset
6143 </cell>
6144 </row>
6145 <row topline="true">
6146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6147 \begin_inset Text
6148
6149 \begin_layout Standard
6150 asd
6151 \end_layout
6152
6153 \end_inset
6154 </cell>
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6156 \begin_inset Text
6157
6158 \begin_layout Standard
6159 s
6160 \end_layout
6161
6162 \end_inset
6163 </cell>
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6165 \begin_inset Text
6166
6167 \begin_layout Standard
6168 s
6169 \end_layout
6170
6171 \end_inset
6172 </cell>
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6174 \begin_inset Text
6175
6176 \begin_layout Standard
6177 s
6178 \end_layout
6179
6180 \end_inset
6181 </cell>
6182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6183 \begin_inset Text
6184
6185 \begin_layout Standard
6186 asd
6187 \end_layout
6188
6189 \end_inset
6190 </cell>
6191 </row>
6192 <row topline="true" bottomline="true">
6193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6194 \begin_inset Text
6195
6196 \begin_layout Standard
6197 asd
6198 \end_layout
6199
6200 \end_inset
6201 </cell>
6202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6203 \begin_inset Text
6204
6205 \begin_layout Standard
6206 sad
6207 \end_layout
6208
6209 \end_inset
6210 </cell>
6211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6212 \begin_inset Text
6213
6214 \begin_layout Standard
6215 asd
6216 \end_layout
6217
6218 \end_inset
6219 </cell>
6220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6221 \begin_inset Text
6222
6223 \begin_layout Standard
6224 asd
6225 \end_layout
6226
6227 \end_inset
6228 </cell>
6229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6230 \begin_inset Text
6231
6232 \begin_layout Standard
6233 asd
6234 \end_layout
6235
6236 \end_inset
6237 </cell>
6238 </row>
6239 </lyxtabular>
6240
6241 \end_inset
6242
6243
6244 \end_layout
6245
6246 \begin_layout Standard
6247 \begin_inset ERT
6248 status collapsed
6249
6250 \begin_layout Standard
6251
6252
6253 \backslash
6254 setlength{
6255 \backslash
6256 LTcapwidth}{4in}
6257 \end_layout
6258
6259 \end_inset
6260
6261
6262 \end_layout
6263
6264 \begin_layout Standard
6265 \begin_inset Note Greyedout
6266 status open
6267
6268 \begin_layout Standard
6269
6270 \series bold
6271 Note:
6272 \series default
6273  When the LaTeX-package 
6274 \series bold
6275 caption
6276 \series default
6277
6278 \begin_inset LatexCommand index
6279 name "LaTeX-packages ! caption"
6280
6281 \end_inset
6282
6283  is used, as in this document, the full page width is used for the caption
6284  when you use the default value of 4\InsetSpace \thinspace{}
6285 in for 
6286 \series bold
6287
6288 \backslash
6289 LTcapwidth
6290 \series default
6291 .
6292  To get in this case exactly a 4\InsetSpace \thinspace{}
6293 in wide caption, you can either use a value
6294  slightly different from 4.0\InsetSpace \thinspace{}
6295 in, e.g.
6296  3.99\InsetSpace \thinspace{}
6297 in, or the LaTeX-command 
6298 \series bold
6299
6300 \backslash
6301 captionsetup{width=value}
6302 \series default
6303  that is provided by the 
6304 \series bold
6305 caption
6306 \series default
6307 -package.
6308 \end_layout
6309
6310 \end_inset
6311
6312
6313 \end_layout
6314
6315 \begin_layout Subsubsection
6316 Different Captions for Table Pages
6317 \begin_inset LatexCommand index
6318 name "Longtables ! Different Captions for Pages"
6319
6320 \end_inset
6321
6322
6323 \end_layout
6324
6325 \begin_layout Standard
6326 When the other captions should differ from the one of the first table page,
6327  insert a caption with a non-empty short title in a dummy caption row marked
6328  as first header.
6329  The caption used for the other table pages is inserted as caption without
6330  a short title in a dummy caption row that is marked as main header.
6331  When this caption shouldn't include the table number, use the command
6332 \end_layout
6333
6334 \begin_layout Standard
6335
6336 \series bold
6337
6338 \backslash
6339 caption*{caption text}
6340 \end_layout
6341
6342 \begin_layout Standard
6343 instead of LyX's caption box.
6344  The label to reference the table is inserted into the caption of the first
6345  header.
6346  Table\InsetSpace ~
6347
6348 \begin_inset LatexCommand ref
6349 reference "tab:DiffCaptions"
6350
6351 \end_inset
6352
6353  is an example for a longtable with different heading where the second caption
6354  doesn't include the table number.
6355 \end_layout
6356
6357 \begin_layout Standard
6358 \align center
6359 \begin_inset Tabular
6360 <lyxtabular version="3" rows="60" columns="3">
6361 <features islongtable="true">
6362 <column alignment="left" valignment="top" leftline="true" width="0cm">
6363 <column alignment="left" valignment="top" rightline="true" width="0pt">
6364 <column alignment="right" valignment="top" rightline="true" width="0pt">
6365 <row endfirsthead="true">
6366 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6367 \begin_inset Text
6368
6369 \begin_layout Standard
6370 \begin_inset Caption
6371
6372 \begin_layout Standard
6373 Example Phone List
6374 \begin_inset LatexCommand label
6375 name "tab:DiffCaptions"
6376
6377 \end_inset
6378
6379
6380 \begin_inset OptArg
6381 status collapsed
6382
6383 \begin_layout Standard
6384 Example Phone List
6385 \end_layout
6386
6387 \end_inset
6388
6389
6390 \end_layout
6391
6392 \end_inset
6393
6394
6395 \begin_inset ERT
6396 status collapsed
6397
6398 \begin_layout Standard
6399
6400
6401 \backslash
6402
6403 \backslash
6404 %
6405 \end_layout
6406
6407 \end_inset
6408
6409
6410 \end_layout
6411
6412 \end_inset
6413 </cell>
6414 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6415 \begin_inset Text
6416
6417 \begin_layout Standard
6418
6419 \end_layout
6420
6421 \end_inset
6422 </cell>
6423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6424 \begin_inset Text
6425
6426 \begin_layout Standard
6427
6428 \end_layout
6429
6430 \end_inset
6431 </cell>
6432 </row>
6433 <row topline="true" bottomline="true" endfirsthead="true">
6434 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6435 \begin_inset Text
6436
6437 \begin_layout Standard
6438
6439 \series bold
6440 Example Phone List (ignore the names)
6441 \end_layout
6442
6443 \end_inset
6444 </cell>
6445 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6446 \begin_inset Text
6447
6448 \begin_layout Standard
6449
6450 \end_layout
6451
6452 \end_inset
6453 </cell>
6454 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6455 \begin_inset Text
6456
6457 \begin_layout Standard
6458
6459 \end_layout
6460
6461 \end_inset
6462 </cell>
6463 </row>
6464 <row topline="true" bottomline="true" endfirsthead="true">
6465 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6466 \begin_inset Text
6467
6468 \begin_layout Standard
6469
6470 \series bold
6471 NAME
6472 \end_layout
6473
6474 \end_inset
6475 </cell>
6476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6477 \begin_inset Text
6478
6479 \begin_layout Standard
6480
6481 \end_layout
6482
6483 \end_inset
6484 </cell>
6485 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6486 \begin_inset Text
6487
6488 \begin_layout Standard
6489
6490 \series bold
6491 TEL.
6492 \end_layout
6493
6494 \end_inset
6495 </cell>
6496 </row>
6497 <row bottomline="true" endhead="true">
6498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6499 \begin_inset Text
6500
6501 \begin_layout Standard
6502 \begin_inset ERT
6503 status collapsed
6504
6505 \begin_layout Standard
6506
6507
6508 \backslash
6509 caption*{Continued Example Phone List}
6510 \backslash
6511
6512 \backslash
6513 %
6514 \end_layout
6515
6516 \end_inset
6517
6518
6519 \end_layout
6520
6521 \end_inset
6522 </cell>
6523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6524 \begin_inset Text
6525
6526 \begin_layout Standard
6527
6528 \end_layout
6529
6530 \end_inset
6531 </cell>
6532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6533 \begin_inset Text
6534
6535 \begin_layout Standard
6536
6537 \end_layout
6538
6539 \end_inset
6540 </cell>
6541 </row>
6542 <row topline="true" bottomline="true" endhead="true">
6543 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6544 \begin_inset Text
6545
6546 \begin_layout Standard
6547
6548 \series bold
6549 Example Phone List
6550 \end_layout
6551
6552 \end_inset
6553 </cell>
6554 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6555 \begin_inset Text
6556
6557 \begin_layout Standard
6558
6559 \end_layout
6560
6561 \end_inset
6562 </cell>
6563 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6564 \begin_inset Text
6565
6566 \begin_layout Standard
6567
6568 \end_layout
6569
6570 \end_inset
6571 </cell>
6572 </row>
6573 <row topline="true" bottomline="true" endhead="true">
6574 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6575 \begin_inset Text
6576
6577 \begin_layout Standard
6578
6579 \series bold
6580 NAME
6581 \end_layout
6582
6583 \end_inset
6584 </cell>
6585 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6586 \begin_inset Text
6587
6588 \begin_layout Standard
6589
6590 \end_layout
6591
6592 \end_inset
6593 </cell>
6594 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6595 \begin_inset Text
6596
6597 \begin_layout Standard
6598
6599 \series bold
6600 TEL.
6601 \end_layout
6602
6603 \end_inset
6604 </cell>
6605 </row>
6606 <row topline="true" bottomline="true" endfoot="true">
6607 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6608 \begin_inset Text
6609
6610 \begin_layout Standard
6611 continued on next page
6612 \end_layout
6613
6614 \end_inset
6615 </cell>
6616 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6617 \begin_inset Text
6618
6619 \begin_layout Standard
6620
6621 \end_layout
6622
6623 \end_inset
6624 </cell>
6625 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6626 \begin_inset Text
6627
6628 \begin_layout Standard
6629
6630 \end_layout
6631
6632 \end_inset
6633 </cell>
6634 </row>
6635 <row>
6636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6637 \begin_inset Text
6638
6639 \begin_layout Standard
6640
6641 \series bold
6642 Annovi
6643 \end_layout
6644
6645 \end_inset
6646 </cell>
6647 <cell alignment="center" valignment="top" topline="true" usebox="none">
6648 \begin_inset Text
6649
6650 \begin_layout Standard
6651 Silvia
6652 \end_layout
6653
6654 \end_inset
6655 </cell>
6656 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6657 \begin_inset Text
6658
6659 \begin_layout Standard
6660 111
6661 \end_layout
6662
6663 \end_inset
6664 </cell>
6665 </row>
6666 <row>
6667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6668 \begin_inset Text
6669
6670 \begin_layout Standard
6671
6672 \series bold
6673 Bertoli
6674 \end_layout
6675
6676 \end_inset
6677 </cell>
6678 <cell alignment="center" valignment="top" topline="true" usebox="none">
6679 \begin_inset Text
6680
6681 \begin_layout Standard
6682 Stefano
6683 \end_layout
6684
6685 \end_inset
6686 </cell>
6687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6688 \begin_inset Text
6689
6690 \begin_layout Standard
6691 111
6692 \end_layout
6693
6694 \end_inset
6695 </cell>
6696 </row>
6697 <row>
6698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6699 \begin_inset Text
6700
6701 \begin_layout Standard
6702
6703 \series bold
6704 Bozzi
6705 \end_layout
6706
6707 \end_inset
6708 </cell>
6709 <cell alignment="center" valignment="top" topline="true" usebox="none">
6710 \begin_inset Text
6711
6712 \begin_layout Standard
6713 Walter
6714 \end_layout
6715
6716 \end_inset
6717 </cell>
6718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6719 \begin_inset Text
6720
6721 \begin_layout Standard
6722 111
6723 \end_layout
6724
6725 \end_inset
6726 </cell>
6727 </row>
6728 <row>
6729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6730 \begin_inset Text
6731
6732 \begin_layout Standard
6733
6734 \series bold
6735 Cachia
6736 \end_layout
6737
6738 \end_inset
6739 </cell>
6740 <cell alignment="center" valignment="top" topline="true" usebox="none">
6741 \begin_inset Text
6742
6743 \begin_layout Standard
6744 Maria
6745 \end_layout
6746
6747 \end_inset
6748 </cell>
6749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6750 \begin_inset Text
6751
6752 \begin_layout Standard
6753 111
6754 \end_layout
6755
6756 \end_inset
6757 </cell>
6758 </row>
6759 <row>
6760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6761 \begin_inset Text
6762
6763 \begin_layout Standard
6764
6765 \series bold
6766 Cachia
6767 \end_layout
6768
6769 \end_inset
6770 </cell>
6771 <cell alignment="center" valignment="top" topline="true" usebox="none">
6772 \begin_inset Text
6773
6774 \begin_layout Standard
6775 Maurizio
6776 \end_layout
6777
6778 \end_inset
6779 </cell>
6780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6781 \begin_inset Text
6782
6783 \begin_layout Standard
6784 111
6785 \end_layout
6786
6787 \end_inset
6788 </cell>
6789 </row>
6790 <row>
6791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6792 \begin_inset Text
6793
6794 \begin_layout Standard
6795
6796 \series bold
6797 Cinquemani
6798 \end_layout
6799
6800 \end_inset
6801 </cell>
6802 <cell alignment="center" valignment="top" topline="true" usebox="none">
6803 \begin_inset Text
6804
6805 \begin_layout Standard
6806 Giusi
6807 \end_layout
6808
6809 \end_inset
6810 </cell>
6811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6812 \begin_inset Text
6813
6814 \begin_layout Standard
6815 111
6816 \end_layout
6817
6818 \end_inset
6819 </cell>
6820 </row>
6821 <row>
6822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6823 \begin_inset Text
6824
6825 \begin_layout Standard
6826
6827 \series bold
6828 Colin
6829 \end_layout
6830
6831 \end_inset
6832 </cell>
6833 <cell alignment="center" valignment="top" topline="true" usebox="none">
6834 \begin_inset Text
6835
6836 \begin_layout Standard
6837 Bernard
6838 \end_layout
6839
6840 \end_inset
6841 </cell>
6842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6843 \begin_inset Text
6844
6845 \begin_layout Standard
6846 111
6847 \end_layout
6848
6849 \end_inset
6850 </cell>
6851 </row>
6852 <row>
6853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6854 \begin_inset Text
6855
6856 \begin_layout Standard
6857
6858 \series bold
6859 Concli
6860 \end_layout
6861
6862 \end_inset
6863 </cell>
6864 <cell alignment="center" valignment="top" topline="true" usebox="none">
6865 \begin_inset Text
6866
6867 \begin_layout Standard
6868 Gianfranco
6869 \end_layout
6870
6871 \end_inset
6872 </cell>
6873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6874 \begin_inset Text
6875
6876 \begin_layout Standard
6877 111
6878 \end_layout
6879
6880 \end_inset
6881 </cell>
6882 </row>
6883 <row>
6884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6885 \begin_inset Text
6886
6887 \begin_layout Standard
6888
6889 \series bold
6890 Dal Bosco
6891 \end_layout
6892
6893 \end_inset
6894 </cell>
6895 <cell alignment="center" valignment="top" topline="true" usebox="none">
6896 \begin_inset Text
6897
6898 \begin_layout Standard
6899 Carolina
6900 \end_layout
6901
6902 \end_inset
6903 </cell>
6904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6905 \begin_inset Text
6906
6907 \begin_layout Standard
6908 111
6909 \end_layout
6910
6911 \end_inset
6912 </cell>
6913 </row>
6914 <row>
6915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6916 \begin_inset Text
6917
6918 \begin_layout Standard
6919
6920 \series bold
6921 Dalpiaz
6922 \end_layout
6923
6924 \end_inset
6925 </cell>
6926 <cell alignment="center" valignment="top" topline="true" usebox="none">
6927 \begin_inset Text
6928
6929 \begin_layout Standard
6930 Annamaria
6931 \end_layout
6932
6933 \end_inset
6934 </cell>
6935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6936 \begin_inset Text
6937
6938 \begin_layout Standard
6939 111
6940 \end_layout
6941
6942 \end_inset
6943 </cell>
6944 </row>
6945 <row>
6946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6947 \begin_inset Text
6948
6949 \begin_layout Standard
6950
6951 \series bold
6952 Feliciello
6953 \end_layout
6954
6955 \end_inset
6956 </cell>
6957 <cell alignment="center" valignment="top" topline="true" usebox="none">
6958 \begin_inset Text
6959
6960 \begin_layout Standard
6961 Domenico
6962 \end_layout
6963
6964 \end_inset
6965 </cell>
6966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6967 \begin_inset Text
6968
6969 \begin_layout Standard
6970 111
6971 \end_layout
6972
6973 \end_inset
6974 </cell>
6975 </row>
6976 <row>
6977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6978 \begin_inset Text
6979
6980 \begin_layout Standard
6981
6982 \series bold
6983 Focarelli
6984 \end_layout
6985
6986 \end_inset
6987 </cell>
6988 <cell alignment="center" valignment="top" topline="true" usebox="none">
6989 \begin_inset Text
6990
6991 \begin_layout Standard
6992 Paola
6993 \end_layout
6994
6995 \end_inset
6996 </cell>
6997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6998 \begin_inset Text
6999
7000 \begin_layout Standard
7001 111
7002 \end_layout
7003
7004 \end_inset
7005 </cell>
7006 </row>
7007 <row>
7008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7009 \begin_inset Text
7010
7011 \begin_layout Standard
7012
7013 \series bold
7014 Galletti
7015 \end_layout
7016
7017 \end_inset
7018 </cell>
7019 <cell alignment="center" valignment="top" topline="true" usebox="none">
7020 \begin_inset Text
7021
7022 \begin_layout Standard
7023 Oreste
7024 \end_layout
7025
7026 \end_inset
7027 </cell>
7028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7029 \begin_inset Text
7030
7031 \begin_layout Standard
7032 111
7033 \end_layout
7034
7035 \end_inset
7036 </cell>
7037 </row>
7038 <row>
7039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7040 \begin_inset Text
7041
7042 \begin_layout Standard
7043
7044 \series bold
7045 Gasparini
7046 \end_layout
7047
7048 \end_inset
7049 </cell>
7050 <cell alignment="center" valignment="top" topline="true" usebox="none">
7051 \begin_inset Text
7052
7053 \begin_layout Standard
7054 Franca
7055 \end_layout
7056
7057 \end_inset
7058 </cell>
7059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7060 \begin_inset Text
7061
7062 \begin_layout Standard
7063 111
7064 \end_layout
7065
7066 \end_inset
7067 </cell>
7068 </row>
7069 <row>
7070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7071 \begin_inset Text
7072
7073 \begin_layout Standard
7074
7075 \series bold
7076 Rizzardi
7077 \series default
7078
7079 \begin_inset Foot
7080 status collapsed
7081
7082 \begin_layout Standard
7083 Example footnote
7084 \end_layout
7085
7086 \end_inset
7087
7088
7089 \end_layout
7090
7091 \end_inset
7092 </cell>
7093 <cell alignment="center" valignment="top" topline="true" usebox="none">
7094 \begin_inset Text
7095
7096 \begin_layout Standard
7097 Paola
7098 \end_layout
7099
7100 \end_inset
7101 </cell>
7102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7103 \begin_inset Text
7104
7105 \begin_layout Standard
7106 111
7107 \end_layout
7108
7109 \end_inset
7110 </cell>
7111 </row>
7112 <row>
7113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7114 \begin_inset Text
7115
7116 \begin_layout Standard
7117
7118 \series bold
7119 Lassini
7120 \end_layout
7121
7122 \end_inset
7123 </cell>
7124 <cell alignment="center" valignment="top" topline="true" usebox="none">
7125 \begin_inset Text
7126
7127 \begin_layout Standard
7128 Giancarlo
7129 \end_layout
7130
7131 \end_inset
7132 </cell>
7133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7134 \begin_inset Text
7135
7136 \begin_layout Standard
7137 111
7138 \end_layout
7139
7140 \end_inset
7141 </cell>
7142 </row>
7143 <row>
7144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7145 \begin_inset Text
7146
7147 \begin_layout Standard
7148
7149 \series bold
7150 Malfatti
7151 \end_layout
7152
7153 \end_inset
7154 </cell>
7155 <cell alignment="center" valignment="top" topline="true" usebox="none">
7156 \begin_inset Text
7157
7158 \begin_layout Standard
7159 Luciano
7160 \end_layout
7161
7162 \end_inset
7163 </cell>
7164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7165 \begin_inset Text
7166
7167 \begin_layout Standard
7168 111
7169 \end_layout
7170
7171 \end_inset
7172 </cell>
7173 </row>
7174 <row>
7175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7176 \begin_inset Text
7177
7178 \begin_layout Standard
7179
7180 \series bold
7181 Malfatti
7182 \end_layout
7183
7184 \end_inset
7185 </cell>
7186 <cell alignment="center" valignment="top" topline="true" usebox="none">
7187 \begin_inset Text
7188
7189 \begin_layout Standard
7190 Valeriano
7191 \end_layout
7192
7193 \end_inset
7194 </cell>
7195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7196 \begin_inset Text
7197
7198 \begin_layout Standard
7199 111
7200 \end_layout
7201
7202 \end_inset
7203 </cell>
7204 </row>
7205 <row>
7206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7207 \begin_inset Text
7208
7209 \begin_layout Standard
7210
7211 \series bold
7212 Meneguzzo
7213 \end_layout
7214
7215 \end_inset
7216 </cell>
7217 <cell alignment="center" valignment="top" topline="true" usebox="none">
7218 \begin_inset Text
7219
7220 \begin_layout Standard
7221 Roberto
7222 \end_layout
7223
7224 \end_inset
7225 </cell>
7226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7227 \begin_inset Text
7228
7229 \begin_layout Standard
7230 111
7231 \end_layout
7232
7233 \end_inset
7234 </cell>
7235 </row>
7236 <row>
7237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7238 \begin_inset Text
7239
7240 \begin_layout Standard
7241
7242 \series bold
7243 Mezzadra
7244 \end_layout
7245
7246 \end_inset
7247 </cell>
7248 <cell alignment="center" valignment="top" topline="true" usebox="none">
7249 \begin_inset Text
7250
7251 \begin_layout Standard
7252 Roberto
7253 \end_layout
7254
7255 \end_inset
7256 </cell>
7257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7258 \begin_inset Text
7259
7260 \begin_layout Standard
7261 111
7262 \end_layout
7263
7264 \end_inset
7265 </cell>
7266 </row>
7267 <row>
7268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7269 \begin_inset Text
7270
7271 \begin_layout Standard
7272
7273 \series bold
7274 Pirpamer
7275 \end_layout
7276
7277 \end_inset
7278 </cell>
7279 <cell alignment="center" valignment="top" topline="true" usebox="none">
7280 \begin_inset Text
7281
7282 \begin_layout Standard
7283 Erich
7284 \end_layout
7285
7286 \end_inset
7287 </cell>
7288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7289 \begin_inset Text
7290
7291 \begin_layout Standard
7292 111
7293 \end_layout
7294
7295 \end_inset
7296 </cell>
7297 </row>
7298 <row>
7299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7300 \begin_inset Text
7301
7302 \begin_layout Standard
7303
7304 \series bold
7305 Pochiesa
7306 \end_layout
7307
7308 \end_inset
7309 </cell>
7310 <cell alignment="center" valignment="top" topline="true" usebox="none">
7311 \begin_inset Text
7312
7313 \begin_layout Standard
7314 Paolo
7315 \end_layout
7316
7317 \end_inset
7318 </cell>
7319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7320 \begin_inset Text
7321
7322 \begin_layout Standard
7323 111, 222
7324 \end_layout
7325
7326 \end_inset
7327 </cell>
7328 </row>
7329 <row>
7330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7331 \begin_inset Text
7332
7333 \begin_layout Standard
7334
7335 \series bold
7336 Radina
7337 \end_layout
7338
7339 \end_inset
7340 </cell>
7341 <cell alignment="center" valignment="top" topline="true" usebox="none">
7342 \begin_inset Text
7343
7344 \begin_layout Standard
7345 Claudio
7346 \end_layout
7347
7348 \end_inset
7349 </cell>
7350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7351 \begin_inset Text
7352
7353 \begin_layout Standard
7354 111
7355 \end_layout
7356
7357 \end_inset
7358 </cell>
7359 </row>
7360 <row>
7361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7362 \begin_inset Text
7363
7364 \begin_layout Standard
7365
7366 \series bold
7367 Stuffer
7368 \end_layout
7369
7370 \end_inset
7371 </cell>
7372 <cell alignment="center" valignment="top" topline="true" usebox="none">
7373 \begin_inset Text
7374
7375 \begin_layout Standard
7376 Oskar
7377 \end_layout
7378
7379 \end_inset
7380 </cell>
7381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7382 \begin_inset Text
7383
7384 \begin_layout Standard
7385 111
7386 \end_layout
7387
7388 \end_inset
7389 </cell>
7390 </row>
7391 <row>
7392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7393 \begin_inset Text
7394
7395 \begin_layout Standard
7396
7397 \series bold
7398 Tacchelli
7399 \end_layout
7400
7401 \end_inset
7402 </cell>
7403 <cell alignment="center" valignment="top" topline="true" usebox="none">
7404 \begin_inset Text
7405
7406 \begin_layout Standard
7407 Ugo
7408 \end_layout
7409
7410 \end_inset
7411 </cell>
7412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7413 \begin_inset Text
7414
7415 \begin_layout Standard
7416 111
7417 \end_layout
7418
7419 \end_inset
7420 </cell>
7421 </row>
7422 <row>
7423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7424 \begin_inset Text
7425
7426 \begin_layout Standard
7427
7428 \series bold
7429 Tezzele
7430 \end_layout
7431
7432 \end_inset
7433 </cell>
7434 <cell alignment="center" valignment="top" topline="true" usebox="none">
7435 \begin_inset Text
7436
7437 \begin_layout Standard
7438 Margit
7439 \end_layout
7440
7441 \end_inset
7442 </cell>
7443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7444 \begin_inset Text
7445
7446 \begin_layout Standard
7447 111
7448 \end_layout
7449
7450 \end_inset
7451 </cell>
7452 </row>
7453 <row>
7454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7455 \begin_inset Text
7456
7457 \begin_layout Standard
7458
7459 \series bold
7460 Unterkalmsteiner
7461 \end_layout
7462
7463 \end_inset
7464 </cell>
7465 <cell alignment="center" valignment="top" topline="true" usebox="none">
7466 \begin_inset Text
7467
7468 \begin_layout Standard
7469 Frieda
7470 \end_layout
7471
7472 \end_inset
7473 </cell>
7474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7475 \begin_inset Text
7476
7477 \begin_layout Standard
7478 111
7479 \end_layout
7480
7481 \end_inset
7482 </cell>
7483 </row>
7484 <row>
7485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7486 \begin_inset Text
7487
7488 \begin_layout Standard
7489
7490 \series bold
7491 Vieider
7492 \end_layout
7493
7494 \end_inset
7495 </cell>
7496 <cell alignment="center" valignment="top" topline="true" usebox="none">
7497 \begin_inset Text
7498
7499 \begin_layout Standard
7500 Hilde
7501 \end_layout
7502
7503 \end_inset
7504 </cell>
7505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7506 \begin_inset Text
7507
7508 \begin_layout Standard
7509 111
7510 \end_layout
7511
7512 \end_inset
7513 </cell>
7514 </row>
7515 <row>
7516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7517 \begin_inset Text
7518
7519 \begin_layout Standard
7520
7521 \series bold
7522 Vigna
7523 \end_layout
7524
7525 \end_inset
7526 </cell>
7527 <cell alignment="center" valignment="top" topline="true" usebox="none">
7528 \begin_inset Text
7529
7530 \begin_layout Standard
7531 Jürgen
7532 \end_layout
7533
7534 \end_inset
7535 </cell>
7536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7537 \begin_inset Text
7538
7539 \begin_layout Standard
7540 111
7541 \end_layout
7542
7543 \end_inset
7544 </cell>
7545 </row>
7546 <row>
7547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7548 \begin_inset Text
7549
7550 \begin_layout Standard
7551
7552 \series bold
7553 Weber
7554 \end_layout
7555
7556 \end_inset
7557 </cell>
7558 <cell alignment="center" valignment="top" topline="true" usebox="none">
7559 \begin_inset Text
7560
7561 \begin_layout Standard
7562 Maurizio
7563 \end_layout
7564
7565 \end_inset
7566 </cell>
7567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7568 \begin_inset Text
7569
7570 \begin_layout Standard
7571 111
7572 \end_layout
7573
7574 \end_inset
7575 </cell>
7576 </row>
7577 <row bottomline="true">
7578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7579 \begin_inset Text
7580
7581 \begin_layout Standard
7582
7583 \series bold
7584 Winkler
7585 \end_layout
7586
7587 \end_inset
7588 </cell>
7589 <cell alignment="center" valignment="top" topline="true" usebox="none">
7590 \begin_inset Text
7591
7592 \begin_layout Standard
7593 Franz
7594 \end_layout
7595
7596 \end_inset
7597 </cell>
7598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7599 \begin_inset Text
7600
7601 \begin_layout Standard
7602 111
7603 \end_layout
7604
7605 \end_inset
7606 </cell>
7607 </row>
7608 <row bottomline="true">
7609 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7610 \begin_inset Text
7611
7612 \begin_layout Standard
7613  
7614 \end_layout
7615
7616 \end_inset
7617 </cell>
7618 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7619 \begin_inset Text
7620
7621 \begin_layout Standard
7622
7623 \end_layout
7624
7625 \end_inset
7626 </cell>
7627 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7628 \begin_inset Text
7629
7630 \begin_layout Standard
7631
7632 \end_layout
7633
7634 \end_inset
7635 </cell>
7636 </row>
7637 <row>
7638 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7639 \begin_inset Text
7640
7641 \begin_layout Standard
7642
7643 \series bold
7644 Annovi
7645 \end_layout
7646
7647 \end_inset
7648 </cell>
7649 <cell alignment="center" valignment="top" topline="true" usebox="none">
7650 \begin_inset Text
7651
7652 \begin_layout Standard
7653 Silvia
7654 \end_layout
7655
7656 \end_inset
7657 </cell>
7658 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7659 \begin_inset Text
7660
7661 \begin_layout Standard
7662 555
7663 \end_layout
7664
7665 \end_inset
7666 </cell>
7667 </row>
7668 <row>
7669 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7670 \begin_inset Text
7671
7672 \begin_layout Standard
7673
7674 \series bold
7675 Bertoli
7676 \end_layout
7677
7678 \end_inset
7679 </cell>
7680 <cell alignment="center" valignment="top" topline="true" usebox="none">
7681 \begin_inset Text
7682
7683 \begin_layout Standard
7684 Stefano
7685 \end_layout
7686
7687 \end_inset
7688 </cell>
7689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7690 \begin_inset Text
7691
7692 \begin_layout Standard
7693 555
7694 \end_layout
7695
7696 \end_inset
7697 </cell>
7698 </row>
7699 <row>
7700 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7701 \begin_inset Text
7702
7703 \begin_layout Standard
7704
7705 \series bold
7706 Bozzi
7707 \end_layout
7708
7709 \end_inset
7710 </cell>
7711 <cell alignment="center" valignment="top" topline="true" usebox="none">
7712 \begin_inset Text
7713
7714 \begin_layout Standard
7715 Walter
7716 \end_layout
7717
7718 \end_inset
7719 </cell>
7720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7721 \begin_inset Text
7722
7723 \begin_layout Standard
7724 555
7725 \end_layout
7726
7727 \end_inset
7728 </cell>
7729 </row>
7730 <row>
7731 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7732 \begin_inset Text
7733
7734 \begin_layout Standard
7735
7736 \series bold
7737 Cachia
7738 \end_layout
7739
7740 \end_inset
7741 </cell>
7742 <cell alignment="center" valignment="top" topline="true" usebox="none">
7743 \begin_inset Text
7744
7745 \begin_layout Standard
7746 Maria
7747 \end_layout
7748
7749 \end_inset
7750 </cell>
7751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7752 \begin_inset Text
7753
7754 \begin_layout Standard
7755 555
7756 \end_layout
7757
7758 \end_inset
7759 </cell>
7760 </row>
7761 <row>
7762 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7763 \begin_inset Text
7764
7765 \begin_layout Standard
7766
7767 \series bold
7768 Cachia
7769 \end_layout
7770
7771 \end_inset
7772 </cell>
7773 <cell alignment="center" valignment="top" topline="true" usebox="none">
7774 \begin_inset Text
7775
7776 \begin_layout Standard
7777 Maurizio
7778 \end_layout
7779
7780 \end_inset
7781 </cell>
7782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7783 \begin_inset Text
7784
7785 \begin_layout Standard
7786 555
7787 \end_layout
7788
7789 \end_inset
7790 </cell>
7791 </row>
7792 <row>
7793 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7794 \begin_inset Text
7795
7796 \begin_layout Standard
7797
7798 \series bold
7799 Cinquemani
7800 \end_layout
7801
7802 \end_inset
7803 </cell>
7804 <cell alignment="center" valignment="top" topline="true" usebox="none">
7805 \begin_inset Text
7806
7807 \begin_layout Standard
7808 Giusi
7809 \end_layout
7810
7811 \end_inset
7812 </cell>
7813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7814 \begin_inset Text
7815
7816 \begin_layout Standard
7817 555
7818 \end_layout
7819
7820 \end_inset
7821 </cell>
7822 </row>
7823 <row>
7824 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7825 \begin_inset Text
7826
7827 \begin_layout Standard
7828
7829 \series bold
7830 Colin
7831 \end_layout
7832
7833 \end_inset
7834 </cell>
7835 <cell alignment="center" valignment="top" topline="true" usebox="none">
7836 \begin_inset Text
7837
7838 \begin_layout Standard
7839 Bernard
7840 \end_layout
7841
7842 \end_inset
7843 </cell>
7844 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7845 \begin_inset Text
7846
7847 \begin_layout Standard
7848 555
7849 \end_layout
7850
7851 \end_inset
7852 </cell>
7853 </row>
7854 <row>
7855 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7856 \begin_inset Text
7857
7858 \begin_layout Standard
7859
7860 \series bold
7861 Concli
7862 \end_layout
7863
7864 \end_inset
7865 </cell>
7866 <cell alignment="center" valignment="top" topline="true" usebox="none">
7867 \begin_inset Text
7868
7869 \begin_layout Standard
7870 Gianfranco
7871 \end_layout
7872
7873 \end_inset
7874 </cell>
7875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7876 \begin_inset Text
7877
7878 \begin_layout Standard
7879 555
7880 \end_layout
7881
7882 \end_inset
7883 </cell>
7884 </row>
7885 <row>
7886 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7887 \begin_inset Text
7888
7889 \begin_layout Standard
7890
7891 \series bold
7892 Dal Bosco
7893 \end_layout
7894
7895 \end_inset
7896 </cell>
7897 <cell alignment="center" valignment="top" topline="true" usebox="none">
7898 \begin_inset Text
7899
7900 \begin_layout Standard
7901 Carolina
7902 \end_layout
7903
7904 \end_inset
7905 </cell>
7906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7907 \begin_inset Text
7908
7909 \begin_layout Standard
7910 555
7911 \end_layout
7912
7913 \end_inset
7914 </cell>
7915 </row>
7916 <row>
7917 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7918 \begin_inset Text
7919
7920 \begin_layout Standard
7921
7922 \series bold
7923 Dalpiaz
7924 \end_layout
7925
7926 \end_inset
7927 </cell>
7928 <cell alignment="center" valignment="top" topline="true" usebox="none">
7929 \begin_inset Text
7930
7931 \begin_layout Standard
7932 Annamaria
7933 \end_layout
7934
7935 \end_inset
7936 </cell>
7937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7938 \begin_inset Text
7939
7940 \begin_layout Standard
7941 555
7942 \end_layout
7943
7944 \end_inset
7945 </cell>
7946 </row>
7947 <row>
7948 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7949 \begin_inset Text
7950
7951 \begin_layout Standard
7952
7953 \series bold
7954 Feliciello
7955 \end_layout
7956
7957 \end_inset
7958 </cell>
7959 <cell alignment="center" valignment="top" topline="true" usebox="none">
7960 \begin_inset Text
7961
7962 \begin_layout Standard
7963 Domenico
7964 \end_layout
7965
7966 \end_inset
7967 </cell>
7968 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7969 \begin_inset Text
7970
7971 \begin_layout Standard
7972 555
7973 \end_layout
7974
7975 \end_inset
7976 </cell>
7977 </row>
7978 <row>
7979 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7980 \begin_inset Text
7981
7982 \begin_layout Standard
7983
7984 \series bold
7985 Focarelli
7986 \end_layout
7987
7988 \end_inset
7989 </cell>
7990 <cell alignment="center" valignment="top" topline="true" usebox="none">
7991 \begin_inset Text
7992
7993 \begin_layout Standard
7994 Paola
7995 \end_layout
7996
7997 \end_inset
7998 </cell>
7999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8000 \begin_inset Text
8001
8002 \begin_layout Standard
8003 555
8004 \end_layout
8005
8006 \end_inset
8007 </cell>
8008 </row>
8009 <row>
8010 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8011 \begin_inset Text
8012
8013 \begin_layout Standard
8014
8015 \series bold
8016 Galletti
8017 \end_layout
8018
8019 \end_inset
8020 </cell>
8021 <cell alignment="center" valignment="top" topline="true" usebox="none">
8022 \begin_inset Text
8023
8024 \begin_layout Standard
8025 Oreste
8026 \end_layout
8027
8028 \end_inset
8029 </cell>
8030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8031 \begin_inset Text
8032
8033 \begin_layout Standard
8034 555
8035 \end_layout
8036
8037 \end_inset
8038 </cell>
8039 </row>
8040 <row>
8041 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8042 \begin_inset Text
8043
8044 \begin_layout Standard
8045
8046 \series bold
8047 Gasparini
8048 \end_layout
8049
8050 \end_inset
8051 </cell>
8052 <cell alignment="center" valignment="top" topline="true" usebox="none">
8053 \begin_inset Text
8054
8055 \begin_layout Standard
8056 Franca
8057 \end_layout
8058
8059 \end_inset
8060 </cell>
8061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8062 \begin_inset Text
8063
8064 \begin_layout Standard
8065 555
8066 \end_layout
8067
8068 \end_inset
8069 </cell>
8070 </row>
8071 <row>
8072 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8073 \begin_inset Text
8074
8075 \begin_layout Standard
8076
8077 \series bold
8078 Rizzardi
8079 \end_layout
8080
8081 \end_inset
8082 </cell>
8083 <cell alignment="center" valignment="top" topline="true" usebox="none">
8084 \begin_inset Text
8085
8086 \begin_layout Standard
8087 Paola
8088 \end_layout
8089
8090 \end_inset
8091 </cell>
8092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8093 \begin_inset Text
8094
8095 \begin_layout Standard
8096 555
8097 \end_layout
8098
8099 \end_inset
8100 </cell>
8101 </row>
8102 <row>
8103 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8104 \begin_inset Text
8105
8106 \begin_layout Standard
8107
8108 \series bold
8109 Lassini
8110 \end_layout
8111
8112 \end_inset
8113 </cell>
8114 <cell alignment="center" valignment="top" topline="true" usebox="none">
8115 \begin_inset Text
8116
8117 \begin_layout Standard
8118 Giancarlo
8119 \end_layout
8120
8121 \end_inset
8122 </cell>
8123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8124 \begin_inset Text
8125
8126 \begin_layout Standard
8127 555
8128 \end_layout
8129
8130 \end_inset
8131 </cell>
8132 </row>
8133 <row>
8134 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8135 \begin_inset Text
8136
8137 \begin_layout Standard
8138
8139 \series bold
8140 Malfatti
8141 \end_layout
8142
8143 \end_inset
8144 </cell>
8145 <cell alignment="center" valignment="top" topline="true" usebox="none">
8146 \begin_inset Text
8147
8148 \begin_layout Standard
8149 Luciano
8150 \end_layout
8151
8152 \end_inset
8153 </cell>
8154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8155 \begin_inset Text
8156
8157 \begin_layout Standard
8158 555
8159 \end_layout
8160
8161 \end_inset
8162 </cell>
8163 </row>
8164 <row>
8165 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8166 \begin_inset Text
8167
8168 \begin_layout Standard
8169
8170 \series bold
8171 Malfatti
8172 \end_layout
8173
8174 \end_inset
8175 </cell>
8176 <cell alignment="center" valignment="top" topline="true" usebox="none">
8177 \begin_inset Text
8178
8179 \begin_layout Standard
8180 Valeriano
8181 \end_layout
8182
8183 \end_inset
8184 </cell>
8185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8186 \begin_inset Text
8187
8188 \begin_layout Standard
8189 555
8190 \end_layout
8191
8192 \end_inset
8193 </cell>
8194 </row>
8195 <row>
8196 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8197 \begin_inset Text
8198
8199 \begin_layout Standard
8200
8201 \series bold
8202 Meneguzzo
8203 \end_layout
8204
8205 \end_inset
8206 </cell>
8207 <cell alignment="center" valignment="top" topline="true" usebox="none">
8208 \begin_inset Text
8209
8210 \begin_layout Standard
8211 Roberto
8212 \end_layout
8213
8214 \end_inset
8215 </cell>
8216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8217 \begin_inset Text
8218
8219 \begin_layout Standard
8220 555
8221 \end_layout
8222
8223 \end_inset
8224 </cell>
8225 </row>
8226 <row bottomline="true">
8227 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8228 \begin_inset Text
8229
8230 \begin_layout Standard
8231
8232 \series bold
8233 Mezzadra
8234 \end_layout
8235
8236 \end_inset
8237 </cell>
8238 <cell alignment="center" valignment="top" topline="true" usebox="none">
8239 \begin_inset Text
8240
8241 \begin_layout Standard
8242 Roberto
8243 \end_layout
8244
8245 \end_inset
8246 </cell>
8247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8248 \begin_inset Text
8249
8250 \begin_layout Standard
8251 555
8252 \end_layout
8253
8254 \end_inset
8255 </cell>
8256 </row>
8257 <row bottomline="true" endlastfoot="true">
8258 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8259 \begin_inset Text
8260
8261 \begin_layout Standard
8262
8263 \end_layout
8264
8265 \end_inset
8266 </cell>
8267 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8268 \begin_inset Text
8269
8270 \begin_layout Standard
8271
8272 \end_layout
8273
8274 \end_inset
8275 </cell>
8276 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8277 \begin_inset Text
8278
8279 \begin_layout Standard
8280
8281 \end_layout
8282
8283 \end_inset
8284 </cell>
8285 </row>
8286 </lyxtabular>
8287
8288 \end_inset
8289
8290
8291 \end_layout
8292
8293 \begin_layout Section
8294 Special Longtable Issues
8295 \begin_inset LatexCommand label
8296 name "sec:Special-Longtable-Issues"
8297
8298 \end_inset
8299
8300
8301 \end_layout
8302
8303 \begin_layout Subsection
8304 Longtable Calculation
8305 \begin_inset LatexCommand index
8306 name "Longtables ! Calculation"
8307
8308 \end_inset
8309
8310
8311 \end_layout
8312
8313 \begin_layout Standard
8314 LaTeX calculates the height of table pages and their page breaks using so
8315  called chunks.
8316  Chunks are pieces of the tables that are at once in LaTeX's memory.
8317  The default value is historically set to only 20 table rows.
8318  If you are using longtables with many pages this may slow down the creation
8319  of your document.
8320  You can safely increase the chunk size to values of 100-1000 by adding
8321  this command line to your document preamble:
8322 \end_layout
8323
8324 \begin_layout Standard
8325
8326 \series bold
8327
8328 \backslash
8329 setcounter{LTchunksize}{100}
8330 \end_layout
8331
8332 \begin_layout Subsection
8333 Floats and Longtables
8334 \begin_inset LatexCommand index
8335 name "Longtables ! Floats"
8336
8337 \end_inset
8338
8339
8340 \end_layout
8341
8342 \begin_layout Standard
8343 There might be problems when a float appears on the same page where a longtable
8344  starts.
8345  To avoid such situation, add the command 
8346 \series bold
8347
8348 \backslash
8349 clearpage
8350 \series default
8351  as ERT before your longtable.
8352 \end_layout
8353
8354 \begin_layout Subsection
8355 Forced Page Breaks
8356 \begin_inset LatexCommand index
8357 name "Longtables ! Forced Page Breaks"
8358
8359 \end_inset
8360
8361
8362 \end_layout
8363
8364 \begin_layout Standard
8365 By default tables are only broken between rows.
8366  If you have a cell with multiples lines and want to have a page break within
8367  the cell, insert the new line command 
8368 \begin_inset Quotes eld
8369 \end_inset
8370
8371
8372 \series bold
8373
8374 \backslash
8375
8376 \backslash
8377
8378 \series default
8379
8380 \begin_inset Quotes erd
8381 \end_inset
8382
8383  as ERT at this point of the cell where it should be broken.
8384  Before the 
8385 \series bold
8386
8387 \backslash
8388
8389 \backslash
8390
8391 \series default
8392  command you have to insert in ERT so many 
8393 \begin_inset Quotes eld
8394 \end_inset
8395
8396
8397 \series bold
8398 &
8399 \series default
8400
8401 \begin_inset Quotes erd
8402 \end_inset
8403
8404  characters like the number of the following table columns.
8405  The 
8406 \series bold
8407 &
8408 \series default
8409  is the character to separate table cells.
8410  Write in ERT after each 
8411 \series bold
8412 &
8413 \series default
8414  the content of the corresponding following cell and delete the content
8415  of these cells.
8416 \newline
8417 Behind the the 
8418 \series bold
8419
8420 \backslash
8421
8422 \backslash
8423
8424 \series default
8425  command, insert so many 
8426 \series bold
8427 &
8428 \series default
8429  characters like the number of table columns before the current column.
8430  In Table\InsetSpace ~
8431
8432 \begin_inset LatexCommand ref
8433 reference "tab:ForcedPagebreak"
8434
8435 \end_inset
8436
8437  the cell that should be broken is in the second column followed by another
8438  column.
8439  Therefore the following command was inserted in the cell as ERT behind
8440  
8441 \begin_inset Quotes eld
8442 \end_inset
8443
8444
8445 \emph on
8446 Castelchiodato,
8447 \emph default
8448
8449 \begin_inset Quotes erd
8450 \end_inset
8451
8452 :
8453 \end_layout
8454
8455 \begin_layout Standard
8456
8457 \series bold
8458 & 111
8459 \backslash
8460
8461 \backslash
8462
8463 \newline
8464 &
8465 \end_layout
8466
8467 \begin_layout Standard
8468 The 
8469 \begin_inset Quotes eld
8470 \end_inset
8471
8472 111
8473 \begin_inset Quotes erd
8474 \end_inset
8475
8476  in the third columns of the row was deleted.
8477  If your footer row of the longtable has for a certain reason no upper line
8478  but you would have a horizontal line where the cell is broken, use this
8479  command instead:
8480 \end_layout
8481
8482 \begin_layout Standard
8483
8484 \series bold
8485 & 111
8486 \backslash
8487
8488 \backslash
8489
8490 \newline
8491
8492 \backslash
8493 hline &
8494 \end_layout
8495
8496 \begin_layout Standard
8497 When the cell to be broken is in the last column, the command
8498 \end_layout
8499
8500 \begin_layout Standard
8501
8502 \series bold
8503
8504 \backslash
8505 setlength{
8506 \backslash
8507 parf\SpecialChar \textcompwordmark{}
8508 illskip}{0pt}
8509 \end_layout
8510
8511 \begin_layout Standard
8512 must be inserted as ERT at the beginning of the cell.
8513  This assures that the part of the cell that will be displayed on the new
8514  page appears with the full width.
8515  
8516 \end_layout
8517
8518 \begin_layout Standard
8519 \align center
8520 \begin_inset Tabular
8521 <lyxtabular version="3" rows="39" columns="3">
8522 <features islongtable="true">
8523 <column alignment="left" valignment="top" leftline="true" width="0cm">
8524 <column alignment="left" valignment="top" rightline="true" width="3cm">
8525 <column alignment="right" valignment="top" rightline="true" width="0pt">
8526 <row endfirsthead="true">
8527 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8528 \begin_inset Text
8529
8530 \begin_layout Standard
8531 \begin_inset Caption
8532
8533 \begin_layout Standard
8534 Table with forced page break in table cell
8535 \begin_inset LatexCommand label
8536 name "tab:ForcedPagebreak"
8537
8538 \end_inset
8539
8540
8541 \begin_inset OptArg
8542 status collapsed
8543
8544 \begin_layout Standard
8545 Table with forced page break in table cell
8546 \end_layout
8547
8548 \end_inset
8549
8550
8551 \end_layout
8552
8553 \end_inset
8554
8555
8556 \begin_inset ERT
8557 status collapsed
8558
8559 \begin_layout Standard
8560
8561
8562 \backslash
8563
8564 \backslash
8565 %
8566 \end_layout
8567
8568 \end_inset
8569
8570
8571 \end_layout
8572
8573 \end_inset
8574 </cell>
8575 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8576 \begin_inset Text
8577
8578 \begin_layout Standard
8579
8580 \end_layout
8581
8582 \end_inset
8583 </cell>
8584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8585 \begin_inset Text
8586
8587 \begin_layout Standard
8588
8589 \end_layout
8590
8591 \end_inset
8592 </cell>
8593 </row>
8594 <row topline="true" bottomline="true" endfirsthead="true">
8595 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8596 \begin_inset Text
8597
8598 \begin_layout Standard
8599
8600 \series bold
8601 Example Phone List (ignore the names)
8602 \end_layout
8603
8604 \end_inset
8605 </cell>
8606 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8607 \begin_inset Text
8608
8609 \begin_layout Standard
8610
8611 \end_layout
8612
8613 \end_inset
8614 </cell>
8615 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8616 \begin_inset Text
8617
8618 \begin_layout Standard
8619
8620 \end_layout
8621
8622 \end_inset
8623 </cell>
8624 </row>
8625 <row topline="true" bottomline="true" endfirsthead="true">
8626 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8627 \begin_inset Text
8628
8629 \begin_layout Standard
8630
8631 \series bold
8632 NAME
8633 \end_layout
8634
8635 \end_inset
8636 </cell>
8637 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8638 \begin_inset Text
8639
8640 \begin_layout Standard
8641
8642 \end_layout
8643
8644 \end_inset
8645 </cell>
8646 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8647 \begin_inset Text
8648
8649 \begin_layout Standard
8650
8651 \series bold
8652 TEL.
8653 \end_layout
8654
8655 \end_inset
8656 </cell>
8657 </row>
8658 <row bottomline="true" endhead="true">
8659 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8660 \begin_inset Text
8661
8662 \begin_layout Standard
8663 \begin_inset ERT
8664 status collapsed
8665
8666 \begin_layout Standard
8667
8668
8669 \backslash
8670 caption*{Continued table with forced page break in table cell}
8671 \backslash
8672
8673 \backslash
8674 %
8675 \end_layout
8676
8677 \end_inset
8678
8679
8680 \end_layout
8681
8682 \end_inset
8683 </cell>
8684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8685 \begin_inset Text
8686
8687 \begin_layout Standard
8688
8689 \end_layout
8690
8691 \end_inset
8692 </cell>
8693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8694 \begin_inset Text
8695
8696 \begin_layout Standard
8697
8698 \end_layout
8699
8700 \end_inset
8701 </cell>
8702 </row>
8703 <row topline="true" bottomline="true" endhead="true">
8704 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8705 \begin_inset Text
8706
8707 \begin_layout Standard
8708  
8709 \series bold
8710 Example Phone List
8711 \end_layout
8712
8713 \end_inset
8714 </cell>
8715 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8716 \begin_inset Text
8717
8718 \begin_layout Standard
8719
8720 \end_layout
8721
8722 \end_inset
8723 </cell>
8724 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8725 \begin_inset Text
8726
8727 \begin_layout Standard
8728
8729 \end_layout
8730
8731 \end_inset
8732 </cell>
8733 </row>
8734 <row topline="true" bottomline="true" endhead="true">
8735 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8736 \begin_inset Text
8737
8738 \begin_layout Standard
8739
8740 \series bold
8741 NAME
8742 \end_layout
8743
8744 \end_inset
8745 </cell>
8746 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8747 \begin_inset Text
8748
8749 \begin_layout Standard
8750
8751 \end_layout
8752
8753 \end_inset
8754 </cell>
8755 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8756 \begin_inset Text
8757
8758 \begin_layout Standard
8759
8760 \series bold
8761 TEL.
8762 \end_layout
8763
8764 \end_inset
8765 </cell>
8766 </row>
8767 <row topline="true" bottomline="true" endfoot="true">
8768 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8769 \begin_inset Text
8770
8771 \begin_layout Standard
8772 continued on next page
8773 \end_layout
8774
8775 \end_inset
8776 </cell>
8777 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8778 \begin_inset Text
8779
8780 \begin_layout Standard
8781
8782 \end_layout
8783
8784 \end_inset
8785 </cell>
8786 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8787 \begin_inset Text
8788
8789 \begin_layout Standard
8790
8791 \end_layout
8792
8793 \end_inset
8794 </cell>
8795 </row>
8796 <row>
8797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8798 \begin_inset Text
8799
8800 \begin_layout Standard
8801
8802 \series bold
8803 Annovi
8804 \end_layout
8805
8806 \end_inset
8807 </cell>
8808 <cell alignment="center" valignment="top" topline="true" usebox="none">
8809 \begin_inset Text
8810
8811 \begin_layout Standard
8812 Silvia
8813 \end_layout
8814
8815 \end_inset
8816 </cell>
8817 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8818 \begin_inset Text
8819
8820 \begin_layout Standard
8821 111
8822 \end_layout
8823
8824 \end_inset
8825 </cell>
8826 </row>
8827 <row>
8828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8829 \begin_inset Text
8830
8831 \begin_layout Standard
8832
8833 \series bold
8834 Bertoli
8835 \end_layout
8836
8837 \end_inset
8838 </cell>
8839 <cell alignment="center" valignment="top" topline="true" usebox="none">
8840 \begin_inset Text
8841
8842 \begin_layout Standard
8843 Stefano
8844 \end_layout
8845
8846 \end_inset
8847 </cell>
8848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8849 \begin_inset Text
8850
8851 \begin_layout Standard
8852 111
8853 \end_layout
8854
8855 \end_inset
8856 </cell>
8857 </row>
8858 <row>
8859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8860 \begin_inset Text
8861
8862 \begin_layout Standard
8863
8864 \series bold
8865 Bozzi
8866 \end_layout
8867
8868 \end_inset
8869 </cell>
8870 <cell alignment="center" valignment="top" topline="true" usebox="none">
8871 \begin_inset Text
8872
8873 \begin_layout Standard
8874 Walter
8875 \end_layout
8876
8877 \end_inset
8878 </cell>
8879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8880 \begin_inset Text
8881
8882 \begin_layout Standard
8883 111
8884 \end_layout
8885
8886 \end_inset
8887 </cell>
8888 </row>
8889 <row>
8890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8891 \begin_inset Text
8892
8893 \begin_layout Standard
8894
8895 \series bold
8896 Cachia
8897 \end_layout
8898
8899 \end_inset
8900 </cell>
8901 <cell alignment="center" valignment="top" topline="true" usebox="none">
8902 \begin_inset Text
8903
8904 \begin_layout Standard
8905 Maria
8906 \end_layout
8907
8908 \end_inset
8909 </cell>
8910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8911 \begin_inset Text
8912
8913 \begin_layout Standard
8914 111
8915 \end_layout
8916
8917 \end_inset
8918 </cell>
8919 </row>
8920 <row>
8921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8922 \begin_inset Text
8923
8924 \begin_layout Standard
8925
8926 \series bold
8927 Cachia
8928 \end_layout
8929
8930 \end_inset
8931 </cell>
8932 <cell alignment="center" valignment="top" topline="true" usebox="none">
8933 \begin_inset Text
8934
8935 \begin_layout Standard
8936 Maurizio
8937 \end_layout
8938
8939 \end_inset
8940 </cell>
8941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8942 \begin_inset Text
8943
8944 \begin_layout Standard
8945 111
8946 \end_layout
8947
8948 \end_inset
8949 </cell>
8950 </row>
8951 <row>
8952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8953 \begin_inset Text
8954
8955 \begin_layout Standard
8956
8957 \series bold
8958 Cinquemani
8959 \end_layout
8960
8961 \end_inset
8962 </cell>
8963 <cell alignment="center" valignment="top" topline="true" usebox="none">
8964 \begin_inset Text
8965
8966 \begin_layout Standard
8967 Giusi
8968 \end_layout
8969
8970 \end_inset
8971 </cell>
8972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8973 \begin_inset Text
8974
8975 \begin_layout Standard
8976 111
8977 \end_layout
8978
8979 \end_inset
8980 </cell>
8981 </row>
8982 <row>
8983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8984 \begin_inset Text
8985
8986 \begin_layout Standard
8987
8988 \series bold
8989 Colin
8990 \end_layout
8991
8992 \end_inset
8993 </cell>
8994 <cell alignment="center" valignment="top" topline="true" usebox="none">
8995 \begin_inset Text
8996
8997 \begin_layout Standard
8998 Bernard
8999 \end_layout
9000
9001 \end_inset
9002 </cell>
9003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9004 \begin_inset Text
9005
9006 \begin_layout Standard
9007 111
9008 \end_layout
9009
9010 \end_inset
9011 </cell>
9012 </row>
9013 <row>
9014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9015 \begin_inset Text
9016
9017 \begin_layout Standard
9018
9019 \series bold
9020 Concli
9021 \end_layout
9022
9023 \end_inset
9024 </cell>
9025 <cell alignment="center" valignment="top" topline="true" usebox="none">
9026 \begin_inset Text
9027
9028 \begin_layout Standard
9029 Gianfranco
9030 \end_layout
9031
9032 \end_inset
9033 </cell>
9034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9035 \begin_inset Text
9036
9037 \begin_layout Standard
9038 111
9039 \end_layout
9040
9041 \end_inset
9042 </cell>
9043 </row>
9044 <row>
9045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9046 \begin_inset Text
9047
9048 \begin_layout Standard
9049
9050 \series bold
9051 Dal Bosco
9052 \end_layout
9053
9054 \end_inset
9055 </cell>
9056 <cell alignment="center" valignment="top" topline="true" usebox="none">
9057 \begin_inset Text
9058
9059 \begin_layout Standard
9060 Carolina
9061 \end_layout
9062
9063 \end_inset
9064 </cell>
9065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9066 \begin_inset Text
9067
9068 \begin_layout Standard
9069 111
9070 \end_layout
9071
9072 \end_inset
9073 </cell>
9074 </row>
9075 <row>
9076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9077 \begin_inset Text
9078
9079 \begin_layout Standard
9080
9081 \series bold
9082 Dalpiaz
9083 \end_layout
9084
9085 \end_inset
9086 </cell>
9087 <cell alignment="center" valignment="top" topline="true" usebox="none">
9088 \begin_inset Text
9089
9090 \begin_layout Standard
9091 Annamaria
9092 \end_layout
9093
9094 \end_inset
9095 </cell>
9096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9097 \begin_inset Text
9098
9099 \begin_layout Standard
9100 111
9101 \end_layout
9102
9103 \end_inset
9104 </cell>
9105 </row>
9106 <row>
9107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9108 \begin_inset Text
9109
9110 \begin_layout Standard
9111
9112 \series bold
9113 Feliciello
9114 \end_layout
9115
9116 \end_inset
9117 </cell>
9118 <cell alignment="center" valignment="top" topline="true" usebox="none">
9119 \begin_inset Text
9120
9121 \begin_layout Standard
9122 Domenico
9123 \end_layout
9124
9125 \end_inset
9126 </cell>
9127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9128 \begin_inset Text
9129
9130 \begin_layout Standard
9131 111
9132 \end_layout
9133
9134 \end_inset
9135 </cell>
9136 </row>
9137 <row>
9138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9139 \begin_inset Text
9140
9141 \begin_layout Standard
9142
9143 \series bold
9144 Focarelli
9145 \end_layout
9146
9147 \end_inset
9148 </cell>
9149 <cell alignment="center" valignment="top" topline="true" usebox="none">
9150 \begin_inset Text
9151
9152 \begin_layout Standard
9153 Paola
9154 \end_layout
9155
9156 \end_inset
9157 </cell>
9158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9159 \begin_inset Text
9160
9161 \begin_layout Standard
9162 111
9163 \end_layout
9164
9165 \end_inset
9166 </cell>
9167 </row>
9168 <row>
9169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9170 \begin_inset Text
9171
9172 \begin_layout Standard
9173
9174 \series bold
9175 Galletti
9176 \end_layout
9177
9178 \end_inset
9179 </cell>
9180 <cell alignment="center" valignment="top" topline="true" usebox="none">
9181 \begin_inset Text
9182
9183 \begin_layout Standard
9184 Oreste
9185 \end_layout
9186
9187 \end_inset
9188 </cell>
9189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9190 \begin_inset Text
9191
9192 \begin_layout Standard
9193 111
9194 \end_layout
9195
9196 \end_inset
9197 </cell>
9198 </row>
9199 <row>
9200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9201 \begin_inset Text
9202
9203 \begin_layout Standard
9204
9205 \series bold
9206 Gasparini
9207 \end_layout
9208
9209 \end_inset
9210 </cell>
9211 <cell alignment="center" valignment="top" topline="true" usebox="none">
9212 \begin_inset Text
9213
9214 \begin_layout Standard
9215 Franca
9216 \end_layout
9217
9218 \end_inset
9219 </cell>
9220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9221 \begin_inset Text
9222
9223 \begin_layout Standard
9224 111
9225 \end_layout
9226
9227 \end_inset
9228 </cell>
9229 </row>
9230 <row>
9231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9232 \begin_inset Text
9233
9234 \begin_layout Standard
9235
9236 \series bold
9237 Lassini
9238 \end_layout
9239
9240 \end_inset
9241 </cell>
9242 <cell alignment="center" valignment="top" topline="true" usebox="none">
9243 \begin_inset Text
9244
9245 \begin_layout Standard
9246 Giancarlo
9247 \end_layout
9248
9249 \end_inset
9250 </cell>
9251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9252 \begin_inset Text
9253
9254 \begin_layout Standard
9255 111
9256 \end_layout
9257
9258 \end_inset
9259 </cell>
9260 </row>
9261 <row>
9262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9263 \begin_inset Text
9264
9265 \begin_layout Standard
9266
9267 \series bold
9268 Malfatti
9269 \end_layout
9270
9271 \end_inset
9272 </cell>
9273 <cell alignment="center" valignment="top" topline="true" usebox="none">
9274 \begin_inset Text
9275
9276 \begin_layout Standard
9277 Luciano
9278 \end_layout
9279
9280 \end_inset
9281 </cell>
9282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9283 \begin_inset Text
9284
9285 \begin_layout Standard
9286 111
9287 \end_layout
9288
9289 \end_inset
9290 </cell>
9291 </row>
9292 <row>
9293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9294 \begin_inset Text
9295
9296 \begin_layout Standard
9297
9298 \series bold
9299 Malfatti
9300 \end_layout
9301
9302 \end_inset
9303 </cell>
9304 <cell alignment="center" valignment="top" topline="true" usebox="none">
9305 \begin_inset Text
9306
9307 \begin_layout Standard
9308 Valeriano
9309 \end_layout
9310
9311 \end_inset
9312 </cell>
9313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9314 \begin_inset Text
9315
9316 \begin_layout Standard
9317 111
9318 \end_layout
9319
9320 \end_inset
9321 </cell>
9322 </row>
9323 <row>
9324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9325 \begin_inset Text
9326
9327 \begin_layout Standard
9328
9329 \series bold
9330 Meneguzzo
9331 \end_layout
9332
9333 \end_inset
9334 </cell>
9335 <cell alignment="center" valignment="top" topline="true" usebox="none">
9336 \begin_inset Text
9337
9338 \begin_layout Standard
9339 Roberto
9340 \end_layout
9341
9342 \end_inset
9343 </cell>
9344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9345 \begin_inset Text
9346
9347 \begin_layout Standard
9348 111
9349 \end_layout
9350
9351 \end_inset
9352 </cell>
9353 </row>
9354 <row>
9355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9356 \begin_inset Text
9357
9358 \begin_layout Standard
9359
9360 \series bold
9361 Mezzadra
9362 \end_layout
9363
9364 \end_inset
9365 </cell>
9366 <cell alignment="center" valignment="top" topline="true" usebox="none">
9367 \begin_inset Text
9368
9369 \begin_layout Standard
9370 Roberto
9371 \end_layout
9372
9373 \end_inset
9374 </cell>
9375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9376 \begin_inset Text
9377
9378 \begin_layout Standard
9379 111
9380 \end_layout
9381
9382 \end_inset
9383 </cell>
9384 </row>
9385 <row>
9386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9387 \begin_inset Text
9388
9389 \begin_layout Standard
9390
9391 \series bold
9392 Pirpamer
9393 \end_layout
9394
9395 \end_inset
9396 </cell>
9397 <cell alignment="center" valignment="top" topline="true" usebox="none">
9398 \begin_inset Text
9399
9400 \begin_layout Standard
9401 Erich
9402 \end_layout
9403
9404 \end_inset
9405 </cell>
9406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9407 \begin_inset Text
9408
9409 \begin_layout Standard
9410 111
9411 \end_layout
9412
9413 \end_inset
9414 </cell>
9415 </row>
9416 <row>
9417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9418 \begin_inset Text
9419
9420 \begin_layout Standard
9421
9422 \series bold
9423 Pochiesa
9424 \end_layout
9425
9426 \end_inset
9427 </cell>
9428 <cell alignment="center" valignment="top" topline="true" usebox="none">
9429 \begin_inset Text
9430
9431 \begin_layout Standard
9432 Paolo
9433 \end_layout
9434
9435 \end_inset
9436 </cell>
9437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9438 \begin_inset Text
9439
9440 \begin_layout Standard
9441 111, 222
9442 \end_layout
9443
9444 \end_inset
9445 </cell>
9446 </row>
9447 <row>
9448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9449 \begin_inset Text
9450
9451 \begin_layout Standard
9452
9453 \series bold
9454 Radina
9455 \end_layout
9456
9457 \end_inset
9458 </cell>
9459 <cell alignment="center" valignment="top" topline="true" usebox="none">
9460 \begin_inset Text
9461
9462 \begin_layout Standard
9463 Claudio
9464 \end_layout
9465
9466 \end_inset
9467 </cell>
9468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9469 \begin_inset Text
9470
9471 \begin_layout Standard
9472 111
9473 \end_layout
9474
9475 \end_inset
9476 </cell>
9477 </row>
9478 <row>
9479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9480 \begin_inset Text
9481
9482 \begin_layout Standard
9483
9484 \series bold
9485 Rizzardi
9486 \end_layout
9487
9488 \end_inset
9489 </cell>
9490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9491 \begin_inset Text
9492
9493 \begin_layout Standard
9494 Paolo, 11.
9495  Fürst von Montecompatri, 11.
9496  Fürst von Sulmona und Vivaro, 10.
9497  Fürst von Rossano, 5.
9498  Herzog von Canemorte, 11.
9499  Herzog von Palombara, 5.
9500  Herzog von Castelchiodato,
9501 \begin_inset ERT
9502 status collapsed
9503
9504 \begin_layout Standard
9505
9506 & 111
9507 \backslash
9508
9509 \backslash
9510
9511 \end_layout
9512
9513 \begin_layout Standard
9514
9515 &
9516 \end_layout
9517
9518 \end_inset
9519
9520  11.
9521  Herzog von Poggionativo, 11.
9522  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9523  Graf von Valinfreda, 11.
9524  Baron von Cropalati, 11.
9525  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9526 \end_layout
9527
9528 \end_inset
9529 </cell>
9530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9531 \begin_inset Text
9532
9533 \begin_layout Standard
9534
9535 \end_layout
9536
9537 \end_inset
9538 </cell>
9539 </row>
9540 <row>
9541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9542 \begin_inset Text
9543
9544 \begin_layout Standard
9545
9546 \series bold
9547 Stuffer
9548 \end_layout
9549
9550 \end_inset
9551 </cell>
9552 <cell alignment="center" valignment="top" topline="true" usebox="none">
9553 \begin_inset Text
9554
9555 \begin_layout Standard
9556 Oskar
9557 \end_layout
9558
9559 \end_inset
9560 </cell>
9561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9562 \begin_inset Text
9563
9564 \begin_layout Standard
9565 111
9566 \end_layout
9567
9568 \end_inset
9569 </cell>
9570 </row>
9571 <row>
9572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9573 \begin_inset Text
9574
9575 \begin_layout Standard
9576
9577 \series bold
9578 Tacchelli
9579 \end_layout
9580
9581 \end_inset
9582 </cell>
9583 <cell alignment="center" valignment="top" topline="true" usebox="none">
9584 \begin_inset Text
9585
9586 \begin_layout Standard
9587 Ugo
9588 \end_layout
9589
9590 \end_inset
9591 </cell>
9592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9593 \begin_inset Text
9594
9595 \begin_layout Standard
9596 111
9597 \end_layout
9598
9599 \end_inset
9600 </cell>
9601 </row>
9602 <row>
9603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9604 \begin_inset Text
9605
9606 \begin_layout Standard
9607
9608 \series bold
9609 Tezzele
9610 \end_layout
9611
9612 \end_inset
9613 </cell>
9614 <cell alignment="center" valignment="top" topline="true" usebox="none">
9615 \begin_inset Text
9616
9617 \begin_layout Standard
9618 Margit
9619 \end_layout
9620
9621 \end_inset
9622 </cell>
9623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9624 \begin_inset Text
9625
9626 \begin_layout Standard
9627 111
9628 \end_layout
9629
9630 \end_inset
9631 </cell>
9632 </row>
9633 <row>
9634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9635 \begin_inset Text
9636
9637 \begin_layout Standard
9638
9639 \series bold
9640 Unterkalmsteiner
9641 \end_layout
9642
9643 \end_inset
9644 </cell>
9645 <cell alignment="center" valignment="top" topline="true" usebox="none">
9646 \begin_inset Text
9647
9648 \begin_layout Standard
9649 Frieda
9650 \end_layout
9651
9652 \end_inset
9653 </cell>
9654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9655 \begin_inset Text
9656
9657 \begin_layout Standard
9658 111
9659 \end_layout
9660
9661 \end_inset
9662 </cell>
9663 </row>
9664 <row>
9665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9666 \begin_inset Text
9667
9668 \begin_layout Standard
9669
9670 \series bold
9671 Vieider
9672 \end_layout
9673
9674 \end_inset
9675 </cell>
9676 <cell alignment="center" valignment="top" topline="true" usebox="none">
9677 \begin_inset Text
9678
9679 \begin_layout Standard
9680 Hilde
9681 \end_layout
9682
9683 \end_inset
9684 </cell>
9685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9686 \begin_inset Text
9687
9688 \begin_layout Standard
9689 111
9690 \end_layout
9691
9692 \end_inset
9693 </cell>
9694 </row>
9695 <row>
9696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9697 \begin_inset Text
9698
9699 \begin_layout Standard
9700
9701 \series bold
9702 Vigna
9703 \end_layout
9704
9705 \end_inset
9706 </cell>
9707 <cell alignment="center" valignment="top" topline="true" usebox="none">
9708 \begin_inset Text
9709
9710 \begin_layout Standard
9711 Jürgen
9712 \end_layout
9713
9714 \end_inset
9715 </cell>
9716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9717 \begin_inset Text
9718
9719 \begin_layout Standard
9720 111
9721 \end_layout
9722
9723 \end_inset
9724 </cell>
9725 </row>
9726 <row>
9727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9728 \begin_inset Text
9729
9730 \begin_layout Standard
9731
9732 \series bold
9733 Weber
9734 \end_layout
9735
9736 \end_inset
9737 </cell>
9738 <cell alignment="center" valignment="top" topline="true" usebox="none">
9739 \begin_inset Text
9740
9741 \begin_layout Standard
9742 Maurizio
9743 \end_layout
9744
9745 \end_inset
9746 </cell>
9747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9748 \begin_inset Text
9749
9750 \begin_layout Standard
9751 111
9752 \end_layout
9753
9754 \end_inset
9755 </cell>
9756 </row>
9757 <row bottomline="true">
9758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9759 \begin_inset Text
9760
9761 \begin_layout Standard
9762
9763 \series bold
9764 Winkler
9765 \end_layout
9766
9767 \end_inset
9768 </cell>
9769 <cell alignment="center" valignment="top" topline="true" usebox="none">
9770 \begin_inset Text
9771
9772 \begin_layout Standard
9773 Franz
9774 \end_layout
9775
9776 \end_inset
9777 </cell>
9778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9779 \begin_inset Text
9780
9781 \begin_layout Standard
9782 111
9783 \end_layout
9784
9785 \end_inset
9786 </cell>
9787 </row>
9788 <row endlastfoot="true">
9789 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9790 \begin_inset Text
9791
9792 \begin_layout Standard
9793
9794 \end_layout
9795
9796 \end_inset
9797 </cell>
9798 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9799 \begin_inset Text
9800
9801 \begin_layout Standard
9802
9803 \end_layout
9804
9805 \end_inset
9806 </cell>
9807 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9808 \begin_inset Text
9809
9810 \begin_layout Standard
9811
9812 \end_layout
9813
9814 \end_inset
9815 </cell>
9816 </row>
9817 </lyxtabular>
9818
9819 \end_inset
9820
9821
9822 \end_layout
9823
9824 \begin_layout Section
9825 Multiple Lines Columns and Rows
9826 \end_layout
9827
9828 \begin_layout Subsection
9829 Multiple Lines in Table Cells
9830 \begin_inset LatexCommand label
9831 name "sub:Multiple-Lines-in"
9832
9833 \end_inset
9834
9835
9836 \begin_inset LatexCommand index
9837 name "Multiple Lines in Table Cells"
9838
9839 \end_inset
9840
9841
9842 \begin_inset LatexCommand index
9843 name "Table ! Linebreaks"
9844
9845 \end_inset
9846
9847
9848 \end_layout
9849
9850 \begin_layout Standard
9851 \align center
9852 \begin_inset Float table
9853 placement H
9854 wide false
9855 sideways false
9856 status open
9857
9858 \begin_layout Standard
9859 \begin_inset Caption
9860
9861 \begin_layout Standard
9862 \begin_inset LatexCommand label
9863 name "tab:Table-with-multiple"
9864
9865 \end_inset
9866
9867 Table with multiple lines in cells
9868 \end_layout
9869
9870 \end_inset
9871
9872
9873 \end_layout
9874
9875 \begin_layout Standard
9876 \align center
9877 \begin_inset Tabular
9878 <lyxtabular version="3" rows="3" columns="3">
9879 <features>
9880 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9881 <column alignment="center" valignment="middle" leftline="true" width="0">
9882 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
9883 <row topline="true">
9884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9885 \begin_inset Text
9886
9887 \begin_layout Standard
9888 multiple
9889 \begin_inset ERT
9890 status collapsed
9891
9892 \begin_layout Standard
9893
9894
9895 \backslash
9896 linebreak 
9897 \end_layout
9898
9899 \end_inset
9900
9901  lines
9902 \end_layout
9903
9904 \end_inset
9905 </cell>
9906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9907 \begin_inset Text
9908
9909 \begin_layout Standard
9910 b
9911 \end_layout
9912
9913 \end_inset
9914 </cell>
9915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9916 \begin_inset Text
9917
9918 \begin_layout Standard
9919 c
9920 \end_layout
9921
9922 \end_inset
9923 </cell>
9924 </row>
9925 <row topline="true">
9926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9927 \begin_inset Text
9928
9929 \begin_layout Standard
9930 d
9931 \end_layout
9932
9933 \end_inset
9934 </cell>
9935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9936 \begin_inset Text
9937
9938 \begin_layout Standard
9939 e
9940 \end_layout
9941
9942 \end_inset
9943 </cell>
9944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9945 \begin_inset Text
9946
9947 \begin_layout Standard
9948 f
9949 \end_layout
9950
9951 \end_inset
9952 </cell>
9953 </row>
9954 <row topline="true" bottomline="true">
9955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9956 \begin_inset Text
9957
9958 \begin_layout Standard
9959 g
9960 \end_layout
9961
9962 \end_inset
9963 </cell>
9964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9965 \begin_inset Text
9966
9967 \begin_layout Standard
9968 h
9969 \end_layout
9970
9971 \end_inset
9972 </cell>
9973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9974 \begin_inset Text
9975
9976 \begin_layout Standard
9977 i
9978 \end_layout
9979
9980 \end_inset
9981 </cell>
9982 </row>
9983 </lyxtabular>
9984
9985 \end_inset
9986
9987
9988 \end_layout
9989
9990 \end_inset
9991
9992
9993 \end_layout
9994
9995 \begin_layout Standard
9996 Adjusting a fixed width for a column, enables to enter text as a paragraph
9997  with multiple lines and hyphenations.
9998 \end_layout
9999
10000 \begin_layout Standard
10001 To produce Table\InsetSpace ~
10002
10003 \begin_inset LatexCommand ref
10004 reference "tab:Table-with-multiple"
10005
10006 \end_inset
10007
10008 , create a 3×3 table, mark the first cell and right-click on it.
10009  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10010 cm and choose centered
10011  for the vertical and horizontal alignment.
10012  The vertical alignment is used for all cells of the row.
10013  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10014 cm, only one line will appear.
10015  To get two lines, we add a line break with the command
10016 \end_layout
10017
10018 \begin_layout Standard
10019
10020 \series bold
10021
10022 \backslash
10023 linebreak
10024 \end_layout
10025
10026 \begin_layout Standard
10027 in ERT.
10028  If the text is wider than the set cell width it will automatically be broken
10029  to several lines.
10030 \end_layout
10031
10032 \begin_layout Standard
10033 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10034  by LaTeX if it is the first entry.
10035  Therefore you need to insert something, to make the word not being the
10036  first entry: Add the command
10037 \end_layout
10038
10039 \begin_layout Standard
10040
10041 \series bold
10042
10043 \backslash
10044 hspace{0pt}
10045 \end_layout
10046
10047 \begin_layout Standard
10048 in ERT before the word.
10049  As the space is zero, it doesn't change the output.
10050  Table\InsetSpace ~
10051
10052 \begin_inset LatexCommand ref
10053 reference "tab:Table-with-and"
10054
10055 \end_inset
10056
10057  shows the effect.
10058 \end_layout
10059
10060 \begin_layout Standard
10061 \begin_inset Float table
10062 placement h
10063 wide false
10064 sideways false
10065 status open
10066
10067 \begin_layout Standard
10068 \begin_inset Caption
10069
10070 \begin_layout Standard
10071 \begin_inset LatexCommand label
10072 name "tab:Table-with-and"
10073
10074 \end_inset
10075
10076 Table with and without hyphenation
10077 \end_layout
10078
10079 \end_inset
10080
10081
10082 \end_layout
10083
10084 \begin_layout Standard
10085
10086 \hfill
10087
10088 \begin_inset Tabular
10089 <lyxtabular version="3" rows="3" columns="3">
10090 <features>
10091 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10092 <column alignment="center" valignment="middle" leftline="true" width="0">
10093 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10094 <row topline="true">
10095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10096 \begin_inset Text
10097
10098 \begin_layout Standard
10099 verylongtablecellword
10100 \end_layout
10101
10102 \end_inset
10103 </cell>
10104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10105 \begin_inset Text
10106
10107 \begin_layout Standard
10108 b
10109 \end_layout
10110
10111 \end_inset
10112 </cell>
10113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10114 \begin_inset Text
10115
10116 \begin_layout Standard
10117 c
10118 \end_layout
10119
10120 \end_inset
10121 </cell>
10122 </row>
10123 <row topline="true">
10124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10125 \begin_inset Text
10126
10127 \begin_layout Standard
10128 d
10129 \end_layout
10130
10131 \end_inset
10132 </cell>
10133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10134 \begin_inset Text
10135
10136 \begin_layout Standard
10137 e
10138 \end_layout
10139
10140 \end_inset
10141 </cell>
10142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10143 \begin_inset Text
10144
10145 \begin_layout Standard
10146 f
10147 \end_layout
10148
10149 \end_inset
10150 </cell>
10151 </row>
10152 <row topline="true" bottomline="true">
10153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10154 \begin_inset Text
10155
10156 \begin_layout Standard
10157 g
10158 \end_layout
10159
10160 \end_inset
10161 </cell>
10162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10163 \begin_inset Text
10164
10165 \begin_layout Standard
10166 h
10167 \end_layout
10168
10169 \end_inset
10170 </cell>
10171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10172 \begin_inset Text
10173
10174 \begin_layout Standard
10175 i
10176 \end_layout
10177
10178 \end_inset
10179 </cell>
10180 </row>
10181 </lyxtabular>
10182
10183 \end_inset
10184
10185
10186 \hfill
10187
10188 \begin_inset Tabular
10189 <lyxtabular version="3" rows="3" columns="3">
10190 <features>
10191 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10192 <column alignment="center" valignment="middle" leftline="true" width="0">
10193 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10194 <row topline="true">
10195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10196 \begin_inset Text
10197
10198 \begin_layout Standard
10199 \begin_inset ERT
10200 status collapsed
10201
10202 \begin_layout Standard
10203
10204
10205 \backslash
10206 hspace{0pt}
10207 \end_layout
10208
10209 \end_inset
10210
10211 verylongtablecellword
10212 \end_layout
10213
10214 \end_inset
10215 </cell>
10216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10217 \begin_inset Text
10218
10219 \begin_layout Standard
10220 b
10221 \end_layout
10222
10223 \end_inset
10224 </cell>
10225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10226 \begin_inset Text
10227
10228 \begin_layout Standard
10229 c
10230 \end_layout
10231
10232 \end_inset
10233 </cell>
10234 </row>
10235 <row topline="true">
10236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10237 \begin_inset Text
10238
10239 \begin_layout Standard
10240 d
10241 \end_layout
10242
10243 \end_inset
10244 </cell>
10245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10246 \begin_inset Text
10247
10248 \begin_layout Standard
10249 e
10250 \end_layout
10251
10252 \end_inset
10253 </cell>
10254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10255 \begin_inset Text
10256
10257 \begin_layout Standard
10258 f
10259 \end_layout
10260
10261 \end_inset
10262 </cell>
10263 </row>
10264 <row topline="true" bottomline="true">
10265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10266 \begin_inset Text
10267
10268 \begin_layout Standard
10269 g
10270 \end_layout
10271
10272 \end_inset
10273 </cell>
10274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10275 \begin_inset Text
10276
10277 \begin_layout Standard
10278 h
10279 \end_layout
10280
10281 \end_inset
10282 </cell>
10283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10284 \begin_inset Text
10285
10286 \begin_layout Standard
10287 i
10288 \end_layout
10289
10290 \end_inset
10291 </cell>
10292 </row>
10293 </lyxtabular>
10294
10295 \end_inset
10296
10297
10298 \hfill
10299
10300 \end_layout
10301
10302 \end_inset
10303
10304
10305 \end_layout
10306
10307 \begin_layout Standard
10308
10309 \newpage
10310
10311 \end_layout
10312
10313 \begin_layout Subsection
10314 Multicolumns
10315 \begin_inset LatexCommand label
10316 name "sub:Multicolumns"
10317
10318 \end_inset
10319
10320
10321 \begin_inset LatexCommand index
10322 name "Multicolumns"
10323
10324 \end_inset
10325
10326
10327 \begin_inset LatexCommand index
10328 name "Table ! Multicolumns"
10329
10330 \end_inset
10331
10332
10333 \end_layout
10334
10335 \begin_layout Subsubsection
10336 Multicolumn Basics
10337 \end_layout
10338
10339 \begin_layout Standard
10340 To span a cell over multiple columns, mark as much cells within a line that
10341  should be one spanned cell and use either the table-toolbar button 
10342 \begin_inset Graphics
10343         filename ../images/tabular-feature_multicolumn.xpm
10344         scale 85
10345
10346 \end_inset
10347
10348 , or the menu 
10349 \family sans
10350 Edit\SpecialChar \menuseparator
10351 Table\SpecialChar \menuseparator
10352 Multicolumn
10353 \family default
10354 , or right click on the marked cells and choose multicolumn in the appearing
10355  table dialog under the tab 
10356 \family sans
10357 Table Settings
10358 \family default
10359 .
10360 \end_layout
10361
10362 \begin_layout Standard
10363 Multicolumns have there own cell settings.
10364  That means changing cell borders, cell alignment, and the width only affects
10365  the multicolumn.
10366  Here is an example table with a multicolumn cell in the first row and one
10367  in the last row without the upper border:
10368 \end_layout
10369
10370 \begin_layout Standard
10371 \align center
10372 \begin_inset Tabular
10373 <lyxtabular version="3" rows="3" columns="4">
10374 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10375 <column alignment="center" valignment="top" leftline="true" width="0pt">
10376 <column alignment="center" valignment="middle" leftline="true" width="0">
10377 <column alignment="center" valignment="top" leftline="true" width="0in">
10378 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10379 <row topline="true" bottomline="true">
10380 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10381 \begin_inset Text
10382
10383 \begin_layout Standard
10384 abc
10385 \end_layout
10386
10387 \end_inset
10388 </cell>
10389 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10390 \begin_inset Text
10391
10392 \begin_layout Standard
10393 def
10394 \lang ngerman
10395  
10396 \lang english
10397 ghi
10398 \end_layout
10399
10400 \end_inset
10401 </cell>
10402 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10403 \begin_inset Text
10404
10405 \begin_layout Standard
10406
10407 \end_layout
10408
10409 \end_inset
10410 </cell>
10411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10412 \begin_inset Text
10413
10414 \begin_layout Standard
10415 jkl
10416 \end_layout
10417
10418 \end_inset
10419 </cell>
10420 </row>
10421 <row topline="true">
10422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10423 \begin_inset Text
10424
10425 \begin_layout Standard
10426
10427 \family roman
10428 \series medium
10429 \shape up
10430 \size normal
10431 \emph off
10432 \bar no
10433 \noun off
10434 \color none
10435 A
10436 \end_layout
10437
10438 \end_inset
10439 </cell>
10440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10441 \begin_inset Text
10442
10443 \begin_layout Standard
10444 B
10445 \end_layout
10446
10447 \end_inset
10448 </cell>
10449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10450 \begin_inset Text
10451
10452 \begin_layout Standard
10453 C
10454 \end_layout
10455
10456 \end_inset
10457 </cell>
10458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10459 \begin_inset Text
10460
10461 \begin_layout Standard
10462 D
10463 \end_layout
10464
10465 \end_inset
10466 </cell>
10467 </row>
10468 <row topline="true" bottomline="true">
10469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10470 \begin_inset Text
10471
10472 \begin_layout Standard
10473 1
10474 \end_layout
10475
10476 \end_inset
10477 </cell>
10478 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10479 \begin_inset Text
10480
10481 \begin_layout Standard
10482 2
10483 \end_layout
10484
10485 \end_inset
10486 </cell>
10487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10488 \begin_inset Text
10489
10490 \begin_layout Standard
10491 3
10492 \end_layout
10493
10494 \end_inset
10495 </cell>
10496 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10497 \begin_inset Text
10498
10499 \begin_layout Standard
10500 4
10501 \end_layout
10502
10503 \end_inset
10504 </cell>
10505 </row>
10506 </lyxtabular>
10507
10508 \end_inset
10509
10510
10511 \end_layout
10512
10513 \begin_layout Subsubsection
10514 Multicolumn Calculations
10515 \begin_inset LatexCommand label
10516 name "sub:Multicolumn-Calculations"
10517
10518 \end_inset
10519
10520
10521 \begin_inset LatexCommand index
10522 name "Multicolumns ! Calculations"
10523
10524 \end_inset
10525
10526
10527 \end_layout
10528
10529 \begin_layout Standard
10530 LyX supports multicolumns directly, but we have to take notice of the cell
10531  width of the columns spanned by the multicolumn cell.
10532 \end_layout
10533
10534 \begin_layout Standard
10535 \begin_inset Float table
10536 wide false
10537 sideways false
10538 status open
10539
10540 \begin_layout Standard
10541 \begin_inset Caption
10542
10543 \begin_layout Standard
10544 \begin_inset LatexCommand label
10545 name "tab:Table-with-centered"
10546
10547 \end_inset
10548
10549 Table with centered multicolumn text above two columns that have exactly
10550  half the width of the multicolumn cell
10551 \begin_inset OptArg
10552 status collapsed
10553
10554 \begin_layout Standard
10555 Perfect multicolumn table
10556 \end_layout
10557
10558 \end_inset
10559
10560
10561 \end_layout
10562
10563 \end_inset
10564
10565
10566 \end_layout
10567
10568 \begin_layout Standard
10569 \align center
10570 \begin_inset Tabular
10571 <lyxtabular version="3" rows="3" columns="3">
10572 <features>
10573 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
10574 <column alignment="center" valignment="middle" leftline="true" width="0">
10575 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10576 <row topline="true">
10577 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
10578 \begin_inset Text
10579
10580 \begin_layout Standard
10581 multiple lines multicolumn
10582 \end_layout
10583
10584 \end_inset
10585 </cell>
10586 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10587 \begin_inset Text
10588
10589 \begin_layout Standard
10590
10591 \end_layout
10592
10593 \end_inset
10594 </cell>
10595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10596 \begin_inset Text
10597
10598 \begin_layout Standard
10599 c
10600 \end_layout
10601
10602 \end_inset
10603 </cell>
10604 </row>
10605 <row topline="true">
10606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10607 \begin_inset Text
10608
10609 \begin_layout Standard
10610 d
10611 \end_layout
10612
10613 \end_inset
10614 </cell>
10615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10616 \begin_inset Text
10617
10618 \begin_layout Standard
10619 e
10620 \end_layout
10621
10622 \end_inset
10623 </cell>
10624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10625 \begin_inset Text
10626
10627 \begin_layout Standard
10628 f
10629 \end_layout
10630
10631 \end_inset
10632 </cell>
10633 </row>
10634 <row topline="true" bottomline="true">
10635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10636 \begin_inset Text
10637
10638 \begin_layout Standard
10639 g
10640 \end_layout
10641
10642 \end_inset
10643 </cell>
10644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10645 \begin_inset Text
10646
10647 \begin_layout Standard
10648 h
10649 \end_layout
10650
10651 \end_inset
10652 </cell>
10653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10654 \begin_inset Text
10655
10656 \begin_layout Standard
10657 i
10658 \end_layout
10659
10660 \end_inset
10661 </cell>
10662 </row>
10663 </lyxtabular>
10664
10665 \end_inset
10666
10667
10668 \end_layout
10669
10670 \end_inset
10671
10672
10673 \end_layout
10674
10675 \begin_layout Standard
10676 To create for example Table\InsetSpace ~
10677
10678 \begin_inset LatexCommand ref
10679 reference "tab:Table-with-centered"
10680
10681 \end_inset
10682
10683 , mark the first two cells in the first row of a 3×3 table and right-click
10684  on them.
10685  Now choose for this cell 
10686 \emph on
10687 multicolumn
10688 \emph default
10689
10690 \emph on
10691 centered alignment
10692 \emph default
10693  and a width of 2.5\InsetSpace \thinspace{}
10694 cm in the table dialog.
10695  The spanned columns should have exactly half the width of the multicolumn
10696  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10697 cm for the first column.
10698  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10699 cm (multicolumn
10700  width - width of first column).
10701  This was done for Table\InsetSpace ~
10702
10703 \begin_inset LatexCommand ref
10704 reference "tab:Table-without-half"
10705
10706 \end_inset
10707
10708 .
10709 \end_layout
10710
10711 \begin_layout Standard
10712 \begin_inset Float table
10713 wide false
10714 sideways false
10715 status open
10716
10717 \begin_layout Standard
10718 \begin_inset Caption
10719
10720 \begin_layout Standard
10721 \begin_inset LatexCommand label
10722 name "tab:Table-without-half"
10723
10724 \end_inset
10725
10726 Table where the spanned table columns have not exactly half the width of
10727  the multicolumn cell
10728 \begin_inset OptArg
10729 status collapsed
10730
10731 \begin_layout Standard
10732 Imperfect multicolumn table
10733 \end_layout
10734
10735 \end_inset
10736
10737
10738 \end_layout
10739
10740 \end_inset
10741
10742
10743 \end_layout
10744
10745 \begin_layout Standard
10746 \align center
10747 \begin_inset Tabular
10748 <lyxtabular version="3" rows="3" columns="3">
10749 <features>
10750 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10751 <column alignment="center" valignment="top" leftline="true" width="0">
10752 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10753 <row topline="true" bottomline="true">
10754 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10755 \begin_inset Text
10756
10757 \begin_layout Standard
10758 multiple lines multicolumn
10759 \end_layout
10760
10761 \end_inset
10762 </cell>
10763 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10764 \begin_inset Text
10765
10766 \begin_layout Standard
10767
10768 \end_layout
10769
10770 \end_inset
10771 </cell>
10772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10773 \begin_inset Text
10774
10775 \begin_layout Standard
10776 c
10777 \end_layout
10778
10779 \end_inset
10780 </cell>
10781 </row>
10782 <row topline="true">
10783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10784 \begin_inset Text
10785
10786 \begin_layout Standard
10787 d
10788 \end_layout
10789
10790 \end_inset
10791 </cell>
10792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10793 \begin_inset Text
10794
10795 \begin_layout Standard
10796 e
10797 \end_layout
10798
10799 \end_inset
10800 </cell>
10801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10802 \begin_inset Text
10803
10804 \begin_layout Standard
10805 f
10806 \end_layout
10807
10808 \end_inset
10809 </cell>
10810 </row>
10811 <row topline="true" bottomline="true">
10812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10813 \begin_inset Text
10814
10815 \begin_layout Standard
10816 g
10817 \end_layout
10818
10819 \end_inset
10820 </cell>
10821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10822 \begin_inset Text
10823
10824 \begin_layout Standard
10825 h
10826 \end_layout
10827
10828 \end_inset
10829 </cell>
10830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10831 \begin_inset Text
10832
10833 \begin_layout Standard
10834 i
10835 \end_layout
10836
10837 \end_inset
10838 </cell>
10839 </row>
10840 </lyxtabular>
10841
10842 \end_inset
10843
10844
10845 \end_layout
10846
10847 \end_inset
10848
10849
10850 \end_layout
10851
10852 \begin_layout Standard
10853 You can see that the first column has not the half width of the multicolumn
10854  cell, it is a bit bigger.
10855  The reason is that the given width of a cell 
10856 \begin_inset Formula $W_{g}$
10857 \end_inset
10858
10859  is not its total width 
10860 \begin_inset Formula $W_{\mathrm{tot}}$
10861 \end_inset
10862
10863  because a cell is always a bit larger than its given width.
10864  Appendix\InsetSpace ~
10865
10866 \begin_inset LatexCommand eqref
10867 reference "cha:Explanation-of-Equation"
10868
10869 \end_inset
10870
10871  explains it in detail.
10872 \end_layout
10873
10874 \begin_layout Standard
10875 The needed given width 
10876 \begin_inset Formula $W_{g\, n}$
10877 \end_inset
10878
10879  when 
10880 \emph on
10881 n
10882 \emph default
10883  columns are spanned can be calculated, so that each column has a total
10884  width of 
10885 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10886 \end_inset
10887
10888 :
10889 \begin_inset Formula \begin{equation}
10890 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10891
10892 \end_inset
10893
10894
10895 \end_layout
10896
10897 \begin_layout Standard
10898 In our case we have 
10899 \begin_inset Formula $n=2$
10900 \end_inset
10901
10902
10903 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10904 \end_inset
10905
10906 cm and the default values for the lengths, so that equation 
10907 \begin_inset LatexCommand ref
10908 reference "eq:Wgn"
10909
10910 \end_inset
10911
10912  becomes
10913 \begin_inset Formula \begin{equation}
10914 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10915
10916 \end_inset
10917
10918
10919 \end_layout
10920
10921 \begin_layout Standard
10922 To enable calculations in LaTeX, the LaTeX-package 
10923 \series bold
10924 calc
10925 \series default
10926  must be loaded with the document preamble line
10927 \begin_inset LatexCommand index
10928 name "LaTeX-packages ! calc"
10929
10930 \end_inset
10931
10932
10933 \end_layout
10934
10935 \begin_layout Standard
10936
10937 \series bold
10938
10939 \backslash
10940 usepackage{calc}
10941 \end_layout
10942
10943 \begin_layout Standard
10944 LyX does not allow to calculate lengths in the width-field of the table
10945  dialog.
10946  Therefore you have to format the column by inserting a LaTeX-argument in
10947  the dialog.
10948  Here is an overview about the arguments:
10949 \end_layout
10950
10951 \begin_layout Itemize
10952
10953 \series bold
10954 p{width}
10955 \series default
10956  creates cell with a fixed width, its text is vertically top-aligned
10957 \end_layout
10958
10959 \begin_layout Itemize
10960
10961 \series bold
10962 m{width}
10963 \series default
10964  creates cell with a fixed width, its text is vertically centered
10965 \end_layout
10966
10967 \begin_layout Itemize
10968
10969 \series bold
10970 b{width}
10971 \series default
10972  creates cell with a fixed width, its text is vertically bottom-aligned
10973 \end_layout
10974
10975 \begin_layout Standard
10976 By entering a LaTeX-argument, all cell properties set in the table dialog
10977  are overwritten.
10978  
10979 \begin_inset Note Greyedout
10980 status open
10981
10982 \begin_layout Standard
10983
10984 \series bold
10985 Note:
10986 \series default
10987  Due to a bug, LyX shows the overwritten properties anyway.
10988 \end_layout
10989
10990 \end_inset
10991
10992  As the text should be horizontally centered, the command 
10993 \series bold
10994
10995 \backslash
10996 centering
10997 \series default
10998  is added.
10999  You can now enter the following LaTeX-argument for the first spanned column:
11000 \end_layout
11001
11002 \begin_layout Standard
11003
11004 \series bold
11005 >{
11006 \backslash
11007 centering}m{1.25cm-6.2pt}
11008 \end_layout
11009
11010 \begin_layout Standard
11011 The command 
11012 \series bold
11013 >{ }
11014 \series default
11015  means, that the commands inside the braces are applied before the cell
11016  is created.
11017 \end_layout
11018
11019 \begin_layout Standard
11020 Although we have chosen centered alignment for the text of the multicolumn
11021  cell, it is still left aligned.
11022  This is because LyX only applies the alignment to single columns.
11023  So we have to use for the multicolumn the LaTeX-argument
11024 \end_layout
11025
11026 \begin_layout Standard
11027
11028 \series bold
11029 >{
11030 \backslash
11031 centering}m{2.5cm}
11032 \end_layout
11033
11034 \begin_layout Subsection
11035 Multirows
11036 \begin_inset LatexCommand index
11037 name "Multirows"
11038
11039 \end_inset
11040
11041
11042 \begin_inset LatexCommand index
11043 name "Table ! Multirows"
11044
11045 \end_inset
11046
11047
11048 \begin_inset LatexCommand index
11049 name "LaTeX-packages ! multirow"
11050
11051 \end_inset
11052
11053
11054 \end_layout
11055
11056 \begin_layout Standard
11057 In contrary to multicolumns multirows are not yet supported by LyX so a
11058  bit of ERT needs to be used.
11059  To use multirows load the LaTeX-package 
11060 \series bold
11061 multirow
11062 \series default
11063  in your document preamble with the command
11064 \end_layout
11065
11066 \begin_layout Standard
11067
11068 \series bold
11069
11070 \backslash
11071 usepackage{multirow}
11072 \end_layout
11073
11074 \begin_layout Standard
11075 Multirows are created with the command
11076 \end_layout
11077
11078 \begin_layout Standard
11079
11080 \series bold
11081
11082 \backslash
11083 multirow{number of rows}{cell width}{cell entry}
11084 \end_layout
11085
11086 \begin_layout Standard
11087 To create the following table:
11088 \end_layout
11089
11090 \begin_layout Standard
11091 \align center
11092 \begin_inset ERT
11093 status collapsed
11094
11095 \begin_layout Standard
11096
11097
11098 \backslash
11099 renewcommand{
11100 \backslash
11101 multirowsetup}{
11102 \backslash
11103 centering}
11104 \end_layout
11105
11106 \end_inset
11107
11108
11109 \begin_inset Tabular
11110 <lyxtabular version="3" rows="3" columns="3">
11111 <features>
11112 <column alignment="center" valignment="top" leftline="true" width="0">
11113 <column alignment="center" valignment="top" leftline="true" width="0">
11114 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11115 <row topline="true">
11116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11117 \begin_inset Text
11118
11119 \begin_layout Standard
11120 a
11121 \end_layout
11122
11123 \end_inset
11124 </cell>
11125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11126 \begin_inset Text
11127
11128 \begin_layout Standard
11129 b
11130 \end_layout
11131
11132 \end_inset
11133 </cell>
11134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11135 \begin_inset Text
11136
11137 \begin_layout Standard
11138 c
11139 \end_layout
11140
11141 \end_inset
11142 </cell>
11143 </row>
11144 <row topline="true">
11145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11146 \begin_inset Text
11147
11148 \begin_layout Standard
11149 \begin_inset ERT
11150 status collapsed
11151
11152 \begin_layout Standard
11153
11154
11155 \backslash
11156 multirow{2}{2.5cm}{
11157 \end_layout
11158
11159 \end_inset
11160
11161 multirow entry
11162 \begin_inset ERT
11163 status collapsed
11164
11165 \begin_layout Standard
11166
11167 }
11168 \end_layout
11169
11170 \end_inset
11171
11172
11173 \end_layout
11174
11175 \end_inset
11176 </cell>
11177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11178 \begin_inset Text
11179
11180 \begin_layout Standard
11181 e
11182 \end_layout
11183
11184 \end_inset
11185 </cell>
11186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11187 \begin_inset Text
11188
11189 \begin_layout Standard
11190 f
11191 \end_layout
11192
11193 \end_inset
11194 </cell>
11195 </row>
11196 <row topline="true" bottomline="true">
11197 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11198 \begin_inset Text
11199
11200 \begin_layout Standard
11201
11202 \end_layout
11203
11204 \end_inset
11205 </cell>
11206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11207 \begin_inset Text
11208
11209 \begin_layout Standard
11210 h
11211 \end_layout
11212
11213 \end_inset
11214 </cell>
11215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11216 \begin_inset Text
11217
11218 \begin_layout Standard
11219 i
11220 \end_layout
11221
11222 \end_inset
11223 </cell>
11224 </row>
11225 </lyxtabular>
11226
11227 \end_inset
11228
11229
11230 \begin_inset ERT
11231 status collapsed
11232
11233 \begin_layout Standard
11234
11235
11236 \backslash
11237 renewcommand{
11238 \backslash
11239 multirowsetup}{
11240 \backslash
11241 raggedright}
11242 \end_layout
11243
11244 \end_inset
11245
11246
11247 \end_layout
11248
11249 \begin_layout Standard
11250 create a 3×3 table.
11251  To get rid of the line above the last cell in the first column, the cell
11252  is marked as multicolumn and the upper border is unset.
11253  The multirow is now created in the second row of the first column by inserting
11254  there the command
11255 \end_layout
11256
11257 \begin_layout Standard
11258
11259 \series bold
11260
11261 \backslash
11262 multirow{2}{2.5cm}{
11263 \end_layout
11264
11265 \begin_layout Standard
11266 as ERT.
11267  According to the command parameters the multirow spans now two rows and
11268  has a width of 2.5\InsetSpace \thinspace{}
11269 cm.
11270  The content of the multirow cell follows outside the ERT box and the command
11271  is finished with a right brace 
11272 \series bold
11273 }
11274 \series default
11275  in another ERT-box behind the text.
11276 \end_layout
11277
11278 \begin_layout Standard
11279
11280 \series bold
11281
11282 \backslash
11283 multirow
11284 \series default
11285  left-aligns its content by default.
11286  To override the default, renew the command 
11287 \series bold
11288
11289 \backslash
11290 multirowsetup
11291 \series default
11292  with the command
11293 \end_layout
11294
11295 \begin_layout Standard
11296
11297 \series bold
11298
11299 \backslash
11300 renewcommand{
11301 \backslash
11302 multirowsetup}{
11303 \backslash
11304 centering}
11305 \end_layout
11306
11307 \begin_layout Standard
11308 in ERT in the document preamble.
11309  Then all entries of multirow cells in the document are centered.
11310  If centering is only needed for several tables, you can renew the command
11311  in an ERT box just before the table instead of the preamble.
11312  If the text should be right-aligned, replace 
11313 \series bold
11314
11315 \backslash
11316 centering
11317 \series default
11318  by 
11319 \series bold
11320
11321 \backslash
11322 raggedleft
11323 \series default
11324 .
11325  To return to left-alignment 
11326 \series bold
11327
11328 \backslash
11329 raggedright
11330 \series default
11331  is used.
11332 \end_layout
11333
11334 \begin_layout Section
11335 Formal Tables
11336 \begin_inset LatexCommand label
11337 name "sec:Formal-Tables"
11338
11339 \end_inset
11340
11341
11342 \begin_inset LatexCommand index
11343 name "Table ! Formal"
11344
11345 \end_inset
11346
11347
11348 \end_layout
11349
11350 \begin_layout Standard
11351 Tables are often typeset in books similar to Table\InsetSpace ~
11352
11353 \begin_inset LatexCommand ref
11354 reference "tab:Example-booktabs-table"
11355
11356 \end_inset
11357
11358 .
11359  This kind of tables is called 
11360 \begin_inset Quotes eld
11361 \end_inset
11362
11363
11364 \emph on
11365 formal
11366 \emph default
11367
11368 \begin_inset Quotes erd
11369 \end_inset
11370
11371 .
11372  To make a table a formal table use the option 
11373 \family sans
11374 Formal
11375 \family default
11376  in the 
11377 \family sans
11378 Borders
11379 \family default
11380  tab of the table dialog.
11381 \end_layout
11382
11383 \begin_layout Standard
11384 \begin_inset Float table
11385 placement h
11386 wide false
11387 sideways false
11388 status open
11389
11390 \begin_layout Standard
11391 \begin_inset Caption
11392
11393 \begin_layout Standard
11394 \begin_inset LatexCommand label
11395 name "tab:Example-booktabs-table"
11396
11397 \end_inset
11398
11399 Example booktabs-table
11400 \end_layout
11401
11402 \end_inset
11403
11404
11405 \end_layout
11406
11407 \begin_layout Standard
11408 \align center
11409 \begin_inset Tabular
11410 <lyxtabular version="3" rows="8" columns="4">
11411 <features booktabs="true">
11412 <column alignment="center" valignment="top" rightline="true" width="0">
11413 <column alignment="center" valignment="top" width="0">
11414 <column alignment="center" valignment="top" width="0">
11415 <column alignment="center" valignment="top" width="0">
11416 <row topline="true">
11417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11418 \begin_inset Text
11419
11420 \begin_layout Standard
11421 System
11422 \end_layout
11423
11424 \end_inset
11425 </cell>
11426 <cell alignment="center" valignment="top" topline="true" usebox="none">
11427 \begin_inset Text
11428
11429 \begin_layout Standard
11430 Medipix
11431 \begin_inset Formula $\,$
11432 \end_inset
11433
11434 1
11435 \end_layout
11436
11437 \end_inset
11438 </cell>
11439 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11440 \begin_inset Text
11441
11442 \begin_layout Standard
11443 Medipix
11444 \begin_inset Formula $\,$
11445 \end_inset
11446
11447 2
11448 \end_layout
11449
11450 \end_inset
11451 </cell>
11452 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11453 \begin_inset Text
11454
11455 \begin_layout Standard
11456
11457 \end_layout
11458
11459 \end_inset
11460 </cell>
11461 </row>
11462 <row>
11463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11464 \begin_inset Text
11465
11466 \begin_layout Standard
11467 \begin_inset ERT
11468 status collapsed
11469
11470 \begin_layout Standard
11471
11472
11473 \backslash
11474 cmidrule(r){2-2}
11475 \end_layout
11476
11477 \end_inset
11478
11479
11480 \begin_inset ERT
11481 status collapsed
11482
11483 \begin_layout Standard
11484
11485
11486 \backslash
11487 cmidrule(l){3-4}
11488 \end_layout
11489
11490 \end_inset
11491
11492 Detector thickness [µm]
11493 \end_layout
11494
11495 \end_inset
11496 </cell>
11497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11498 \begin_inset Text
11499
11500 \begin_layout Standard
11501 300
11502 \end_layout
11503
11504 \end_inset
11505 </cell>
11506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11507 \begin_inset Text
11508
11509 \begin_layout Standard
11510 300
11511 \end_layout
11512
11513 \end_inset
11514 </cell>
11515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11516 \begin_inset Text
11517
11518 \begin_layout Standard
11519 700
11520 \end_layout
11521
11522 \end_inset
11523 </cell>
11524 </row>
11525 <row topline="true">
11526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11527 \begin_inset Text
11528
11529 \begin_layout Standard
11530 Edge angle [°]
11531 \end_layout
11532
11533 \end_inset
11534 </cell>
11535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11536 \begin_inset Text
11537
11538 \begin_layout Standard
11539 3.55
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 2.71
11549 \end_layout
11550
11551 \end_inset
11552 </cell>
11553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11554 \begin_inset Text
11555
11556 \begin_layout Standard
11557 7.99
11558 \end_layout
11559
11560 \end_inset
11561 </cell>
11562 </row>
11563 <row topspace="default">
11564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11565 \begin_inset Text
11566
11567 \begin_layout Standard
11568 Spatial resolution [µm]
11569 \end_layout
11570
11571 \end_inset
11572 </cell>
11573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11574 \begin_inset Text
11575
11576 \begin_layout Standard
11577 4.26
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 10.17
11587 \end_layout
11588
11589 \end_inset
11590 </cell>
11591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11592 \begin_inset Text
11593
11594 \begin_layout Standard
11595 10.56
11596 \end_layout
11597
11598 \end_inset
11599 </cell>
11600 </row>
11601 <row topspace="default">
11602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11603 \begin_inset Text
11604
11605 \begin_layout Standard
11606 MTF at 
11607 \begin_inset Formula $f_{\mathrm{max}}$
11608 \end_inset
11609
11610
11611 \end_layout
11612
11613 \end_inset
11614 </cell>
11615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11616 \begin_inset Text
11617
11618 \begin_layout Standard
11619 0.53
11620 \end_layout
11621
11622 \end_inset
11623 </cell>
11624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11625 \begin_inset Text
11626
11627 \begin_layout Standard
11628 0.37
11629 \end_layout
11630
11631 \end_inset
11632 </cell>
11633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11634 \begin_inset Text
11635
11636 \begin_layout Standard
11637 0.39
11638 \end_layout
11639
11640 \end_inset
11641 </cell>
11642 </row>
11643 <row topspace="default">
11644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11645 \begin_inset Text
11646
11647 \begin_layout Standard
11648 \begin_inset ERT
11649 status collapsed
11650
11651 \begin_layout Standard
11652
11653
11654 \backslash
11655 cmidrule(l{10pt}){1-1}
11656 \end_layout
11657
11658 \end_inset
11659
11660 LSF-spatial resolution
11661 \end_layout
11662
11663 \end_inset
11664 </cell>
11665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11666 \begin_inset Text
11667
11668 \begin_layout Standard
11669
11670 \end_layout
11671
11672 \end_inset
11673 </cell>
11674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11675 \begin_inset Text
11676
11677 \begin_layout Standard
11678
11679 \end_layout
11680
11681 \end_inset
11682 </cell>
11683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11684 \begin_inset Text
11685
11686 \begin_layout Standard
11687
11688 \end_layout
11689
11690 \end_inset
11691 </cell>
11692 </row>
11693 <row>
11694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11695 \begin_inset Text
11696
11697 \begin_layout Standard
11698 in µm
11699 \end_layout
11700
11701 \end_inset
11702 </cell>
11703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11704 \begin_inset Text
11705
11706 \begin_layout Standard
11707 129.7
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 52.75
11717 \end_layout
11718
11719 \end_inset
11720 </cell>
11721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11722 \begin_inset Text
11723
11724 \begin_layout Standard
11725 50.78
11726 \end_layout
11727
11728 \end_inset
11729 </cell>
11730 </row>
11731 <row bottomline="true">
11732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11733 \begin_inset Text
11734
11735 \begin_layout Standard
11736 in % of pixel size
11737 \end_layout
11738
11739 \end_inset
11740 </cell>
11741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11742 \begin_inset Text
11743
11744 \begin_layout Standard
11745 76.3
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 95.9
11755 \end_layout
11756
11757 \end_inset
11758 </cell>
11759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11760 \begin_inset Text
11761
11762 \begin_layout Standard
11763 92.3
11764 \end_layout
11765
11766 \end_inset
11767 </cell>
11768 </row>
11769 </lyxtabular>
11770
11771 \end_inset
11772
11773
11774 \end_layout
11775
11776 \end_inset
11777
11778
11779 \end_layout
11780
11781 \begin_layout Standard
11782 Spaces to table rows can be added using the 
11783 \family sans
11784 Borders
11785 \family default
11786  tab of the table dialog as described in section\InsetSpace ~
11787
11788 \begin_inset LatexCommand ref
11789 reference "sub:Row-Spacing"
11790
11791 \end_inset
11792
11793 .
11794 \end_layout
11795
11796 \begin_layout Standard
11797 In contrary to normal tables, formal tables have no vertical table lines.
11798  The horizontal table lines can be set like for normal tables but they appear
11799  with different width in the output:
11800 \newline
11801 The first and the last table line have
11802  a default width of 0.08\InsetSpace \thinspace{}
11803 em while the other lines have a default width of
11804  0.05\InsetSpace \thinspace{}
11805 em.
11806 \end_layout
11807
11808 \begin_layout Standard
11809 The default widths can be changed with the following preamble lines
11810 \end_layout
11811
11812 \begin_layout Standard
11813
11814 \series bold
11815
11816 \backslash
11817 let
11818 \backslash
11819 mytoprule
11820 \backslash
11821 toprule
11822 \newline
11823
11824 \backslash
11825 renewcommand{
11826 \backslash
11827 toprule}{
11828 \backslash
11829 mytoprule[width]}
11830 \end_layout
11831
11832 \begin_layout Standard
11833 This example is for the first line, the so called toprule.
11834  If you want to change the width for the last line, replace 
11835 \series bold
11836 toprule
11837 \series default
11838  by 
11839 \series bold
11840 bottomrule
11841 \series default
11842 .
11843  To change the width for the other lines replace 
11844 \series bold
11845 toprule
11846 \series default
11847  by 
11848 \series bold
11849 midrule
11850 \series default
11851 .
11852  You can use all units listed in appendix\InsetSpace ~
11853
11854 \begin_inset LatexCommand ref
11855 reference "cha:Units-available-in"
11856
11857 \end_inset
11858
11859  to set the width.
11860 \end_layout
11861
11862 \begin_layout Standard
11863 Lines that don't span over all table columns can be created by setting a
11864  table line for multicolumn cells.
11865  LyX will then internally use the command 
11866 \series bold
11867
11868 \backslash
11869 cmidrule
11870 \series default
11871  to create this line.
11872  Its full scheme is
11873 \end_layout
11874
11875 \begin_layout Standard
11876
11877 \series bold
11878
11879 \backslash
11880 cmidrule[width](trim){startcol-endcol}
11881 \end_layout
11882
11883 \begin_layout Standard
11884 The options of 
11885 \series bold
11886
11887 \backslash
11888 cmidrule
11889 \series default
11890  are are currently not supported by LyX so you have to use ERT to be able
11891  to use them.
11892  
11893 \series bold
11894
11895 \backslash
11896 cmidrule
11897 \series default
11898 s can manually be created by inserting the command as ERT as first cell
11899  entry of the first cell of a row.
11900  The line is then drawn in the output above the current row.
11901 \end_layout
11902
11903 \begin_layout Standard
11904 The default for the width is 0.03\InsetSpace \thinspace{}
11905 em.
11906  Startcol is the number of the column where the line starts and endcol the
11907  column number where the line ends.
11908  The endcol always needs to be specified, also when the line should span
11909  only one column.
11910  The optional parameter trim could be either 
11911 \emph on
11912 l{trimwidth}
11913 \emph default
11914 , or 
11915 \emph on
11916 r{trimwidth}
11917 \emph default
11918  where the trimwidth is also optional.
11919  Using for example the parameter 
11920 \emph on
11921 l{2pt}
11922 \emph default
11923  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11924 pt.
11925  If you don't specify the trimwidth the lines are trimmed by the default
11926  of 0.5\InsetSpace \thinspace{}
11927 em.
11928 \end_layout
11929
11930 \begin_layout Standard
11931 \begin_inset VSpace bigskip
11932 \end_inset
11933
11934 Table\InsetSpace ~
11935
11936 \begin_inset LatexCommand ref
11937 reference "tab:Example-booktabs-table"
11938
11939 \end_inset
11940
11941  was created using the commands
11942 \end_layout
11943
11944 \begin_layout Standard
11945
11946 \series bold
11947
11948 \backslash
11949 cmidrule(r){2-2}
11950 \backslash
11951 cmidrule(l){3-4}
11952 \end_layout
11953
11954 \begin_layout Standard
11955 at the beginning of the in the second row and
11956 \end_layout
11957
11958 \begin_layout Standard
11959
11960 \series bold
11961
11962 \backslash
11963 cmidrule(l{10pt}){1-1}
11964 \end_layout
11965
11966 \begin_layout Standard
11967 in the sixth row.
11968 \end_layout
11969
11970 \begin_layout Standard
11971
11972 \end_layout
11973
11974 \begin_layout Standard
11975 \begin_inset VSpace bigskip
11976 \end_inset
11977
11978
11979 \end_layout
11980
11981 \begin_layout Standard
11982 You might want to have overlapping 
11983 \series bold
11984
11985 \backslash
11986 cmidrule
11987 \series default
11988 s like in Table\InsetSpace ~
11989
11990 \begin_inset LatexCommand ref
11991 reference "tab:Special-booktabs-table"
11992
11993 \end_inset
11994
11995 .
11996  This can be achieved with the ERT command
11997 \end_layout
11998
11999 \begin_layout Standard
12000
12001 \series bold
12002
12003 \backslash
12004 morecmidrules
12005 \end_layout
12006
12007 \begin_layout Standard
12008 The command that was used for the second row of Table\InsetSpace ~
12009
12010 \begin_inset LatexCommand ref
12011 reference "tab:Special-booktabs-table"
12012
12013 \end_inset
12014
12015  is
12016 \end_layout
12017
12018 \begin_layout Standard
12019
12020 \series bold
12021
12022 \backslash
12023 cmidrule(r){2-2}
12024 \backslash
12025 cmidrule(l){3-4}
12026 \backslash
12027 morecmidrules
12028 \backslash
12029 cmidrule{2-4}
12030 \end_layout
12031
12032 \begin_layout Standard
12033 The command for the sixth row is
12034 \end_layout
12035
12036 \begin_layout Standard
12037
12038 \series bold
12039
12040 \backslash
12041 midrule
12042 \backslash
12043 morecmidrules
12044 \backslash
12045 cmidrule{3-4}
12046 \end_layout
12047
12048 \begin_layout Standard
12049 \begin_inset VSpace bigskip
12050 \end_inset
12051
12052
12053 \end_layout
12054
12055 \begin_layout Standard
12056 If you are anyway not satisfied with the border line spacing, you can use
12057  the following command to produce lines that span over all table columns
12058 \series bold
12059 :
12060 \end_layout
12061
12062 \begin_layout Standard
12063
12064 \series bold
12065
12066 \backslash
12067 specialrule{width}{space above}{space below}
12068 \end_layout
12069
12070 \begin_layout Standard
12071 For more informations about these specialties, we refer to the manual of
12072  the LaTeX-package 
12073 \series bold
12074 booktabs
12075 \series default
12076  
12077 \begin_inset LatexCommand cite
12078 key "booktabs"
12079
12080 \end_inset
12081
12082 .
12083 \begin_inset LatexCommand index
12084 name "LaTeX-packages ! booktabs"
12085
12086 \end_inset
12087
12088
12089 \end_layout
12090
12091 \begin_layout Standard
12092 \begin_inset Float table
12093 placement h
12094 wide false
12095 sideways false
12096 status open
12097
12098 \begin_layout Standard
12099 \begin_inset Caption
12100
12101 \begin_layout Standard
12102 \begin_inset LatexCommand label
12103 name "tab:Special-booktabs-table"
12104
12105 \end_inset
12106
12107 Special booktabs-table
12108 \end_layout
12109
12110 \end_inset
12111
12112
12113 \end_layout
12114
12115 \begin_layout Standard
12116 \align center
12117 \begin_inset Tabular
12118 <lyxtabular version="3" rows="8" columns="4">
12119 <features booktabs="true">
12120 <column alignment="center" valignment="top" width="0">
12121 <column alignment="center" valignment="top" width="0">
12122 <column alignment="center" valignment="top" width="0">
12123 <column alignment="center" valignment="top" width="0">
12124 <row topline="true">
12125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12126 \begin_inset Text
12127
12128 \begin_layout Standard
12129 System
12130 \end_layout
12131
12132 \end_inset
12133 </cell>
12134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12135 \begin_inset Text
12136
12137 \begin_layout Standard
12138 Medipix\InsetSpace \thinspace{}
12139 1
12140 \end_layout
12141
12142 \end_inset
12143 </cell>
12144 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12145 \begin_inset Text
12146
12147 \begin_layout Standard
12148 Medipix\InsetSpace \thinspace{}
12149 2
12150 \end_layout
12151
12152 \end_inset
12153 </cell>
12154 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12155 \begin_inset Text
12156
12157 \begin_layout Standard
12158
12159 \end_layout
12160
12161 \end_inset
12162 </cell>
12163 </row>
12164 <row>
12165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12166 \begin_inset Text
12167
12168 \begin_layout Standard
12169 \begin_inset ERT
12170 status collapsed
12171
12172 \begin_layout Standard
12173
12174
12175 \backslash
12176 cmidrule(r){2-2}
12177 \end_layout
12178
12179 \end_inset
12180
12181
12182 \begin_inset ERT
12183 status collapsed
12184
12185 \begin_layout Standard
12186
12187
12188 \backslash
12189 cmidrule(l){3-4}
12190 \end_layout
12191
12192 \end_inset
12193
12194
12195 \begin_inset ERT
12196 status collapsed
12197
12198 \begin_layout Standard
12199
12200
12201 \backslash
12202 morecmidrules 
12203 \end_layout
12204
12205 \end_inset
12206
12207
12208 \begin_inset ERT
12209 status collapsed
12210
12211 \begin_layout Standard
12212
12213
12214 \backslash
12215 cmidrule{2-4}
12216 \end_layout
12217
12218 \end_inset
12219
12220 Detector thickness [µm]
12221 \end_layout
12222
12223 \end_inset
12224 </cell>
12225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12226 \begin_inset Text
12227
12228 \begin_layout Standard
12229 300
12230 \end_layout
12231
12232 \end_inset
12233 </cell>
12234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12235 \begin_inset Text
12236
12237 \begin_layout Standard
12238 300
12239 \end_layout
12240
12241 \end_inset
12242 </cell>
12243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12244 \begin_inset Text
12245
12246 \begin_layout Standard
12247 700
12248 \end_layout
12249
12250 \end_inset
12251 </cell>
12252 </row>
12253 <row topline="true">
12254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12255 \begin_inset Text
12256
12257 \begin_layout Standard
12258 Edge angle [°]
12259 \end_layout
12260
12261 \end_inset
12262 </cell>
12263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12264 \begin_inset Text
12265
12266 \begin_layout Standard
12267 3.55
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 2.71
12277 \end_layout
12278
12279 \end_inset
12280 </cell>
12281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12282 \begin_inset Text
12283
12284 \begin_layout Standard
12285 7.99
12286 \end_layout
12287
12288 \end_inset
12289 </cell>
12290 </row>
12291 <row topspace="default">
12292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12293 \begin_inset Text
12294
12295 \begin_layout Standard
12296 Spatial resolution [µm]
12297 \end_layout
12298
12299 \end_inset
12300 </cell>
12301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12302 \begin_inset Text
12303
12304 \begin_layout Standard
12305 4.26
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 10.17
12315 \end_layout
12316
12317 \end_inset
12318 </cell>
12319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12320 \begin_inset Text
12321
12322 \begin_layout Standard
12323 10.56
12324 \end_layout
12325
12326 \end_inset
12327 </cell>
12328 </row>
12329 <row topspace="default">
12330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12331 \begin_inset Text
12332
12333 \begin_layout Standard
12334 MTF at 
12335 \begin_inset Formula $f_{\mathrm{max}}$
12336 \end_inset
12337
12338
12339 \end_layout
12340
12341 \end_inset
12342 </cell>
12343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12344 \begin_inset Text
12345
12346 \begin_layout Standard
12347 0.53
12348 \end_layout
12349
12350 \end_inset
12351 </cell>
12352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12353 \begin_inset Text
12354
12355 \begin_layout Standard
12356 0.37
12357 \end_layout
12358
12359 \end_inset
12360 </cell>
12361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12362 \begin_inset Text
12363
12364 \begin_layout Standard
12365 0.39
12366 \end_layout
12367
12368 \end_inset
12369 </cell>
12370 </row>
12371 <row topline="true">
12372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12373 \begin_inset Text
12374
12375 \begin_layout Standard
12376 \begin_inset ERT
12377 status collapsed
12378
12379 \begin_layout Standard
12380
12381
12382 \backslash
12383 morecmidrules 
12384 \end_layout
12385
12386 \end_inset
12387
12388
12389 \begin_inset ERT
12390 status collapsed
12391
12392 \begin_layout Standard
12393
12394
12395 \backslash
12396 cmidrule{3-4}
12397 \end_layout
12398
12399 \end_inset
12400
12401 LSF-spatial resolution
12402 \end_layout
12403
12404 \end_inset
12405 </cell>
12406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12407 \begin_inset Text
12408
12409 \begin_layout Standard
12410
12411 \end_layout
12412
12413 \end_inset
12414 </cell>
12415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12416 \begin_inset Text
12417
12418 \begin_layout Standard
12419
12420 \end_layout
12421
12422 \end_inset
12423 </cell>
12424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12425 \begin_inset Text
12426
12427 \begin_layout Standard
12428
12429 \end_layout
12430
12431 \end_inset
12432 </cell>
12433 </row>
12434 <row>
12435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12436 \begin_inset Text
12437
12438 \begin_layout Standard
12439 in µm
12440 \end_layout
12441
12442 \end_inset
12443 </cell>
12444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12445 \begin_inset Text
12446
12447 \begin_layout Standard
12448 129.7
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 52.75
12458 \end_layout
12459
12460 \end_inset
12461 </cell>
12462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12463 \begin_inset Text
12464
12465 \begin_layout Standard
12466 50.78
12467 \end_layout
12468
12469 \end_inset
12470 </cell>
12471 </row>
12472 <row bottomline="true">
12473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12474 \begin_inset Text
12475
12476 \begin_layout Standard
12477 in % of pixel size
12478 \end_layout
12479
12480 \end_inset
12481 </cell>
12482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12483 \begin_inset Text
12484
12485 \begin_layout Standard
12486 76.3
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 95.9
12496 \end_layout
12497
12498 \end_inset
12499 </cell>
12500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12501 \begin_inset Text
12502
12503 \begin_layout Standard
12504 92.3
12505 \end_layout
12506
12507 \end_inset
12508 </cell>
12509 </row>
12510 </lyxtabular>
12511
12512 \end_inset
12513
12514
12515 \end_layout
12516
12517 \end_inset
12518
12519
12520 \end_layout
12521
12522 \begin_layout Section
12523 Vertical Table Alignment
12524 \begin_inset LatexCommand index
12525 name "Table ! Alignment"
12526
12527 \end_inset
12528
12529
12530 \end_layout
12531
12532 \begin_layout Standard
12533 To align tables vertically in a text line the table must be inside a box.
12534  The box can then be vertically aligned as described in section\InsetSpace ~
12535
12536 \begin_inset LatexCommand ref
12537 reference "sec:Box-Dialog"
12538
12539 \end_inset
12540
12541 .
12542 \end_layout
12543
12544 \begin_layout Standard
12545 In the following example the tables are inside a minipage
12546 \begin_inset Foot
12547 status collapsed
12548
12549 \begin_layout Standard
12550 Minipages are described in section\InsetSpace ~
12551
12552 \begin_inset LatexCommand ref
12553 reference "sec:Minipages"
12554
12555 \end_inset
12556
12557 .
12558 \end_layout
12559
12560 \end_inset
12561
12562  box that has a width of 15\InsetSpace \thinspace{}
12563 col%:
12564 \end_layout
12565
12566 \begin_layout Itemize
12567 test 
12568 \begin_inset Box Frameless
12569 position "t"
12570 hor_pos "c"
12571 has_inner_box 1
12572 inner_pos "c"
12573 use_parbox 0
12574 width "15col%"
12575 special "none"
12576 height "1in"
12577 height_special "totalheight"
12578 status collapsed
12579
12580 \begin_layout Standard
12581 \begin_inset Tabular
12582 <lyxtabular version="3" rows="3" columns="3">
12583 <features>
12584 <column alignment="center" valignment="top" leftline="true" width="0">
12585 <column alignment="center" valignment="top" leftline="true" width="0">
12586 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12587 <row topline="true">
12588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12589 \begin_inset Text
12590
12591 \begin_layout Standard
12592 a
12593 \end_layout
12594
12595 \end_inset
12596 </cell>
12597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12598 \begin_inset Text
12599
12600 \begin_layout Standard
12601 d
12602 \end_layout
12603
12604 \end_inset
12605 </cell>
12606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12607 \begin_inset Text
12608
12609 \begin_layout Standard
12610 g
12611 \end_layout
12612
12613 \end_inset
12614 </cell>
12615 </row>
12616 <row topline="true">
12617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12618 \begin_inset Text
12619
12620 \begin_layout Standard
12621 b
12622 \end_layout
12623
12624 \end_inset
12625 </cell>
12626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12627 \begin_inset Text
12628
12629 \begin_layout Standard
12630 e
12631 \end_layout
12632
12633 \end_inset
12634 </cell>
12635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12636 \begin_inset Text
12637
12638 \begin_layout Standard
12639 h
12640 \end_layout
12641
12642 \end_inset
12643 </cell>
12644 </row>
12645 <row topline="true" bottomline="true">
12646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12647 \begin_inset Text
12648
12649 \begin_layout Standard
12650 c
12651 \end_layout
12652
12653 \end_inset
12654 </cell>
12655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12656 \begin_inset Text
12657
12658 \begin_layout Standard
12659 f
12660 \end_layout
12661
12662 \end_inset
12663 </cell>
12664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12665 \begin_inset Text
12666
12667 \begin_layout Standard
12668 i
12669 \end_layout
12670
12671 \end_inset
12672 </cell>
12673 </row>
12674 </lyxtabular>
12675
12676 \end_inset
12677
12678
12679 \end_layout
12680
12681 \end_inset
12682
12683  test 
12684 \begin_inset ERT
12685 status collapsed
12686
12687 \begin_layout Standard
12688
12689
12690 \backslash
12691 raisebox{0.85
12692 \backslash
12693 baselineskip}{
12694 \end_layout
12695
12696 \end_inset
12697
12698
12699 \begin_inset Box Frameless
12700 position "t"
12701 hor_pos "c"
12702 has_inner_box 1
12703 inner_pos "c"
12704 use_parbox 0
12705 width "15col%"
12706 special "none"
12707 height "1in"
12708 height_special "totalheight"
12709 status collapsed
12710
12711 \begin_layout Standard
12712 \begin_inset Tabular
12713 <lyxtabular version="3" rows="3" columns="3">
12714 <features>
12715 <column alignment="center" valignment="top" leftline="true" width="0">
12716 <column alignment="center" valignment="top" leftline="true" width="0">
12717 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12718 <row topline="true">
12719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12720 \begin_inset Text
12721
12722 \begin_layout Standard
12723 a
12724 \end_layout
12725
12726 \end_inset
12727 </cell>
12728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12729 \begin_inset Text
12730
12731 \begin_layout Standard
12732 d
12733 \end_layout
12734
12735 \end_inset
12736 </cell>
12737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12738 \begin_inset Text
12739
12740 \begin_layout Standard
12741 g
12742 \end_layout
12743
12744 \end_inset
12745 </cell>
12746 </row>
12747 <row topline="true">
12748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12749 \begin_inset Text
12750
12751 \begin_layout Standard
12752 b
12753 \end_layout
12754
12755 \end_inset
12756 </cell>
12757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12758 \begin_inset Text
12759
12760 \begin_layout Standard
12761 e
12762 \end_layout
12763
12764 \end_inset
12765 </cell>
12766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12767 \begin_inset Text
12768
12769 \begin_layout Standard
12770 h
12771 \end_layout
12772
12773 \end_inset
12774 </cell>
12775 </row>
12776 <row topline="true" bottomline="true">
12777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12778 \begin_inset Text
12779
12780 \begin_layout Standard
12781 c
12782 \end_layout
12783
12784 \end_inset
12785 </cell>
12786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12787 \begin_inset Text
12788
12789 \begin_layout Standard
12790 f
12791 \end_layout
12792
12793 \end_inset
12794 </cell>
12795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12796 \begin_inset Text
12797
12798 \begin_layout Standard
12799 i
12800 \end_layout
12801
12802 \end_inset
12803 </cell>
12804 </row>
12805 </lyxtabular>
12806
12807 \end_inset
12808
12809
12810 \end_layout
12811
12812 \end_inset
12813
12814
12815 \begin_inset ERT
12816 status collapsed
12817
12818 \begin_layout Standard
12819
12820 }
12821 \end_layout
12822
12823 \end_inset
12824
12825
12826 \end_layout
12827
12828 \begin_layout Itemize
12829 test 
12830 \begin_inset Box Frameless
12831 position "c"
12832 hor_pos "c"
12833 has_inner_box 1
12834 inner_pos "c"
12835 use_parbox 0
12836 width "15col%"
12837 special "none"
12838 height "1in"
12839 height_special "totalheight"
12840 status collapsed
12841
12842 \begin_layout Standard
12843 \begin_inset Tabular
12844 <lyxtabular version="3" rows="3" columns="3">
12845 <features>
12846 <column alignment="center" valignment="top" leftline="true" width="0">
12847 <column alignment="center" valignment="top" leftline="true" width="0">
12848 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12849 <row topline="true">
12850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12851 \begin_inset Text
12852
12853 \begin_layout Standard
12854 a
12855 \end_layout
12856
12857 \end_inset
12858 </cell>
12859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12860 \begin_inset Text
12861
12862 \begin_layout Standard
12863 d
12864 \end_layout
12865
12866 \end_inset
12867 </cell>
12868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12869 \begin_inset Text
12870
12871 \begin_layout Standard
12872 g
12873 \end_layout
12874
12875 \end_inset
12876 </cell>
12877 </row>
12878 <row topline="true">
12879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12880 \begin_inset Text
12881
12882 \begin_layout Standard
12883 b
12884 \end_layout
12885
12886 \end_inset
12887 </cell>
12888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12889 \begin_inset Text
12890
12891 \begin_layout Standard
12892 e
12893 \end_layout
12894
12895 \end_inset
12896 </cell>
12897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12898 \begin_inset Text
12899
12900 \begin_layout Standard
12901 h
12902 \end_layout
12903
12904 \end_inset
12905 </cell>
12906 </row>
12907 <row topline="true" bottomline="true">
12908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12909 \begin_inset Text
12910
12911 \begin_layout Standard
12912 c
12913 \end_layout
12914
12915 \end_inset
12916 </cell>
12917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12918 \begin_inset Text
12919
12920 \begin_layout Standard
12921 f
12922 \end_layout
12923
12924 \end_inset
12925 </cell>
12926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12927 \begin_inset Text
12928
12929 \begin_layout Standard
12930 i
12931 \end_layout
12932
12933 \end_inset
12934 </cell>
12935 </row>
12936 </lyxtabular>
12937
12938 \end_inset
12939
12940
12941 \end_layout
12942
12943 \end_inset
12944
12945
12946 \end_layout
12947
12948 \begin_layout Itemize
12949 test 
12950 \begin_inset Box Frameless
12951 position "b"
12952 hor_pos "c"
12953 has_inner_box 1
12954 inner_pos "c"
12955 use_parbox 0
12956 width "15col%"
12957 special "none"
12958 height "1in"
12959 height_special "totalheight"
12960 status collapsed
12961
12962 \begin_layout Standard
12963 \begin_inset Tabular
12964 <lyxtabular version="3" rows="3" columns="3">
12965 <features>
12966 <column alignment="center" valignment="top" leftline="true" width="0">
12967 <column alignment="center" valignment="top" leftline="true" width="0">
12968 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12969 <row topline="true">
12970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12971 \begin_inset Text
12972
12973 \begin_layout Standard
12974 a
12975 \end_layout
12976
12977 \end_inset
12978 </cell>
12979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12980 \begin_inset Text
12981
12982 \begin_layout Standard
12983 d
12984 \end_layout
12985
12986 \end_inset
12987 </cell>
12988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12989 \begin_inset Text
12990
12991 \begin_layout Standard
12992 g
12993 \end_layout
12994
12995 \end_inset
12996 </cell>
12997 </row>
12998 <row topline="true">
12999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13000 \begin_inset Text
13001
13002 \begin_layout Standard
13003 b
13004 \end_layout
13005
13006 \end_inset
13007 </cell>
13008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13009 \begin_inset Text
13010
13011 \begin_layout Standard
13012 e
13013 \end_layout
13014
13015 \end_inset
13016 </cell>
13017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13018 \begin_inset Text
13019
13020 \begin_layout Standard
13021 h
13022 \end_layout
13023
13024 \end_inset
13025 </cell>
13026 </row>
13027 <row topline="true" bottomline="true">
13028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13029 \begin_inset Text
13030
13031 \begin_layout Standard
13032 c
13033 \end_layout
13034
13035 \end_inset
13036 </cell>
13037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13038 \begin_inset Text
13039
13040 \begin_layout Standard
13041 f
13042 \end_layout
13043
13044 \end_inset
13045 </cell>
13046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13047 \begin_inset Text
13048
13049 \begin_layout Standard
13050 i
13051 \end_layout
13052
13053 \end_inset
13054 </cell>
13055 </row>
13056 </lyxtabular>
13057
13058 \end_inset
13059
13060
13061 \end_layout
13062
13063 \end_inset
13064
13065  test 
13066 \begin_inset ERT
13067 status collapsed
13068
13069 \begin_layout Standard
13070
13071
13072 \backslash
13073 raisebox{-0.32
13074 \backslash
13075 baselineskip}{
13076 \end_layout
13077
13078 \end_inset
13079
13080
13081 \begin_inset Box Frameless
13082 position "b"
13083 hor_pos "c"
13084 has_inner_box 1
13085 inner_pos "c"
13086 use_parbox 0
13087 width "15col%"
13088 special "none"
13089 height "1in"
13090 height_special "totalheight"
13091 status collapsed
13092
13093 \begin_layout Standard
13094 \begin_inset Tabular
13095 <lyxtabular version="3" rows="3" columns="3">
13096 <features>
13097 <column alignment="center" valignment="top" leftline="true" width="0">
13098 <column alignment="center" valignment="top" leftline="true" width="0">
13099 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13100 <row topline="true">
13101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13102 \begin_inset Text
13103
13104 \begin_layout Standard
13105 a
13106 \end_layout
13107
13108 \end_inset
13109 </cell>
13110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13111 \begin_inset Text
13112
13113 \begin_layout Standard
13114 d
13115 \end_layout
13116
13117 \end_inset
13118 </cell>
13119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13120 \begin_inset Text
13121
13122 \begin_layout Standard
13123 g
13124 \end_layout
13125
13126 \end_inset
13127 </cell>
13128 </row>
13129 <row topline="true">
13130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13131 \begin_inset Text
13132
13133 \begin_layout Standard
13134 b
13135 \end_layout
13136
13137 \end_inset
13138 </cell>
13139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13140 \begin_inset Text
13141
13142 \begin_layout Standard
13143 e
13144 \end_layout
13145
13146 \end_inset
13147 </cell>
13148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13149 \begin_inset Text
13150
13151 \begin_layout Standard
13152 h
13153 \end_layout
13154
13155 \end_inset
13156 </cell>
13157 </row>
13158 <row topline="true" bottomline="true">
13159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13160 \begin_inset Text
13161
13162 \begin_layout Standard
13163 c
13164 \end_layout
13165
13166 \end_inset
13167 </cell>
13168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13169 \begin_inset Text
13170
13171 \begin_layout Standard
13172 f
13173 \end_layout
13174
13175 \end_inset
13176 </cell>
13177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13178 \begin_inset Text
13179
13180 \begin_layout Standard
13181 i
13182 \end_layout
13183
13184 \end_inset
13185 </cell>
13186 </row>
13187 </lyxtabular>
13188
13189 \end_inset
13190
13191
13192 \end_layout
13193
13194 \end_inset
13195
13196
13197 \begin_inset ERT
13198 status collapsed
13199
13200 \begin_layout Standard
13201
13202 }
13203 \end_layout
13204
13205 \end_inset
13206
13207
13208 \end_layout
13209
13210 \begin_layout Standard
13211 As you can see, the content of the first and last table row is not correctly
13212  aligned with the text line where the table is in.
13213  To get this alignment, the minipage box must be set into a raisebox
13214 \begin_inset Foot
13215 status collapsed
13216
13217 \begin_layout Standard
13218 Raiseboxes are described in section\InsetSpace ~
13219
13220 \begin_inset LatexCommand ref
13221 reference "sub:Vertical-Alignment"
13222
13223 \end_inset
13224
13225 .
13226 \end_layout
13227
13228 \end_inset
13229
13230 .
13231  In the example above the second table in the first item is aligned using
13232  the ERT-command
13233 \end_layout
13234
13235 \begin_layout Standard
13236
13237 \series bold
13238
13239 \backslash
13240 raisebox{0.85
13241 \backslash
13242 baselineskip}{
13243 \end_layout
13244
13245 \begin_layout Standard
13246 before the box.
13247  Behind the box the closing brace 
13248 \series bold
13249 }
13250 \series default
13251  is inserted as ERT.
13252  For the second table in the last item the command
13253 \end_layout
13254
13255 \begin_layout Standard
13256
13257 \series bold
13258
13259 \backslash
13260 raisebox{-0.32
13261 \backslash
13262 baselineskip}{
13263 \end_layout
13264
13265 \begin_layout Standard
13266 is used.
13267 \end_layout
13268
13269 \begin_layout Standard
13270 \begin_inset Note Greyedout
13271 status open
13272
13273 \begin_layout Standard
13274
13275 \series bold
13276 Note:
13277 \series default
13278  The alignment of the table row content to the surrounding text line is
13279  not exact.
13280  The needed factor of the 
13281 \series bold
13282
13283 \backslash
13284 raisebox
13285 \series default
13286  command for this alignment depends on the document font, the font size,
13287  and the table line thickness.
13288 \end_layout
13289
13290 \end_inset
13291
13292
13293 \end_layout
13294
13295 \begin_layout Section
13296 Colored Tables
13297 \begin_inset LatexCommand label
13298 name "sec:Colored-Tables"
13299
13300 \end_inset
13301
13302
13303 \begin_inset LatexCommand index
13304 name "Table ! Color"
13305
13306 \end_inset
13307
13308
13309 \end_layout
13310
13311 \begin_layout Subsection
13312 Colored Cells
13313 \begin_inset LatexCommand index
13314 name "Table Color ! for Cells"
13315
13316 \end_inset
13317
13318
13319 \begin_inset LatexCommand index
13320 name "Color ! for Table Cells"
13321
13322 \end_inset
13323
13324
13325 \end_layout
13326
13327 \begin_layout Standard
13328 \begin_inset Float table
13329 placement h
13330 wide false
13331 sideways false
13332 status open
13333
13334 \begin_layout Standard
13335 \begin_inset Caption
13336
13337 \begin_layout Standard
13338 \begin_inset LatexCommand label
13339 name "tab:Table-colored-without"
13340
13341 \end_inset
13342
13343 Table colored without using the package 
13344 \series bold
13345 colortbl
13346 \series default
13347
13348 \begin_inset OptArg
13349 status collapsed
13350
13351 \begin_layout Standard
13352 Table without colortbl
13353 \end_layout
13354
13355 \end_inset
13356
13357
13358 \end_layout
13359
13360 \end_inset
13361
13362
13363 \end_layout
13364
13365 \begin_layout Standard
13366 \align center
13367 \begin_inset Tabular
13368 <lyxtabular version="3" rows="3" columns="3">
13369 <features>
13370 <column alignment="center" valignment="top" leftline="true" width="0">
13371 <column alignment="center" valignment="top" leftline="true" width="0">
13372 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13373 <row topline="true">
13374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13375 \begin_inset Text
13376
13377 \begin_layout Standard
13378
13379 \color green
13380 a
13381 \end_layout
13382
13383 \end_inset
13384 </cell>
13385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13386 \begin_inset Text
13387
13388 \begin_layout Standard
13389
13390 \color red
13391 b
13392 \end_layout
13393
13394 \end_inset
13395 </cell>
13396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13397 \begin_inset Text
13398
13399 \begin_layout Standard
13400
13401 \color red
13402 c
13403 \end_layout
13404
13405 \end_inset
13406 </cell>
13407 </row>
13408 <row topline="true">
13409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13410 \begin_inset Text
13411
13412 \begin_layout Standard
13413
13414 \color green
13415 d
13416 \end_layout
13417
13418 \end_inset
13419 </cell>
13420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13421 \begin_inset Text
13422
13423 \begin_layout Standard
13424
13425 \color blue
13426 e
13427 \end_layout
13428
13429 \end_inset
13430 </cell>
13431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13432 \begin_inset Text
13433
13434 \begin_layout Standard
13435
13436 \color blue
13437 f
13438 \end_layout
13439
13440 \end_inset
13441 </cell>
13442 </row>
13443 <row topline="true" bottomline="true">
13444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13445 \begin_inset Text
13446
13447 \begin_layout Standard
13448
13449 \color green
13450 g
13451 \end_layout
13452
13453 \end_inset
13454 </cell>
13455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13456 \begin_inset Text
13457
13458 \begin_layout Standard
13459
13460 \color blue
13461 h
13462 \end_layout
13463
13464 \end_inset
13465 </cell>
13466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13467 \begin_inset Text
13468
13469 \begin_layout Standard
13470
13471 \color blue
13472 i
13473 \end_layout
13474
13475 \end_inset
13476 </cell>
13477 </row>
13478 </lyxtabular>
13479
13480 \end_inset
13481
13482
13483 \end_layout
13484
13485 \end_inset
13486
13487
13488 \end_layout
13489
13490 \begin_layout Standard
13491 If you only need colored text, mark the cells and choose a color in the
13492  menu 
13493 \family sans
13494 Edit\SpecialChar \menuseparator
13495 Text\InsetSpace ~
13496 Style
13497 \family default
13498 .
13499  This was used to create Table\InsetSpace ~
13500
13501 \begin_inset LatexCommand ref
13502 reference "tab:Table-colored-without"
13503
13504 \end_inset
13505
13506 .
13507  In any other case you have to use the LaTeX-package 
13508 \series bold
13509 colortbl
13510 \series default
13511 .
13512 \begin_inset LatexCommand index
13513 name "LaTeX-packages ! colortbl"
13514
13515 \end_inset
13516
13517
13518 \end_layout
13519
13520 \begin_layout Standard
13521 To create colored tables, 
13522 \series bold
13523 colortbl
13524 \series default
13525  must be loaded in the preamble with the line
13526 \end_layout
13527
13528 \begin_layout Standard
13529
13530 \series bold
13531
13532 \backslash
13533 usepackage{colortbl}
13534 \end_layout
13535
13536 \begin_layout Standard
13537 The color of a column is adjusted with the command
13538 \end_layout
13539
13540 \begin_layout Standard
13541
13542 \series bold
13543
13544 \backslash
13545 columncolor{name of color}
13546 \end_layout
13547
13548 \begin_layout Standard
13549 inside the command 
13550 \series bold
13551 >{ }
13552 \series default
13553 .
13554  More about the command 
13555 \series bold
13556 >{}
13557 \series default
13558  is described in section\InsetSpace ~
13559
13560 \begin_inset LatexCommand ref
13561 reference "sub:Multicolumn-Calculations"
13562
13563 \end_inset
13564
13565 .
13566 \end_layout
13567
13568 \begin_layout Standard
13569 The following color names are predefined:
13570 \end_layout
13571
13572 \begin_layout Standard
13573
13574 \family sans
13575 red
13576 \family default
13577
13578 \family sans
13579 green
13580 \family default
13581
13582 \family sans
13583 yellow
13584 \family default
13585
13586 \family sans
13587 blue
13588 \family default
13589
13590 \family sans
13591 cyan
13592 \family default
13593
13594 \family sans
13595 magenta
13596 \family default
13597
13598 \family sans
13599 black
13600 \family default
13601  and 
13602 \family sans
13603 white
13604 \end_layout
13605
13606 \begin_layout Standard
13607 \begin_inset VSpace medskip
13608 \end_inset
13609
13610
13611 \end_layout
13612
13613 \begin_layout Standard
13614 You can also define your own color with the command
13615 \end_layout
13616
13617 \begin_layout Standard
13618
13619 \series bold
13620
13621 \backslash
13622 def\SpecialChar \textcompwordmark{}
13623 inecolor{color name}{color model}{color values}
13624 \end_layout
13625
13626 \begin_layout Standard
13627 The color model can be
13628 \end_layout
13629
13630 \begin_layout Labeling
13631 \labelwidthstring 00.00.0000
13632 cmyk: cyan, magenta, yellow, black
13633 \end_layout
13634
13635 \begin_layout Labeling
13636 \labelwidthstring 00.00.0000
13637 rgb: red, green blue
13638 \end_layout
13639
13640 \begin_layout Labeling
13641 \labelwidthstring 00.00.0000
13642 gray gray
13643 \end_layout
13644
13645 \begin_layout Standard
13646 and the color values are comma separated numbers between 0 and 1 describing
13647  the factor for the corresponding color of the color model.
13648 \end_layout
13649
13650 \begin_layout Standard
13651 You can e.\InsetSpace \thinspace{}
13652 g.\InsetSpace ~
13653 define the color "
13654 \emph on
13655 darkgreen
13656 \emph default
13657 " in the preamble with
13658 \end_layout
13659
13660 \begin_layout Standard
13661
13662 \series bold
13663
13664 \backslash
13665 def\SpecialChar \textcompwordmark{}
13666 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13667 \end_layout
13668
13669 \begin_layout Standard
13670 and the color "
13671 \emph on
13672 lightgray
13673 \emph default
13674 " with
13675 \end_layout
13676
13677 \begin_layout Standard
13678
13679 \series bold
13680
13681 \backslash
13682 def\SpecialChar \textcompwordmark{}
13683 inecolor{lightgray}{gray}{0.8}
13684 \end_layout
13685
13686 \begin_layout Standard
13687 \begin_inset VSpace medskip
13688 \end_inset
13689
13690
13691 \end_layout
13692
13693 \begin_layout Standard
13694 Lines are colored with the command
13695 \end_layout
13696
13697 \begin_layout Standard
13698
13699 \series bold
13700
13701 \backslash
13702 rowcolor{name of color}
13703 \end_layout
13704
13705 \begin_layout Standard
13706 and cells are colored with the command
13707 \end_layout
13708
13709 \begin_layout Standard
13710
13711 \series bold
13712
13713 \backslash
13714 cellcolor{name of color}
13715 \end_layout
13716
13717 \begin_layout Standard
13718 Both commands are inserted at the beginning of a cell as ERT.
13719 \end_layout
13720
13721 \begin_layout Standard
13722 To color characters in the table, mark the cells and use the LyX menu 
13723 \family sans
13724 Edit\SpecialChar \menuseparator
13725 Text\InsetSpace ~
13726 Style
13727 \family default
13728 .
13729  If a cell contains ERT mark only the characters, otherwise the colored
13730  ERT will cause LaTeX-errors.
13731 \end_layout
13732
13733 \begin_layout Standard
13734 \begin_inset VSpace bigskip
13735 \end_inset
13736
13737
13738 \end_layout
13739
13740 \begin_layout Standard
13741 To create Table\InsetSpace ~
13742
13743 \begin_inset LatexCommand ref
13744 reference "tab:Table-colored-using"
13745
13746 \end_inset
13747
13748  do the following: The color of the first column should be 
13749 \emph on
13750 darkgreen
13751 \emph default
13752 .
13753  So insert
13754 \end_layout
13755
13756 \begin_layout Standard
13757
13758 \series bold
13759 >{
13760 \backslash
13761 columncolor{darkgreen}
13762 \backslash
13763 centering}c
13764 \end_layout
13765
13766 \begin_layout Standard
13767 as LaTeX-argument for this column.
13768  The first row should be blue, therefore the ERT command
13769 \end_layout
13770
13771 \begin_layout Standard
13772
13773 \series bold
13774
13775 \backslash
13776 rowcolow{cyan}
13777 \end_layout
13778
13779 \begin_layout Standard
13780 is inserted to the first cell of this row.
13781  Note that this overwrites the column color for the first cell.
13782  The last cell of the last row is colored magenta by inserting the ERT command
13783 \end_layout
13784
13785 \begin_layout Standard
13786
13787 \series bold
13788
13789 \backslash
13790 cellcolor{magenta}
13791 \end_layout
13792
13793 \begin_layout Standard
13794 The characters could now be colored using the menu 
13795 \family sans
13796 Edit\SpecialChar \menuseparator
13797 Text\InsetSpace ~
13798 Style
13799 \family default
13800 .
13801 \end_layout
13802
13803 \begin_layout Standard
13804 \begin_inset Float table
13805 placement h
13806 wide false
13807 sideways false
13808 status open
13809
13810 \begin_layout Standard
13811 \begin_inset Caption
13812
13813 \begin_layout Standard
13814 \begin_inset LatexCommand label
13815 name "tab:Table-colored-using"
13816
13817 \end_inset
13818
13819 Table colored using the package 
13820 \series bold
13821 colortbl
13822 \series default
13823
13824 \begin_inset OptArg
13825 status collapsed
13826
13827 \begin_layout Standard
13828 Table with colortbl
13829 \end_layout
13830
13831 \end_inset
13832
13833
13834 \end_layout
13835
13836 \end_inset
13837
13838
13839 \end_layout
13840
13841 \begin_layout Standard
13842 \align center
13843 \begin_inset Tabular
13844 <lyxtabular version="3" rows="3" columns="3">
13845 <features>
13846 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
13847 <column alignment="center" valignment="top" width="0">
13848 <column alignment="center" valignment="top" width="0">
13849 <row>
13850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13851 \begin_inset Text
13852
13853 \begin_layout Standard
13854 \begin_inset ERT
13855 status collapsed
13856
13857 \begin_layout Standard
13858
13859
13860 \backslash
13861 rowcolor{cyan}
13862 \end_layout
13863
13864 \end_inset
13865
13866
13867 \color magenta
13868 a
13869 \end_layout
13870
13871 \end_inset
13872 </cell>
13873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13874 \begin_inset Text
13875
13876 \begin_layout Standard
13877
13878 \color red
13879 b
13880 \end_layout
13881
13882 \end_inset
13883 </cell>
13884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13885 \begin_inset Text
13886
13887 \begin_layout Standard
13888
13889 \color red
13890 c
13891 \end_layout
13892
13893 \end_inset
13894 </cell>
13895 </row>
13896 <row>
13897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13898 \begin_inset Text
13899
13900 \begin_layout Standard
13901
13902 \color yellow
13903 d
13904 \end_layout
13905
13906 \end_inset
13907 </cell>
13908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13909 \begin_inset Text
13910
13911 \begin_layout Standard
13912
13913 \color blue
13914 e
13915 \end_layout
13916
13917 \end_inset
13918 </cell>
13919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13920 \begin_inset Text
13921
13922 \begin_layout Standard
13923
13924 \color blue
13925 f
13926 \end_layout
13927
13928 \end_inset
13929 </cell>
13930 </row>
13931 <row>
13932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13933 \begin_inset Text
13934
13935 \begin_layout Standard
13936
13937 \color yellow
13938 g
13939 \end_layout
13940
13941 \end_inset
13942 </cell>
13943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13944 \begin_inset Text
13945
13946 \begin_layout Standard
13947
13948 \color blue
13949 h
13950 \end_layout
13951
13952 \end_inset
13953 </cell>
13954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13955 \begin_inset Text
13956
13957 \begin_layout Standard
13958 \begin_inset ERT
13959 status collapsed
13960
13961 \begin_layout Standard
13962
13963
13964 \backslash
13965 cellcolor{magenta}
13966 \end_layout
13967
13968 \end_inset
13969
13970
13971 \color green
13972 i
13973 \end_layout
13974
13975 \end_inset
13976 </cell>
13977 </row>
13978 </lyxtabular>
13979
13980 \end_inset
13981
13982
13983 \end_layout
13984
13985 \end_inset
13986
13987
13988 \end_layout
13989
13990 \begin_layout Subsection
13991 Colored Lines
13992 \begin_inset LatexCommand index
13993 name "Table Color ! for Lines"
13994
13995 \end_inset
13996
13997
13998 \begin_inset LatexCommand index
13999 name "Color ! for Table Lines"
14000
14001 \end_inset
14002
14003
14004 \end_layout
14005
14006 \begin_layout Standard
14007 As described in section\InsetSpace ~
14008
14009 \begin_inset LatexCommand ref
14010 reference "sub:Line-Thickness"
14011
14012 \end_inset
14013
14014 , the line thickness for all lines in a table can be adjusted with the length
14015  
14016 \series bold
14017
14018 \backslash
14019 arrayrulewidth
14020 \series default
14021 .
14022  It is set to 1.5\InsetSpace \thinspace{}
14023 pt for all tables of this section.
14024 \begin_inset ERT
14025 status collapsed
14026
14027 \begin_layout Standard
14028
14029
14030 \backslash
14031 setlength{
14032 \backslash
14033 arrayrulewidth}{1.5pt}
14034 \end_layout
14035
14036 \end_inset
14037
14038
14039 \end_layout
14040
14041 \begin_layout Standard
14042 To color vertical lines for example with green, create the following column
14043  format in the document preamble, according to the description in section\InsetSpace ~
14044
14045 \begin_inset LatexCommand ref
14046 reference "sub:Customized-Format"
14047
14048 \end_inset
14049
14050 :
14051 \end_layout
14052
14053 \begin_layout Standard
14054
14055 \series bold
14056
14057 \backslash
14058 newcolumntype{W}{!{
14059 \backslash
14060 color{green}
14061 \backslash
14062 vline}}
14063 \end_layout
14064
14065 \begin_layout Standard
14066 For Table\InsetSpace ~
14067
14068 \begin_inset LatexCommand ref
14069 reference "tab:Table-with-vertical-colored"
14070
14071 \end_inset
14072
14073  the LaTeX-argument
14074 \end_layout
14075
14076 \begin_layout Standard
14077
14078 \series bold
14079 WcW
14080 \end_layout
14081
14082 \begin_layout Standard
14083 was used for the last column and
14084 \end_layout
14085
14086 \begin_layout Standard
14087
14088 \series bold
14089 Wc
14090 \end_layout
14091
14092 \begin_layout Standard
14093 for the other columns.
14094 \end_layout
14095
14096 \begin_layout Standard
14097 If you want to have several colors, define more column formats.
14098 \end_layout
14099
14100 \begin_layout Standard
14101 \begin_inset Float table
14102 wide false
14103 sideways false
14104 status open
14105
14106 \begin_layout Standard
14107 \begin_inset Caption
14108
14109 \begin_layout Standard
14110 \begin_inset LatexCommand label
14111 name "tab:Table-with-vertical-colored"
14112
14113 \end_inset
14114
14115 Table with colored vertical lines
14116 \end_layout
14117
14118 \end_inset
14119
14120
14121 \end_layout
14122
14123 \begin_layout Standard
14124 \align center
14125 \begin_inset Tabular
14126 <lyxtabular version="3" rows="3" columns="3">
14127 <features>
14128 <column alignment="center" valignment="top" width="0" special="Wc">
14129 <column alignment="center" valignment="top" width="0" special="Wc">
14130 <column alignment="center" valignment="top" width="0" special="WcW">
14131 <row topline="true">
14132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14133 \begin_inset Text
14134
14135 \begin_layout Standard
14136 sd
14137 \end_layout
14138
14139 \end_inset
14140 </cell>
14141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14142 \begin_inset Text
14143
14144 \begin_layout Standard
14145
14146 \end_layout
14147
14148 \end_inset
14149 </cell>
14150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14151 \begin_inset Text
14152
14153 \begin_layout Standard
14154
14155 \end_layout
14156
14157 \end_inset
14158 </cell>
14159 </row>
14160 <row topline="true">
14161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14162 \begin_inset Text
14163
14164 \begin_layout Standard
14165
14166 \end_layout
14167
14168 \end_inset
14169 </cell>
14170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14171 \begin_inset Text
14172
14173 \begin_layout Standard
14174 sd
14175 \end_layout
14176
14177 \end_inset
14178 </cell>
14179 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14180 \begin_inset Text
14181
14182 \begin_layout Standard
14183
14184 \end_layout
14185
14186 \end_inset
14187 </cell>
14188 </row>
14189 <row topline="true" bottomline="true">
14190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14191 \begin_inset Text
14192
14193 \begin_layout Standard
14194
14195 \end_layout
14196
14197 \end_inset
14198 </cell>
14199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14200 \begin_inset Text
14201
14202 \begin_layout Standard
14203
14204 \end_layout
14205
14206 \end_inset
14207 </cell>
14208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14209 \begin_inset Text
14210
14211 \begin_layout Standard
14212 sd
14213 \end_layout
14214
14215 \end_inset
14216 </cell>
14217 </row>
14218 </lyxtabular>
14219
14220 \end_inset
14221
14222
14223 \end_layout
14224
14225 \end_inset
14226
14227
14228 \end_layout
14229
14230 \begin_layout Standard
14231 \begin_inset VSpace bigskip
14232 \end_inset
14233
14234 To color horizontal lines for example with red, like in Table\InsetSpace ~
14235
14236 \begin_inset LatexCommand ref
14237 reference "tab:Table-with-horizontal-colored"
14238
14239 \end_inset
14240
14241 , insert these commands in ERT before the table or table float:
14242 \end_layout
14243
14244 \begin_layout Standard
14245
14246 \series bold
14247
14248 \backslash
14249 let
14250 \backslash
14251 myHlineC
14252 \backslash
14253 hline
14254 \newline
14255
14256 \backslash
14257 renewcommand{
14258 \backslash
14259 hline}{
14260 \backslash
14261 arrayrulecolor{red}
14262 \backslash
14263 myHlineC
14264 \backslash
14265 arrayrulecolor{black}}
14266 \end_layout
14267
14268 \begin_layout Standard
14269 \begin_inset ERT
14270 status collapsed
14271
14272 \begin_layout Standard
14273
14274
14275 \backslash
14276 let
14277 \backslash
14278 myHlineC
14279 \backslash
14280 hline
14281 \end_layout
14282
14283 \begin_layout Standard
14284
14285
14286 \backslash
14287 renewcommand{
14288 \backslash
14289 hline}{
14290 \backslash
14291 arrayrulecolor{red}
14292 \backslash
14293 myHlineC
14294 \backslash
14295 arrayrulecolor{black}}
14296 \end_layout
14297
14298 \end_inset
14299
14300
14301 \begin_inset Float table
14302 wide false
14303 sideways false
14304 status open
14305
14306 \begin_layout Standard
14307 \begin_inset Caption
14308
14309 \begin_layout Standard
14310 \begin_inset LatexCommand label
14311 name "tab:Table-with-horizontal-colored"
14312
14313 \end_inset
14314
14315 Table with colored horizontal lines
14316 \end_layout
14317
14318 \end_inset
14319
14320
14321 \end_layout
14322
14323 \begin_layout Standard
14324 \align center
14325 \begin_inset Tabular
14326 <lyxtabular version="3" rows="3" columns="3">
14327 <features>
14328 <column alignment="center" valignment="top" leftline="true" width="0">
14329 <column alignment="center" valignment="top" leftline="true" width="0">
14330 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14331 <row topline="true">
14332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14333 \begin_inset Text
14334
14335 \begin_layout Standard
14336 sd
14337 \end_layout
14338
14339 \end_inset
14340 </cell>
14341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14342 \begin_inset Text
14343
14344 \begin_layout Standard
14345
14346 \end_layout
14347
14348 \end_inset
14349 </cell>
14350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14351 \begin_inset Text
14352
14353 \begin_layout Standard
14354
14355 \end_layout
14356
14357 \end_inset
14358 </cell>
14359 </row>
14360 <row topline="true">
14361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14362 \begin_inset Text
14363
14364 \begin_layout Standard
14365
14366 \end_layout
14367
14368 \end_inset
14369 </cell>
14370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14371 \begin_inset Text
14372
14373 \begin_layout Standard
14374 sd
14375 \end_layout
14376
14377 \end_inset
14378 </cell>
14379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14380 \begin_inset Text
14381
14382 \begin_layout Standard
14383
14384 \end_layout
14385
14386 \end_inset
14387 </cell>
14388 </row>
14389 <row topline="true" bottomline="true">
14390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14391 \begin_inset Text
14392
14393 \begin_layout Standard
14394
14395 \end_layout
14396
14397 \end_inset
14398 </cell>
14399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14400 \begin_inset Text
14401
14402 \begin_layout Standard
14403
14404 \end_layout
14405
14406 \end_inset
14407 </cell>
14408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14409 \begin_inset Text
14410
14411 \begin_layout Standard
14412 sd
14413 \end_layout
14414
14415 \end_inset
14416 </cell>
14417 </row>
14418 </lyxtabular>
14419
14420 \end_inset
14421
14422
14423 \end_layout
14424
14425 \end_inset
14426
14427
14428 \end_layout
14429
14430 \begin_layout Standard
14431 \begin_inset ERT
14432 status collapsed
14433
14434 \begin_layout Standard
14435
14436
14437 \backslash
14438 pagebreak 
14439 \end_layout
14440
14441 \end_inset
14442
14443
14444 \end_layout
14445
14446 \begin_layout Standard
14447 To return to the default line color black, insert this command in ERT behind
14448  the table or table float:
14449 \end_layout
14450
14451 \begin_layout Standard
14452
14453 \series bold
14454
14455 \backslash
14456 renewcommand{
14457 \backslash
14458 hline}{
14459 \backslash
14460 myHlineC}
14461 \end_layout
14462
14463 \begin_layout Standard
14464 Table\InsetSpace ~
14465
14466 \begin_inset LatexCommand ref
14467 reference "tab:Table-with-colored"
14468
14469 \end_inset
14470
14471  is an example with colored vertical and horizontal lines.
14472 \end_layout
14473
14474 \begin_layout Standard
14475 \begin_inset Float table
14476 wide false
14477 sideways false
14478 status open
14479
14480 \begin_layout Standard
14481 \begin_inset Caption
14482
14483 \begin_layout Standard
14484 \begin_inset LatexCommand label
14485 name "tab:Table-with-colored"
14486
14487 \end_inset
14488
14489 Table with colored lines
14490 \end_layout
14491
14492 \end_inset
14493
14494
14495 \end_layout
14496
14497 \begin_layout Standard
14498 \align center
14499 \begin_inset Tabular
14500 <lyxtabular version="3" rows="3" columns="3">
14501 <features>
14502 <column alignment="center" valignment="top" width="0" special="Wc">
14503 <column alignment="center" valignment="top" width="0" special="Wc">
14504 <column alignment="center" valignment="top" width="0" special="WcW">
14505 <row topline="true">
14506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14507 \begin_inset Text
14508
14509 \begin_layout Standard
14510 sd
14511 \end_layout
14512
14513 \end_inset
14514 </cell>
14515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14516 \begin_inset Text
14517
14518 \begin_layout Standard
14519
14520 \end_layout
14521
14522 \end_inset
14523 </cell>
14524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14525 \begin_inset Text
14526
14527 \begin_layout Standard
14528
14529 \end_layout
14530
14531 \end_inset
14532 </cell>
14533 </row>
14534 <row topline="true">
14535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14536 \begin_inset Text
14537
14538 \begin_layout Standard
14539
14540 \end_layout
14541
14542 \end_inset
14543 </cell>
14544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14545 \begin_inset Text
14546
14547 \begin_layout Standard
14548 sd
14549 \end_layout
14550
14551 \end_inset
14552 </cell>
14553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14554 \begin_inset Text
14555
14556 \begin_layout Standard
14557
14558 \end_layout
14559
14560 \end_inset
14561 </cell>
14562 </row>
14563 <row topline="true" bottomline="true" topspace="default">
14564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14565 \begin_inset Text
14566
14567 \begin_layout Standard
14568
14569 \end_layout
14570
14571 \end_inset
14572 </cell>
14573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14574 \begin_inset Text
14575
14576 \begin_layout Standard
14577
14578 \end_layout
14579
14580 \end_inset
14581 </cell>
14582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14583 \begin_inset Text
14584
14585 \begin_layout Standard
14586 sd
14587 \end_layout
14588
14589 \end_inset
14590 </cell>
14591 </row>
14592 </lyxtabular>
14593
14594 \end_inset
14595
14596
14597 \end_layout
14598
14599 \end_inset
14600
14601
14602 \end_layout
14603
14604 \begin_layout Standard
14605 \begin_inset ERT
14606 status collapsed
14607
14608 \begin_layout Standard
14609
14610
14611 \backslash
14612 renewcommand{
14613 \backslash
14614 hline}{
14615 \backslash
14616 myHlineC}
14617 \end_layout
14618
14619 \end_inset
14620
14621
14622 \end_layout
14623
14624 \begin_layout Standard
14625 \begin_inset ERT
14626 status collapsed
14627
14628 \begin_layout Standard
14629
14630
14631 \backslash
14632 setlength{
14633 \backslash
14634 arrayrulewidth}{0.4pt}
14635 \end_layout
14636
14637 \end_inset
14638
14639
14640 \end_layout
14641
14642 \begin_layout Section
14643 Table Customization
14644 \begin_inset LatexCommand index
14645 name "Table Customization"
14646
14647 \end_inset
14648
14649
14650 \begin_inset LatexCommand index
14651 name "Table ! Customization"
14652
14653 \end_inset
14654
14655
14656 \end_layout
14657
14658 \begin_layout Subsection
14659 Row Spacing
14660 \begin_inset LatexCommand label
14661 name "sub:Row-Spacing"
14662
14663 \end_inset
14664
14665
14666 \begin_inset LatexCommand index
14667 name "Table Customization ! Row Spacing"
14668
14669 \end_inset
14670
14671
14672 \end_layout
14673
14674 \begin_layout Standard
14675 You can add vertical space to table rows in the 
14676 \family sans
14677 Borders
14678 \family default
14679  tab of the table dialog.
14680  You find there three possibilities:
14681 \end_layout
14682
14683 \begin_layout Description
14684 Top\InsetSpace ~
14685 of\InsetSpace ~
14686 row will add space above the characters of the table row.
14687  If the table is a formal table
14688 \begin_inset Foot
14689 status collapsed
14690
14691 \begin_layout Standard
14692 Formal tables are explained in section\InsetSpace ~
14693
14694 \begin_inset LatexCommand ref
14695 reference "sec:Formal-Tables"
14696
14697 \end_inset
14698
14699 .
14700 \end_layout
14701
14702 \end_inset
14703
14704  LyX will insert as default 0.5\InsetSpace \thinspace{}
14705 em space.
14706  For normal tables the inserted space will unfortunately destroy the vertical
14707  table lines as in the following table:
14708 \begin_inset VSpace defskip
14709 \end_inset
14710
14711
14712 \newline
14713
14714 \begin_inset ERT
14715 status collapsed
14716
14717 \begin_layout Standard
14718
14719
14720 \backslash
14721 hspace*{0pt}
14722 \end_layout
14723
14724 \end_inset
14725
14726
14727 \hfill
14728
14729 \begin_inset Tabular
14730 <lyxtabular version="3" rows="3" columns="1">
14731 <features>
14732 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14733 <row topline="true">
14734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14735 \begin_inset Text
14736
14737 \begin_layout Standard
14738 A
14739 \end_layout
14740
14741 \end_inset
14742 </cell>
14743 </row>
14744 <row topline="true" topspace="3mm">
14745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14746 \begin_inset Text
14747
14748 \begin_layout Standard
14749 3\InsetSpace \thinspace{}
14750 mm space top of row
14751 \end_layout
14752
14753 \end_inset
14754 </cell>
14755 </row>
14756 <row topline="true" bottomline="true">
14757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14758 \begin_inset Text
14759
14760 \begin_layout Standard
14761 C
14762 \end_layout
14763
14764 \end_inset
14765 </cell>
14766 </row>
14767 </lyxtabular>
14768
14769 \end_inset
14770
14771
14772 \hfill
14773
14774 \begin_inset ERT
14775 status collapsed
14776
14777 \begin_layout Standard
14778
14779
14780 \backslash
14781 hspace*{0pt}
14782 \end_layout
14783
14784 \end_inset
14785
14786
14787 \begin_inset VSpace defskip
14788 \end_inset
14789
14790
14791 \newline
14792 So inserting space to the top of row for normal tables is only useful when
14793  you don't have vertical lines.
14794 \end_layout
14795
14796 \begin_layout Description
14797 Bottom\InsetSpace ~
14798 of\InsetSpace ~
14799 row will add space below the characters of the table row.
14800  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14801 em space, for
14802  normal tables the default size is 2\InsetSpace \thinspace{}
14803 pt.
14804 \end_layout
14805
14806 \begin_layout Description
14807 Between\InsetSpace ~
14808 rows adds space between the current and the following row.
14809  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14810 em space.
14811  For normal tables the inserted space will unfortunately destroy the vertical
14812  table lines as in the following table:
14813 \begin_inset VSpace defskip
14814 \end_inset
14815
14816
14817 \newline
14818
14819 \begin_inset ERT
14820 status collapsed
14821
14822 \begin_layout Standard
14823
14824
14825 \backslash
14826 hspace*{0pt}
14827 \end_layout
14828
14829 \end_inset
14830
14831
14832 \hfill
14833
14834 \begin_inset Tabular
14835 <lyxtabular version="3" rows="3" columns="1">
14836 <features>
14837 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14838 <row topline="true">
14839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14840 \begin_inset Text
14841
14842 \begin_layout Standard
14843 A
14844 \end_layout
14845
14846 \end_inset
14847 </cell>
14848 </row>
14849 <row topline="true" interlinespace="3mm">
14850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14851 \begin_inset Text
14852
14853 \begin_layout Standard
14854 \begin_inset Formula $\downarrow$
14855 \end_inset
14856
14857  3\InsetSpace \thinspace{}
14858 mm space between row 
14859 \begin_inset Formula $\downarrow$
14860 \end_inset
14861
14862
14863 \end_layout
14864
14865 \end_inset
14866 </cell>
14867 </row>
14868 <row topline="true" bottomline="true">
14869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14870 \begin_inset Text
14871
14872 \begin_layout Standard
14873 \begin_inset Formula $\uparrow$
14874 \end_inset
14875
14876  3\InsetSpace \thinspace{}
14877 mm space between row 
14878 \begin_inset Formula $\uparrow$
14879 \end_inset
14880
14881
14882 \end_layout
14883
14884 \end_inset
14885 </cell>
14886 </row>
14887 </lyxtabular>
14888
14889 \end_inset
14890
14891
14892 \hfill
14893
14894 \begin_inset ERT
14895 status collapsed
14896
14897 \begin_layout Standard
14898
14899
14900 \backslash
14901 hspace*{0pt}
14902 \end_layout
14903
14904 \end_inset
14905
14906
14907 \begin_inset VSpace defskip
14908 \end_inset
14909
14910
14911 \newline
14912 So inserting space between rows for normal tables is only useful when you
14913  don't have vertical lines.
14914 \end_layout
14915
14916 \begin_layout Standard
14917 When you want to add extra height to all cells of all tables, you can do
14918  this with the following preamble line:
14919 \end_layout
14920
14921 \begin_layout Standard
14922
14923 \series bold
14924
14925 \backslash
14926 setlength{
14927 \backslash
14928 extrarowheight}{height}
14929 \end_layout
14930
14931 \begin_layout Standard
14932 But this has the disadvantage that the cell texts are no longer exactly
14933  vertically centered.
14934 \end_layout
14935
14936 \begin_layout Subsection
14937 Special Cell Alignment
14938 \begin_inset LatexCommand index
14939 name "Table Customization ! Special Cell Alignment"
14940
14941 \end_inset
14942
14943
14944 \end_layout
14945
14946 \begin_layout Standard
14947 Sometimes it looks better when the cell entries of a column are aligned
14948  with a special character, e.\InsetSpace \thinspace{}
14949 g.\InsetSpace ~
14950 with the decimal separator as in Table\InsetSpace ~
14951
14952 \begin_inset LatexCommand ref
14953 reference "tab:Table-cells-of"
14954
14955 \end_inset
14956
14957 .
14958 \end_layout
14959
14960 \begin_layout Standard
14961 \begin_inset Float table
14962 placement h
14963 wide false
14964 sideways false
14965 status open
14966
14967 \begin_layout Standard
14968 \begin_inset Caption
14969
14970 \begin_layout Standard
14971 \begin_inset LatexCommand label
14972 name "tab:Table-cells-of"
14973
14974 \end_inset
14975
14976 Table cells of a column aligned with the decimal separator.
14977 \end_layout
14978
14979 \end_inset
14980
14981
14982 \end_layout
14983
14984 \begin_layout Standard
14985 \align center
14986 \begin_inset Tabular
14987 <lyxtabular version="3" rows="4" columns="2">
14988 <features>
14989 <column alignment="right" valignment="top" width="0">
14990 <column alignment="left" valignment="top" width="0" special="@{}l">
14991 <row bottomline="true">
14992 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14993 \begin_inset Text
14994
14995 \begin_layout Standard
14996 heading
14997 \end_layout
14998
14999 \end_inset
15000 </cell>
15001 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15002 \begin_inset Text
15003
15004 \begin_layout Standard
15005
15006 \end_layout
15007
15008 \end_inset
15009 </cell>
15010 </row>
15011 <row>
15012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15013 \begin_inset Text
15014
15015 \begin_layout Standard
15016 12.
15017 \end_layout
15018
15019 \end_inset
15020 </cell>
15021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15022 \begin_inset Text
15023
15024 \begin_layout Standard
15025 6
15026 \end_layout
15027
15028 \end_inset
15029 </cell>
15030 </row>
15031 <row>
15032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15033 \begin_inset Text
15034
15035 \begin_layout Standard
15036 0.
15037 \end_layout
15038
15039 \end_inset
15040 </cell>
15041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15042 \begin_inset Text
15043
15044 \begin_layout Standard
15045 68
15046 \end_layout
15047
15048 \end_inset
15049 </cell>
15050 </row>
15051 <row>
15052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15053 \begin_inset Text
15054
15055 \begin_layout Standard
15056 -123.
15057 \end_layout
15058
15059 \end_inset
15060 </cell>
15061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15062 \begin_inset Text
15063
15064 \begin_layout Standard
15065 0
15066 \end_layout
15067
15068 \end_inset
15069 </cell>
15070 </row>
15071 </lyxtabular>
15072
15073 \end_inset
15074
15075
15076 \end_layout
15077
15078 \end_inset
15079
15080
15081 \end_layout
15082
15083 \begin_layout Standard
15084 This table was created with a 4×2 table.
15085  The heading is a centered multicolumn.
15086  The first column is right-aligned and contains the digits before the decimal
15087  point and the decimal point.
15088  The second column is left aligned and contains the digits after the decimal
15089  point.
15090  To omit the space that is normally between two table columns, use the following
15091  LaTeX-argument for the second column:
15092 \end_layout
15093
15094 \begin_layout Standard
15095
15096 \series bold
15097 @{}l
15098 \end_layout
15099
15100 \begin_layout Standard
15101 Table\InsetSpace ~
15102
15103 \begin_inset LatexCommand ref
15104 reference "tab:Several-table-cell"
15105
15106 \end_inset
15107
15108  shows some example alignments.
15109  For the alignment with the relation sign, you must add the second smallest
15110  math-space at the beginning of the last column to get the correct space
15111  surrounding the relation sign.
15112 \end_layout
15113
15114 \begin_layout Standard
15115 \begin_inset Float table
15116 wide false
15117 sideways false
15118 status open
15119
15120 \begin_layout Standard
15121 \begin_inset Caption
15122
15123 \begin_layout Standard
15124 \begin_inset LatexCommand label
15125 name "tab:Several-table-cell"
15126
15127 \end_inset
15128
15129 Several table cell alignments.
15130 \end_layout
15131
15132 \end_inset
15133
15134
15135 \end_layout
15136
15137 \begin_layout Standard
15138 \align center
15139 \begin_inset Tabular
15140 <lyxtabular version="3" rows="4" columns="6">
15141 <features>
15142 <column alignment="right" valignment="top" width="0">
15143 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15144 <column alignment="right" valignment="top" width="0">
15145 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15146 <column alignment="right" valignment="top" width="0">
15147 <column alignment="left" valignment="top" width="0" special="@{}l">
15148 <row bottomline="true">
15149 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15150 \begin_inset Text
15151
15152 \begin_layout Standard
15153 units
15154 \end_layout
15155
15156 \end_inset
15157 </cell>
15158 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15159 \begin_inset Text
15160
15161 \begin_layout Standard
15162
15163 \end_layout
15164
15165 \end_inset
15166 </cell>
15167 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15168 \begin_inset Text
15169
15170 \begin_layout Standard
15171 exponents
15172 \end_layout
15173
15174 \end_inset
15175 </cell>
15176 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15177 \begin_inset Text
15178
15179 \begin_layout Standard
15180
15181 \end_layout
15182
15183 \end_inset
15184 </cell>
15185 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15186 \begin_inset Text
15187
15188 \begin_layout Standard
15189 relations
15190 \end_layout
15191
15192 \end_inset
15193 </cell>
15194 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15195 \begin_inset Text
15196
15197 \begin_layout Standard
15198
15199 \end_layout
15200
15201 \end_inset
15202 </cell>
15203 </row>
15204 <row>
15205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15206 \begin_inset Text
15207
15208 \begin_layout Standard
15209 12×
15210 \end_layout
15211
15212 \end_inset
15213 </cell>
15214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15215 \begin_inset Text
15216
15217 \begin_layout Standard
15218 24\InsetSpace \thinspace{}
15219 bottles
15220 \end_layout
15221
15222 \end_inset
15223 </cell>
15224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15225 \begin_inset Text
15226
15227 \begin_layout Standard
15228 \begin_inset Formula $10\cdot$
15229 \end_inset
15230
15231
15232 \end_layout
15233
15234 \end_inset
15235 </cell>
15236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15237 \begin_inset Text
15238
15239 \begin_layout Standard
15240 \begin_inset Formula $10^{\mbox{-}17}$
15241 \end_inset
15242
15243
15244 \end_layout
15245
15246 \end_inset
15247 </cell>
15248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15249 \begin_inset Text
15250
15251 \begin_layout Standard
15252 \begin_inset Formula $\Gamma(t)\propto$
15253 \end_inset
15254
15255
15256 \end_layout
15257
15258 \end_inset
15259 </cell>
15260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15261 \begin_inset Text
15262
15263 \begin_layout Standard
15264 \begin_inset Formula $\:\Upsilon(t)$
15265 \end_inset
15266
15267
15268 \end_layout
15269
15270 \end_inset
15271 </cell>
15272 </row>
15273 <row>
15274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15275 \begin_inset Text
15276
15277 \begin_layout Standard
15278 1024×
15279 \end_layout
15280
15281 \end_inset
15282 </cell>
15283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15284 \begin_inset Text
15285
15286 \begin_layout Standard
15287 768\InsetSpace \thinspace{}
15288 Pixels
15289 \end_layout
15290
15291 \end_inset
15292 </cell>
15293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15294 \begin_inset Text
15295
15296 \begin_layout Standard
15297 \begin_inset Formula $5.78\cdot$
15298 \end_inset
15299
15300
15301 \end_layout
15302
15303 \end_inset
15304 </cell>
15305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15306 \begin_inset Text
15307
15308 \begin_layout Standard
15309 \begin_inset Formula $10^{7}$
15310 \end_inset
15311
15312
15313 \end_layout
15314
15315 \end_inset
15316 </cell>
15317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15318 \begin_inset Text
15319
15320 \begin_layout Standard
15321 \begin_inset Formula $A\ne$
15322 \end_inset
15323
15324
15325 \end_layout
15326
15327 \end_inset
15328 </cell>
15329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15330 \begin_inset Text
15331
15332 \begin_layout Standard
15333 \begin_inset Formula $\: B_{\mathrm{red}}$
15334 \end_inset
15335
15336
15337 \end_layout
15338
15339 \end_inset
15340 </cell>
15341 </row>
15342 <row>
15343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15344 \begin_inset Text
15345
15346 \begin_layout Standard
15347 32×
15348 \end_layout
15349
15350 \end_inset
15351 </cell>
15352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15353 \begin_inset Text
15354
15355 \begin_layout Standard
15356 6\InsetSpace \thinspace{}
15357 cm
15358 \end_layout
15359
15360 \end_inset
15361 </cell>
15362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15363 \begin_inset Text
15364
15365 \begin_layout Standard
15366 -
15367 \begin_inset Formula $33.5\cdot$
15368 \end_inset
15369
15370
15371 \end_layout
15372
15373 \end_inset
15374 </cell>
15375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15376 \begin_inset Text
15377
15378 \begin_layout Standard
15379 \begin_inset Formula $10^{4}$
15380 \end_inset
15381
15382
15383 \end_layout
15384
15385 \end_inset
15386 </cell>
15387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15388 \begin_inset Text
15389
15390 \begin_layout Standard
15391 \begin_inset Formula $\sin(\alpha)\ge$
15392 \end_inset
15393
15394
15395 \end_layout
15396
15397 \end_inset
15398 </cell>
15399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15400 \begin_inset Text
15401
15402 \begin_layout Standard
15403 \begin_inset Formula $\:\sin(\beta)$
15404 \end_inset
15405
15406
15407 \end_layout
15408
15409 \end_inset
15410 </cell>
15411 </row>
15412 </lyxtabular>
15413
15414 \end_inset
15415
15416
15417 \end_layout
15418
15419 \end_inset
15420
15421
15422 \end_layout
15423
15424 \begin_layout Standard
15425 \begin_inset VSpace bigskip
15426 \end_inset
15427
15428 There is also the LaTeX-package 
15429 \series bold
15430 dcolumn
15431 \series default
15432
15433 \begin_inset LatexCommand index
15434 name "LaTeX-packages ! dcolumn"
15435
15436 \end_inset
15437
15438  that provides table cell alignments.
15439  But this unfortunately treats the cell entries as math and doesn't allow
15440  formulas in table cells: The first column of Table\InsetSpace ~
15441
15442 \begin_inset LatexCommand ref
15443 reference "tab:Several-table-cell"
15444
15445 \end_inset
15446
15447  will look with 
15448 \series bold
15449 dcolumn
15450 \series default
15451  like the first column in Table\InsetSpace ~
15452
15453 \begin_inset LatexCommand ref
15454 reference "tab:Alignments-when"
15455
15456 \end_inset
15457
15458  and only with some tricks like the expected.
15459  The alignment of the second and third column of Table\InsetSpace ~
15460
15461 \begin_inset LatexCommand ref
15462 reference "tab:Several-table-cell"
15463
15464 \end_inset
15465
15466  is not possible with 
15467 \series bold
15468 dcolumn
15469 \series default
15470 .
15471 \end_layout
15472
15473 \begin_layout Standard
15474 \begin_inset Float table
15475 placement h
15476 wide false
15477 sideways false
15478 status open
15479
15480 \begin_layout Standard
15481 \begin_inset Caption
15482
15483 \begin_layout Standard
15484 \begin_inset LatexCommand label
15485 name "tab:Alignments-when"
15486
15487 \end_inset
15488
15489 Alignments when LaTeX-package dcolumn is used.
15490  For all column alignments tricks have to be used to get the output.
15491 \end_layout
15492
15493 \end_inset
15494
15495
15496 \end_layout
15497
15498 \begin_layout Standard
15499 \align center
15500 \begin_inset Tabular
15501 <lyxtabular version="3" rows="4" columns="3">
15502 <features>
15503 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
15504 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
15505 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
15506 <row bottomline="true">
15507 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15508 \begin_inset Text
15509
15510 \begin_layout Standard
15511 units
15512 \end_layout
15513
15514 \end_inset
15515 </cell>
15516 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15517 \begin_inset Text
15518
15519 \begin_layout Standard
15520 units
15521 \end_layout
15522
15523 \end_inset
15524 </cell>
15525 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15526 \begin_inset Text
15527
15528 \begin_layout Standard
15529 units
15530 \end_layout
15531
15532 \end_inset
15533 </cell>
15534 </row>
15535 <row>
15536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15537 \begin_inset Text
15538
15539 \begin_layout Standard
15540 12x24\InsetSpace \thinspace{}
15541 bottles
15542 \end_layout
15543
15544 \end_inset
15545 </cell>
15546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15547 \begin_inset Text
15548
15549 \begin_layout Standard
15550 12x24\InsetSpace \thinspace{}
15551
15552 \begin_inset Formula $\mbox{bottles}$
15553 \end_inset
15554
15555
15556 \end_layout
15557
15558 \end_inset
15559 </cell>
15560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15561 \begin_inset Text
15562
15563 \begin_layout Standard
15564 12
15565 \begin_inset ERT
15566 status collapsed
15567
15568 \begin_layout Standard
15569
15570
15571 \backslash
15572 times 
15573 \end_layout
15574
15575 \end_inset
15576
15577 24~
15578 \begin_inset Formula $\mbox{bottles}$
15579 \end_inset
15580
15581
15582 \end_layout
15583
15584 \end_inset
15585 </cell>
15586 </row>
15587 <row>
15588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15589 \begin_inset Text
15590
15591 \begin_layout Standard
15592 1024x768\InsetSpace \thinspace{}
15593 Pixels
15594 \end_layout
15595
15596 \end_inset
15597 </cell>
15598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15599 \begin_inset Text
15600
15601 \begin_layout Standard
15602 1024x768\InsetSpace \thinspace{}
15603
15604 \begin_inset Formula $\mbox{Pixels}$
15605 \end_inset
15606
15607
15608 \end_layout
15609
15610 \end_inset
15611 </cell>
15612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15613 \begin_inset Text
15614
15615 \begin_layout Standard
15616 1024
15617 \begin_inset ERT
15618 status collapsed
15619
15620 \begin_layout Standard
15621
15622
15623 \backslash
15624 times 
15625 \end_layout
15626
15627 \end_inset
15628
15629 768~
15630 \begin_inset Formula $\mbox{Pixels}$
15631 \end_inset
15632
15633
15634 \end_layout
15635
15636 \end_inset
15637 </cell>
15638 </row>
15639 <row>
15640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15641 \begin_inset Text
15642
15643 \begin_layout Standard
15644 32x6\InsetSpace \thinspace{}
15645 cm
15646 \end_layout
15647
15648 \end_inset
15649 </cell>
15650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15651 \begin_inset Text
15652
15653 \begin_layout Standard
15654 32x6\InsetSpace \thinspace{}
15655
15656 \begin_inset Formula $\mbox{cm}$
15657 \end_inset
15658
15659
15660 \end_layout
15661
15662 \end_inset
15663 </cell>
15664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15665 \begin_inset Text
15666
15667 \begin_layout Standard
15668 32
15669 \begin_inset ERT
15670 status collapsed
15671
15672 \begin_layout Standard
15673
15674
15675 \backslash
15676 times 
15677 \end_layout
15678
15679 \end_inset
15680
15681 6~
15682 \begin_inset Formula $\mbox{cm}$
15683 \end_inset
15684
15685
15686 \end_layout
15687
15688 \end_inset
15689 </cell>
15690 </row>
15691 </lyxtabular>
15692
15693 \end_inset
15694
15695
15696 \end_layout
15697
15698 \end_inset
15699
15700
15701 \end_layout
15702
15703 \begin_layout Subsection
15704 Customized Cell/Column Format
15705 \begin_inset LatexCommand label
15706 name "sub:Customized-Format"
15707
15708 \end_inset
15709
15710
15711 \begin_inset LatexCommand index
15712 name "Table Customization ! Cell/Column Format"
15713
15714 \end_inset
15715
15716
15717 \end_layout
15718
15719 \begin_layout Standard
15720 Calculating the needed width for spanned columns like in section\InsetSpace ~
15721
15722 \begin_inset LatexCommand ref
15723 reference "sub:Multicolumn-Calculations"
15724
15725 \end_inset
15726
15727  is very annoying if you have several tables with multicolumn cells.
15728  To make life easier, you can define a cell/column format in the preamble,
15729  so that it can be used in all tables of the document.
15730  The format is defined with the command
15731 \end_layout
15732
15733 \begin_layout Standard
15734
15735 \series bold
15736
15737 \backslash
15738 newcolumntype{name of format}[number of arguments]{commands}
15739 \end_layout
15740
15741 \begin_layout Standard
15742 The format name may only consist of one letter.
15743  The letters 
15744 \emph on
15745 b
15746 \emph default
15747
15748 \emph on
15749 c
15750 \emph default
15751
15752 \emph on
15753 l
15754 \emph default
15755
15756 \emph on
15757 m
15758 \emph default
15759
15760 \emph on
15761 p
15762 \emph default
15763  and 
15764 \emph on
15765 r
15766 \emph default
15767  are predefined and cannot be used.
15768  But all letters are allowed as capitals.
15769 \end_layout
15770
15771 \begin_layout Standard
15772 \begin_inset VSpace medskip
15773 \end_inset
15774
15775
15776 \end_layout
15777
15778 \begin_layout Standard
15779 For vertically and horizontally centered multicolumn cells with a fixed
15780  width you can define the cell format
15781 \end_layout
15782
15783 \begin_layout Standard
15784
15785 \series bold
15786
15787 \backslash
15788 newcolumntype{M}[1]{>{
15789 \backslash
15790 centering
15791 \backslash
15792 hspace{0pt}}m{#1}}
15793 \end_layout
15794
15795 \begin_layout Standard
15796 where 
15797 \series bold
15798
15799 \backslash
15800 hspace{0pt}
15801 \series default
15802  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15803
15804 \begin_inset LatexCommand ref
15805 reference "sub:Multiple-Lines-in"
15806
15807 \end_inset
15808
15809 .
15810  Now you can simply enter
15811 \end_layout
15812
15813 \begin_layout Standard
15814
15815 \series bold
15816 M{width}
15817 \end_layout
15818
15819 \begin_layout Standard
15820 as LaTeX-argument in the table dialog to create a multicolumn.
15821 \end_layout
15822
15823 \begin_layout Standard
15824 \begin_inset VSpace bigskip
15825 \end_inset
15826
15827
15828 \end_layout
15829
15830 \begin_layout Standard
15831 For cells spanned by a multicolumn cell, you can define the format
15832 \end_layout
15833
15834 \begin_layout Standard
15835
15836 \series bold
15837
15838 \backslash
15839 newcolumntype{S}[2]{>{
15840 \backslash
15841 centering
15842 \backslash
15843 hspace{0pt}}
15844 \newline
15845
15846 \begin_inset ERT
15847 status collapsed
15848
15849 \begin_layout Standard
15850
15851
15852 \backslash
15853 phantom{
15854 \end_layout
15855
15856 \end_inset
15857
15858
15859 \backslash
15860 newcolumntype{S}[2]
15861 \begin_inset ERT
15862 status collapsed
15863
15864 \begin_layout Standard
15865
15866 }
15867 \end_layout
15868
15869 \end_inset
15870
15871 m{(#1+(2
15872 \backslash
15873 tabcolsep+
15874 \backslash
15875 arrayrulewidth)*(1-#2))/#2}}
15876 \end_layout
15877
15878 \begin_layout Standard
15879 This format uses equation 
15880 \begin_inset LatexCommand eqref
15881 reference "eq:Wgn"
15882
15883 \end_inset
15884
15885  to calculate the needed width so that each spanned cell has the same width.
15886 \end_layout
15887
15888 \begin_layout Standard
15889 You can now enter
15890 \end_layout
15891
15892 \begin_layout Standard
15893
15894 \series bold
15895 S{width of multicolumn cell}{number of spanned columns}
15896 \end_layout
15897
15898 \begin_layout Standard
15899 as LaTeX-argument of the column.
15900 \end_layout
15901
15902 \begin_layout Standard
15903 \begin_inset VSpace bigskip
15904 \end_inset
15905
15906
15907 \end_layout
15908
15909 \begin_layout Standard
15910 For colored columns, you can define
15911 \end_layout
15912
15913 \begin_layout Standard
15914
15915 \series bold
15916
15917 \backslash
15918 newcolumntype{K}[1]{>{
15919 \backslash
15920 columncolor{#1}
15921 \backslash
15922 hspace{0pt}}c}
15923 \end_layout
15924
15925 \begin_layout Standard
15926 The 
15927 \begin_inset Quotes eld
15928 \end_inset
15929
15930 c
15931 \begin_inset Quotes erd
15932 \end_inset
15933
15934  at the end creates a column with a flexible width whose text is horizontally
15935  centered.
15936  You can now enter
15937 \end_layout
15938
15939 \begin_layout Standard
15940
15941 \series bold
15942 K{color name}
15943 \end_layout
15944
15945 \begin_layout Standard
15946 as LaTeX-argument.
15947 \end_layout
15948
15949 \begin_layout Standard
15950 \begin_inset VSpace bigskip
15951 \end_inset
15952
15953
15954 \end_layout
15955
15956 \begin_layout Standard
15957 To create Table\InsetSpace ~
15958
15959 \begin_inset LatexCommand ref
15960 reference "tab:Table-using-user-defined"
15961
15962 \end_inset
15963
15964  use the LaTeX-arguments
15965 \end_layout
15966
15967 \begin_layout Standard
15968
15969 \series bold
15970 M{2.5cm}
15971 \end_layout
15972
15973 \begin_layout Standard
15974 for the first column and the multicolumn,
15975 \end_layout
15976
15977 \begin_layout Standard
15978
15979 \series bold
15980 K{red}
15981 \end_layout
15982
15983 \begin_layout Standard
15984 for the the last column, and
15985 \end_layout
15986
15987 \begin_layout Standard
15988
15989 \series bold
15990 S{2.5cm}{2}
15991 \end_layout
15992
15993 \begin_layout Standard
15994 for the cells in the second column.
15995 \end_layout
15996
15997 \begin_layout Standard
15998 \begin_inset Float table
15999 placement h
16000 wide false
16001 sideways false
16002 status open
16003
16004 \begin_layout Standard
16005 \begin_inset Caption
16006
16007 \begin_layout Standard
16008 \begin_inset LatexCommand label
16009 name "tab:Table-using-user-defined"
16010
16011 \end_inset
16012
16013 Table using user-defined table formats
16014 \end_layout
16015
16016 \end_inset
16017
16018
16019 \end_layout
16020
16021 \begin_layout Standard
16022 \align center
16023 \begin_inset Tabular
16024 <lyxtabular version="3" rows="3" columns="4">
16025 <features>
16026 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16027 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16028 <column alignment="center" valignment="middle" leftline="true" width="0">
16029 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16030 <row topline="true">
16031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16032 \begin_inset Text
16033
16034 \begin_layout Standard
16035 verylongtablecellword
16036 \end_layout
16037
16038 \end_inset
16039 </cell>
16040 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16041 \begin_inset Text
16042
16043 \begin_layout Standard
16044 multiple lines multicolumn
16045 \end_layout
16046
16047 \end_inset
16048 </cell>
16049 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16050 \begin_inset Text
16051
16052 \begin_layout Standard
16053
16054 \end_layout
16055
16056 \end_inset
16057 </cell>
16058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16059 \begin_inset Text
16060
16061 \begin_layout Standard
16062 c
16063 \end_layout
16064
16065 \end_inset
16066 </cell>
16067 </row>
16068 <row topline="true">
16069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16070 \begin_inset Text
16071
16072 \begin_layout Standard
16073 d
16074 \end_layout
16075
16076 \end_inset
16077 </cell>
16078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16079 \begin_inset Text
16080
16081 \begin_layout Standard
16082 e
16083 \end_layout
16084
16085 \end_inset
16086 </cell>
16087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16088 \begin_inset Text
16089
16090 \begin_layout Standard
16091 f
16092 \end_layout
16093
16094 \end_inset
16095 </cell>
16096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16097 \begin_inset Text
16098
16099 \begin_layout Standard
16100 g
16101 \end_layout
16102
16103 \end_inset
16104 </cell>
16105 </row>
16106 <row topline="true" bottomline="true">
16107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16108 \begin_inset Text
16109
16110 \begin_layout Standard
16111 h
16112 \end_layout
16113
16114 \end_inset
16115 </cell>
16116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16117 \begin_inset Text
16118
16119 \begin_layout Standard
16120 i
16121 \end_layout
16122
16123 \end_inset
16124 </cell>
16125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16126 \begin_inset Text
16127
16128 \begin_layout Standard
16129 j
16130 \end_layout
16131
16132 \end_inset
16133 </cell>
16134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16135 \begin_inset Text
16136
16137 \begin_layout Standard
16138 k
16139 \end_layout
16140
16141 \end_inset
16142 </cell>
16143 </row>
16144 </lyxtabular>
16145
16146 \end_inset
16147
16148
16149 \end_layout
16150
16151 \end_inset
16152
16153
16154 \end_layout
16155
16156 \begin_layout Subsection
16157 Line Thickness
16158 \begin_inset LatexCommand label
16159 name "sub:Line-Thickness"
16160
16161 \end_inset
16162
16163
16164 \begin_inset LatexCommand index
16165 name "Table Customization ! Line Thickness"
16166
16167 \end_inset
16168
16169
16170 \end_layout
16171
16172 \begin_layout Standard
16173 The line thickness for all lines in a table can be adjusted with the length
16174  
16175 \series bold
16176
16177 \backslash
16178 arrayrulewidth
16179 \series default
16180 .
16181  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16182 pt, like in Table\InsetSpace ~
16183
16184 \begin_inset LatexCommand ref
16185 reference "tab:Table-with-1.5"
16186
16187 \end_inset
16188
16189 , insert the command
16190 \end_layout
16191
16192 \begin_layout Standard
16193
16194 \series bold
16195
16196 \backslash
16197 setlength{
16198 \backslash
16199 arrayrulewidth}{1.5pt}
16200 \end_layout
16201
16202 \begin_layout Standard
16203 in ERT before the table or table float.
16204  The changed thickness is valid for all following tables.
16205  To use the default value again, set 
16206 \series bold
16207
16208 \backslash
16209 arrayrulewidth
16210 \series default
16211  to 0.4\InsetSpace \thinspace{}
16212 pt in ERT behind the table or table float.
16213 \end_layout
16214
16215 \begin_layout Standard
16216 \begin_inset ERT
16217 status collapsed
16218
16219 \begin_layout Standard
16220
16221
16222 \backslash
16223 setlength{
16224 \backslash
16225 arrayrulewidth}{1.5pt}
16226 \end_layout
16227
16228 \end_inset
16229
16230
16231 \begin_inset Float table
16232 wide false
16233 sideways false
16234 status open
16235
16236 \begin_layout Standard
16237 \begin_inset Caption
16238
16239 \begin_layout Standard
16240 \begin_inset LatexCommand label
16241 name "tab:Table-with-1.5"
16242
16243 \end_inset
16244
16245 Table with 1.5\InsetSpace \thinspace{}
16246 pt thick lines
16247 \end_layout
16248
16249 \end_inset
16250
16251
16252 \end_layout
16253
16254 \begin_layout Standard
16255 \align center
16256 \begin_inset Tabular
16257 <lyxtabular version="3" rows="3" columns="3">
16258 <features>
16259 <column alignment="center" valignment="top" leftline="true" width="0">
16260 <column alignment="center" valignment="top" leftline="true" width="0">
16261 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16262 <row topline="true">
16263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16264 \begin_inset Text
16265
16266 \begin_layout Standard
16267 sd
16268 \end_layout
16269
16270 \end_inset
16271 </cell>
16272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16273 \begin_inset Text
16274
16275 \begin_layout Standard
16276
16277 \end_layout
16278
16279 \end_inset
16280 </cell>
16281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16282 \begin_inset Text
16283
16284 \begin_layout Standard
16285
16286 \end_layout
16287
16288 \end_inset
16289 </cell>
16290 </row>
16291 <row topline="true">
16292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16293 \begin_inset Text
16294
16295 \begin_layout Standard
16296
16297 \end_layout
16298
16299 \end_inset
16300 </cell>
16301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16302 \begin_inset Text
16303
16304 \begin_layout Standard
16305 sd
16306 \end_layout
16307
16308 \end_inset
16309 </cell>
16310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16311 \begin_inset Text
16312
16313 \begin_layout Standard
16314
16315 \end_layout
16316
16317 \end_inset
16318 </cell>
16319 </row>
16320 <row topline="true" bottomline="true">
16321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16322 \begin_inset Text
16323
16324 \begin_layout Standard
16325
16326 \end_layout
16327
16328 \end_inset
16329 </cell>
16330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16331 \begin_inset Text
16332
16333 \begin_layout Standard
16334
16335 \end_layout
16336
16337 \end_inset
16338 </cell>
16339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16340 \begin_inset Text
16341
16342 \begin_layout Standard
16343 sd
16344 \end_layout
16345
16346 \end_inset
16347 </cell>
16348 </row>
16349 </lyxtabular>
16350
16351 \end_inset
16352
16353
16354 \end_layout
16355
16356 \end_inset
16357
16358
16359 \begin_inset ERT
16360 status collapsed
16361
16362 \begin_layout Standard
16363
16364
16365 \backslash
16366 setlength{
16367 \backslash
16368 arrayrulewidth}{0.4pt}
16369 \end_layout
16370
16371 \end_inset
16372
16373
16374 \end_layout
16375
16376 \begin_layout Standard
16377 \begin_inset VSpace bigskip
16378 \end_inset
16379
16380 To set the line thickness to 1.5\InsetSpace \thinspace{}
16381 pt only for horizontal lines, like in Table\InsetSpace ~
16382
16383 \begin_inset LatexCommand ref
16384 reference "tab:Table-with-horizontal"
16385
16386 \end_inset
16387
16388 , insert these commands in ERT before the table or table float:
16389 \end_layout
16390
16391 \begin_layout Standard
16392
16393 \series bold
16394
16395 \backslash
16396 let
16397 \backslash
16398 myHline
16399 \backslash
16400 hline
16401 \newline
16402
16403 \backslash
16404 renewcommand{
16405 \backslash
16406 hline}
16407 \newline
16408  {
16409 \backslash
16410 noalign{
16411 \backslash
16412 global
16413 \backslash
16414 arrayrulewidth 1.5pt}
16415 \newline
16416   
16417 \backslash
16418 myHline
16419 \backslash
16420 noalign{
16421 \backslash
16422 global
16423 \backslash
16424 arrayrulewidth 0.4pt}}
16425 \end_layout
16426
16427 \begin_layout Standard
16428 To return to the default line thickness, insert this command in ERT behind
16429  the table or table float:
16430 \end_layout
16431
16432 \begin_layout Standard
16433
16434 \series bold
16435
16436 \backslash
16437 renewcommand{
16438 \backslash
16439 hline}{
16440 \backslash
16441 myHline}
16442 \end_layout
16443
16444 \begin_layout Standard
16445 \begin_inset ERT
16446 status collapsed
16447
16448 \begin_layout Standard
16449
16450
16451 \backslash
16452 let
16453 \backslash
16454 myHline
16455 \backslash
16456 hline
16457 \end_layout
16458
16459 \begin_layout Standard
16460
16461
16462 \backslash
16463 renewcommand{
16464 \backslash
16465 hline}
16466 \end_layout
16467
16468 \begin_layout Standard
16469
16470  {
16471 \backslash
16472 noalign{
16473 \backslash
16474 global
16475 \backslash
16476 arrayrulewidth 1.5pt}
16477 \end_layout
16478
16479 \begin_layout Standard
16480
16481   
16482 \backslash
16483 myHline
16484 \backslash
16485 noalign{
16486 \backslash
16487 global
16488 \backslash
16489 arrayrulewidth 0.4pt}}
16490 \end_layout
16491
16492 \end_inset
16493
16494
16495 \begin_inset Float table
16496 wide false
16497 sideways false
16498 status open
16499
16500 \begin_layout Standard
16501 \begin_inset Caption
16502
16503 \begin_layout Standard
16504 \begin_inset LatexCommand label
16505 name "tab:Table-with-horizontal"
16506
16507 \end_inset
16508
16509 Table with 1.5\InsetSpace \thinspace{}
16510 pt thick horizontal lines
16511 \end_layout
16512
16513 \end_inset
16514
16515
16516 \end_layout
16517
16518 \begin_layout Standard
16519 \align center
16520 \begin_inset Tabular
16521 <lyxtabular version="3" rows="3" columns="3">
16522 <features>
16523 <column alignment="center" valignment="top" leftline="true" width="0">
16524 <column alignment="center" valignment="top" leftline="true" width="0">
16525 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16526 <row topline="true">
16527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16528 \begin_inset Text
16529
16530 \begin_layout Standard
16531 sd
16532 \end_layout
16533
16534 \end_inset
16535 </cell>
16536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16537 \begin_inset Text
16538
16539 \begin_layout Standard
16540
16541 \end_layout
16542
16543 \end_inset
16544 </cell>
16545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16546 \begin_inset Text
16547
16548 \begin_layout Standard
16549
16550 \end_layout
16551
16552 \end_inset
16553 </cell>
16554 </row>
16555 <row topline="true">
16556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16557 \begin_inset Text
16558
16559 \begin_layout Standard
16560
16561 \end_layout
16562
16563 \end_inset
16564 </cell>
16565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16566 \begin_inset Text
16567
16568 \begin_layout Standard
16569 sd
16570 \end_layout
16571
16572 \end_inset
16573 </cell>
16574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16575 \begin_inset Text
16576
16577 \begin_layout Standard
16578
16579 \end_layout
16580
16581 \end_inset
16582 </cell>
16583 </row>
16584 <row topline="true" bottomline="true">
16585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16586 \begin_inset Text
16587
16588 \begin_layout Standard
16589
16590 \end_layout
16591
16592 \end_inset
16593 </cell>
16594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16595 \begin_inset Text
16596
16597 \begin_layout Standard
16598
16599 \end_layout
16600
16601 \end_inset
16602 </cell>
16603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16604 \begin_inset Text
16605
16606 \begin_layout Standard
16607 sd
16608 \end_layout
16609
16610 \end_inset
16611 </cell>
16612 </row>
16613 </lyxtabular>
16614
16615 \end_inset
16616
16617
16618 \end_layout
16619
16620 \end_inset
16621
16622
16623 \begin_inset ERT
16624 status collapsed
16625
16626 \begin_layout Standard
16627
16628
16629 \backslash
16630 renewcommand{
16631 \backslash
16632 hline}{
16633 \backslash
16634 myHline}
16635 \end_layout
16636
16637 \end_inset
16638
16639
16640 \end_layout
16641
16642 \begin_layout Standard
16643 \begin_inset VSpace bigskip
16644 \end_inset
16645
16646 To set the line thickness to 1.5\InsetSpace \thinspace{}
16647 pt only for vertical lines, create the following
16648  column format in the document preamble, according to the description in
16649  section\InsetSpace ~
16650
16651 \begin_inset LatexCommand ref
16652 reference "sub:Customized-Format"
16653
16654 \end_inset
16655
16656 :
16657 \end_layout
16658
16659 \begin_layout Standard
16660
16661 \series bold
16662
16663 \backslash
16664 newcolumntype{V}{!{
16665 \backslash
16666 vrule width 1.5pt}}
16667 \end_layout
16668
16669 \begin_layout Standard
16670 For Table\InsetSpace ~
16671
16672 \begin_inset LatexCommand ref
16673 reference "tab:Table-with-vertical"
16674
16675 \end_inset
16676
16677  the LaTeX-argument
16678 \end_layout
16679
16680 \begin_layout Standard
16681
16682 \series bold
16683 VcV
16684 \end_layout
16685
16686 \begin_layout Standard
16687 was used for the last column and
16688 \end_layout
16689
16690 \begin_layout Standard
16691
16692 \series bold
16693 Vc
16694 \end_layout
16695
16696 \begin_layout Standard
16697 for the other columns.
16698 \end_layout
16699
16700 \begin_layout Standard
16701 \begin_inset Float table
16702 wide false
16703 sideways false
16704 status open
16705
16706 \begin_layout Standard
16707 \begin_inset Caption
16708
16709 \begin_layout Standard
16710 \begin_inset LatexCommand label
16711 name "tab:Table-with-vertical"
16712
16713 \end_inset
16714
16715 Table with 1.5\InsetSpace \thinspace{}
16716 pt thick vertical lines
16717 \end_layout
16718
16719 \end_inset
16720
16721
16722 \end_layout
16723
16724 \begin_layout Standard
16725 \align center
16726 \begin_inset Tabular
16727 <lyxtabular version="3" rows="3" columns="3">
16728 <features>
16729 <column alignment="center" valignment="top" width="0" special="Vc">
16730 <column alignment="center" valignment="top" width="0" special="Vc">
16731 <column alignment="center" valignment="top" width="0" special="VcV">
16732 <row topline="true">
16733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16734 \begin_inset Text
16735
16736 \begin_layout Standard
16737 sd
16738 \end_layout
16739
16740 \end_inset
16741 </cell>
16742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16743 \begin_inset Text
16744
16745 \begin_layout Standard
16746
16747 \end_layout
16748
16749 \end_inset
16750 </cell>
16751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16752 \begin_inset Text
16753
16754 \begin_layout Standard
16755
16756 \end_layout
16757
16758 \end_inset
16759 </cell>
16760 </row>
16761 <row topline="true">
16762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16763 \begin_inset Text
16764
16765 \begin_layout Standard
16766
16767 \end_layout
16768
16769 \end_inset
16770 </cell>
16771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16772 \begin_inset Text
16773
16774 \begin_layout Standard
16775 sd
16776 \end_layout
16777
16778 \end_inset
16779 </cell>
16780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16781 \begin_inset Text
16782
16783 \begin_layout Standard
16784
16785 \end_layout
16786
16787 \end_inset
16788 </cell>
16789 </row>
16790 <row topline="true" bottomline="true">
16791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16792 \begin_inset Text
16793
16794 \begin_layout Standard
16795
16796 \end_layout
16797
16798 \end_inset
16799 </cell>
16800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16801 \begin_inset Text
16802
16803 \begin_layout Standard
16804
16805 \end_layout
16806
16807 \end_inset
16808 </cell>
16809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16810 \begin_inset Text
16811
16812 \begin_layout Standard
16813 sd
16814 \end_layout
16815
16816 \end_inset
16817 </cell>
16818 </row>
16819 </lyxtabular>
16820
16821 \end_inset
16822
16823
16824 \end_layout
16825
16826 \end_inset
16827
16828
16829 \end_layout
16830
16831 \begin_layout Subsection
16832 Dashed Lines
16833 \begin_inset LatexCommand index
16834 name "Table Customization ! Dashed Lines"
16835
16836 \end_inset
16837
16838
16839 \end_layout
16840
16841 \begin_layout Standard
16842 \begin_inset ERT
16843 status collapsed
16844
16845 \begin_layout Standard
16846
16847
16848 \backslash
16849 ifarydshln
16850 \end_layout
16851
16852 \end_inset
16853
16854
16855 \begin_inset Note Note
16856 status open
16857
16858 \begin_layout Standard
16859 The following section will only be displayed when you have the LaTeX-package
16860  
16861 \series bold
16862 arydshln
16863 \series default
16864  is installed.
16865 \end_layout
16866
16867 \end_inset
16868
16869
16870 \end_layout
16871
16872 \begin_layout Standard
16873 \begin_inset Float table
16874 placement H
16875 wide false
16876 sideways false
16877 status open
16878
16879 \begin_layout Standard
16880 \begin_inset Caption
16881
16882 \begin_layout Standard
16883 \begin_inset LatexCommand label
16884 name "tab:Table-with-dashed"
16885
16886 \end_inset
16887
16888 Table with dashed lines
16889 \end_layout
16890
16891 \end_inset
16892
16893
16894 \end_layout
16895
16896 \begin_layout Standard
16897 \align center
16898 \begin_inset Tabular
16899 <lyxtabular version="3" rows="5" columns="5">
16900 <features>
16901 <column alignment="center" valignment="top" leftline="true" width="0">
16902 <column alignment="center" valignment="top" leftline="true" width="0">
16903 <column alignment="center" valignment="top" width="0" special=":c">
16904 <column alignment="center" valignment="top" leftline="true" width="0">
16905 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16906 <row topline="true" bottomline="true">
16907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16908 \begin_inset Text
16909
16910 \begin_layout Standard
16911 a
16912 \end_layout
16913
16914 \end_inset
16915 </cell>
16916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16917 \begin_inset Text
16918
16919 \begin_layout Standard
16920 b
16921 \end_layout
16922
16923 \end_inset
16924 </cell>
16925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16926 \begin_inset Text
16927
16928 \begin_layout Standard
16929 c
16930 \end_layout
16931
16932 \end_inset
16933 </cell>
16934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16935 \begin_inset Text
16936
16937 \begin_layout Standard
16938 d
16939 \end_layout
16940
16941 \end_inset
16942 </cell>
16943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16944 \begin_inset Text
16945
16946 \begin_layout Standard
16947 e
16948 \end_layout
16949
16950 \end_inset
16951 </cell>
16952 </row>
16953 <row topline="true">
16954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16955 \begin_inset Text
16956
16957 \begin_layout Standard
16958 f
16959 \end_layout
16960
16961 \end_inset
16962 </cell>
16963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16964 \begin_inset Text
16965
16966 \begin_layout Standard
16967 g
16968 \end_layout
16969
16970 \end_inset
16971 </cell>
16972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16973 \begin_inset Text
16974
16975 \begin_layout Standard
16976 h
16977 \end_layout
16978
16979 \end_inset
16980 </cell>
16981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16982 \begin_inset Text
16983
16984 \begin_layout Standard
16985 i
16986 \end_layout
16987
16988 \end_inset
16989 </cell>
16990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16991 \begin_inset Text
16992
16993 \begin_layout Standard
16994 j
16995 \end_layout
16996
16997 \end_inset
16998 </cell>
16999 </row>
17000 <row>
17001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17002 \begin_inset Text
17003
17004 \begin_layout Standard
17005 \begin_inset ERT
17006 status collapsed
17007
17008 \begin_layout Standard
17009
17010
17011 \backslash
17012 hdashline 
17013 \end_layout
17014
17015 \end_inset
17016
17017 k
17018 \end_layout
17019
17020 \end_inset
17021 </cell>
17022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17023 \begin_inset Text
17024
17025 \begin_layout Standard
17026 l
17027 \end_layout
17028
17029 \end_inset
17030 </cell>
17031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17032 \begin_inset Text
17033
17034 \begin_layout Standard
17035 m
17036 \end_layout
17037
17038 \end_inset
17039 </cell>
17040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17041 \begin_inset Text
17042
17043 \begin_layout Standard
17044 n
17045 \end_layout
17046
17047 \end_inset
17048 </cell>
17049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17050 \begin_inset Text
17051
17052 \begin_layout Standard
17053 o
17054 \end_layout
17055
17056 \end_inset
17057 </cell>
17058 </row>
17059 <row topline="true">
17060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17061 \begin_inset Text
17062
17063 \begin_layout Standard
17064 \begin_inset ERT
17065 status collapsed
17066
17067 \begin_layout Standard
17068
17069
17070 \backslash
17071 cdashline{4-5}
17072 \end_layout
17073
17074 \end_inset
17075
17076 p
17077 \end_layout
17078
17079 \end_inset
17080 </cell>
17081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17082 \begin_inset Text
17083
17084 \begin_layout Standard
17085 q
17086 \end_layout
17087
17088 \end_inset
17089 </cell>
17090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17091 \begin_inset Text
17092
17093 \begin_layout Standard
17094 r
17095 \end_layout
17096
17097 \end_inset
17098 </cell>
17099 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17100 \begin_inset Text
17101
17102 \begin_layout Standard
17103 s
17104 \end_layout
17105
17106 \end_inset
17107 </cell>
17108 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17109 \begin_inset Text
17110
17111 \begin_layout Standard
17112
17113 \end_layout
17114
17115 \end_inset
17116 </cell>
17117 </row>
17118 <row topline="true" bottomline="true">
17119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17120 \begin_inset Text
17121
17122 \begin_layout Standard
17123 t
17124 \end_layout
17125
17126 \end_inset
17127 </cell>
17128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17129 \begin_inset Text
17130
17131 \begin_layout Standard
17132 u
17133 \end_layout
17134
17135 \end_inset
17136 </cell>
17137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17138 \begin_inset Text
17139
17140 \begin_layout Standard
17141 v
17142 \end_layout
17143
17144 \end_inset
17145 </cell>
17146 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17147 \begin_inset Text
17148
17149 \begin_layout Standard
17150 w
17151 \end_layout
17152
17153 \end_inset
17154 </cell>
17155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17156 \begin_inset Text
17157
17158 \begin_layout Standard
17159 x
17160 \end_layout
17161
17162 \end_inset
17163 </cell>
17164 </row>
17165 </lyxtabular>
17166
17167 \end_inset
17168
17169
17170 \end_layout
17171
17172 \end_inset
17173
17174
17175 \end_layout
17176
17177 \begin_layout Standard
17178 LyX doesn't natively support dashed lines, so you have to use ERT.
17179  As prerequisite the LaTeX-package 
17180 \series bold
17181 arydshln
17182 \series default
17183
17184 \begin_inset LatexCommand index
17185 name "LaTeX-packages ! arydshln"
17186
17187 \end_inset
17188
17189  must be loaded in the document preamble with the command
17190 \end_layout
17191
17192 \begin_layout Standard
17193
17194 \series bold
17195
17196 \backslash
17197 usepackage{arydshln}
17198 \end_layout
17199
17200 \begin_layout Standard
17201 To make a vertical line dashed, enter the colon 
17202 \begin_inset Quotes eld
17203 \end_inset
17204
17205 :
17206 \begin_inset Quotes erd
17207 \end_inset
17208
17209  together with the character for the horizontal alignment as LaTeX-argument
17210  in the table cell dialog.
17211 \end_layout
17212
17213 \begin_layout Standard
17214 For a horizontal dashed line add the command
17215 \end_layout
17216
17217 \begin_layout Standard
17218
17219 \series bold
17220
17221 \backslash
17222 hdashline
17223 \end_layout
17224
17225 \begin_layout Standard
17226 in ERT as first element of the first cell in the table row.
17227 \end_layout
17228
17229 \begin_layout Standard
17230 For dashed multicolumn lines use the command
17231 \end_layout
17232
17233 \begin_layout Standard
17234
17235 \series bold
17236
17237 \backslash
17238 cdashline{line number
17239 \series default
17240 }
17241 \end_layout
17242
17243 \begin_layout Standard
17244 in ERT as first element of the first cell in the table row.
17245  If you have for example a multicolumn spanning over columns 2 to 4 and
17246  you want to have a dashed line above, add the command
17247 \end_layout
17248
17249 \begin_layout Standard
17250
17251 \series bold
17252
17253 \backslash
17254 cdashline{2-4}
17255 \end_layout
17256
17257 \begin_layout Standard
17258 as first element of the first cell in the row of the multicolumn.
17259 \end_layout
17260
17261 \begin_layout Standard
17262 \begin_inset VSpace bigskip
17263 \end_inset
17264
17265
17266 \end_layout
17267
17268 \begin_layout Standard
17269 Table\InsetSpace ~
17270
17271 \begin_inset LatexCommand ref
17272 reference "tab:Table-with-dashed"
17273
17274 \end_inset
17275
17276  was created using 
17277 \begin_inset Quotes eld
17278 \end_inset
17279
17280
17281 \series bold
17282 :c
17283 \series default
17284
17285 \begin_inset Quotes erd
17286 \end_inset
17287
17288  as LaTeX-argument of the third column.
17289  The ERT command 
17290 \series bold
17291
17292 \backslash
17293 hdashline
17294 \series default
17295  was inserted to the first cell of the third row and the the ERT command
17296 \newline
17297
17298  
17299 \series bold
17300
17301 \backslash
17302 cdashline{4-5}
17303 \series default
17304  was inserted to the first cell of the fourth row.
17305 \end_layout
17306
17307 \begin_layout Standard
17308 \begin_inset Note Greyedout
17309 status open
17310
17311 \begin_layout Standard
17312
17313 \series bold
17314 Note:
17315 \series default
17316  The used LaTeX-package 
17317 \series bold
17318 arydshln
17319 \series default
17320  is apparently not compatible with the LaTeX-package 
17321 \series bold
17322 colortbl
17323 \series default
17324
17325 \begin_inset LatexCommand index
17326 name "LaTeX-packages ! colortbl"
17327
17328 \end_inset
17329
17330  that is used for colored tables in section\InsetSpace ~
17331
17332 \begin_inset LatexCommand ref
17333 reference "sec:Colored-Tables"
17334
17335 \end_inset
17336
17337 .
17338  That means colored tables cannot have dashed lines.
17339 \end_layout
17340
17341 \end_inset
17342
17343
17344 \end_layout
17345
17346 \begin_layout Standard
17347 \begin_inset ERT
17348 status collapsed
17349
17350 \begin_layout Standard
17351
17352
17353 \backslash
17354 else
17355 \end_layout
17356
17357 \end_inset
17358
17359
17360 \begin_inset Note Note
17361 status open
17362
17363 \begin_layout Standard
17364 The following will be displayed when the LaTeX-package 
17365 \series bold
17366 arydshln
17367 \series default
17368  is not installed:
17369 \end_layout
17370
17371 \end_inset
17372
17373
17374 \end_layout
17375
17376 \begin_layout Standard
17377 You need to install the package 
17378 \series bold
17379 arydshln
17380 \series default
17381  to see the contents of this section in the output.
17382 \end_layout
17383
17384 \begin_layout Standard
17385 \begin_inset ERT
17386 status collapsed
17387
17388 \begin_layout Standard
17389
17390
17391 \backslash
17392 fi
17393 \end_layout
17394
17395 \end_inset
17396
17397
17398 \end_layout
17399
17400 \begin_layout Chapter
17401 Floats
17402 \begin_inset LatexCommand index
17403 name "Floats"
17404
17405 \end_inset
17406
17407
17408 \begin_inset LatexCommand label
17409 name "cha:Floats"
17410
17411 \end_inset
17412
17413
17414 \end_layout
17415
17416 \begin_layout Section
17417 Introduction
17418 \begin_inset LatexCommand label
17419 name "sec:FloatIntroduction"
17420
17421 \end_inset
17422
17423
17424 \begin_inset LatexCommand index
17425 name "Floats ! Introduction"
17426
17427 \end_inset
17428
17429
17430 \end_layout
17431
17432 \begin_layout Standard
17433 A float is a block of text associated with some sort of label, which doesn't
17434  have a fixed location.
17435  It can 
17436 \begin_inset Quotes eld
17437 \end_inset
17438
17439 float
17440 \begin_inset Quotes erd
17441 \end_inset
17442
17443  forward or backward a page or two, to wherever it fits best.
17444  
17445 \family sans
17446 Footnotes
17447 \family default
17448  and 
17449 \family sans
17450 Margin\InsetSpace ~
17451 Notes
17452 \family default
17453  are also floats, because they can float to the next page when there are
17454  too many notes at the page.
17455 \end_layout
17456
17457 \begin_layout Standard
17458 Floats allow a high quality layout.
17459  Images and tables can evenly be spread to the pages to avoid white space
17460  and pages without text.
17461  As the floating often destroys the context between the text and the image/table
17462 , every float can be referenced in the text.
17463  Floats are therefore numbered.
17464  Referencing is described in section\InsetSpace ~
17465
17466 \begin_inset LatexCommand ref
17467 reference "sec:Referencing-Floats"
17468
17469 \end_inset
17470
17471 .
17472 \end_layout
17473
17474 \begin_layout Standard
17475 To insert a float, use the menu 
17476 \family sans
17477 Insert\SpecialChar \menuseparator
17478 Float
17479 \family default
17480 .
17481  This inserts the 
17482 \family sans
17483 Caption
17484 \family default
17485  inset, a box with a label.
17486  The label will automatically be translated to the document language in
17487  the output.
17488  Behind the label you can insert the caption text.
17489  The image or table is inserted above or below the caption in a separate
17490  paragraph within the float.
17491  More about the caption placement is described in section\InsetSpace ~
17492
17493 \begin_inset LatexCommand ref
17494 reference "sec:Caption-Placement"
17495
17496 \end_inset
17497
17498 .
17499  To keep your LyX-document readable, you can open and close the float box
17500  by left-clicking on the box label.
17501  A closed float box looks like this: 
17502 \begin_inset Graphics
17503         filename clipart/floatQt4.png
17504         scale 70
17505
17506 \end_inset
17507
17508  -- a gray button with a red label.
17509 \end_layout
17510
17511 \begin_layout Standard
17512 It is recommended to insert floats as a separate paragraph to avoid possible
17513  LaTeX-errors that can occur when the surrounding text is specially formatted.
17514 \end_layout
17515
17516 \begin_layout Standard
17517 Existing figures or tables can be put into a float by marking them and then
17518  pressing the corresponding toolbar button for a new float.
17519 \end_layout
17520
17521 \begin_layout Section
17522 Float Types
17523 \end_layout
17524
17525 \begin_layout Standard
17526 Besides figure and table floats that are described in section\InsetSpace ~
17527
17528 \begin_inset LatexCommand ref
17529 reference "sec:Figure-Floats"
17530
17531 \end_inset
17532
17533  and 
17534 \begin_inset LatexCommand ref
17535 reference "sec:Table-Floats"
17536
17537 \end_inset
17538
17539 , respectively, LyX offers the float types 
17540 \series bold
17541 Algorithm
17542 \series default
17543  and 
17544 \series bold
17545 Text\InsetSpace ~
17546 Wrap\InsetSpace ~
17547 Float
17548 \series default
17549 .
17550 \end_layout
17551
17552 \begin_layout Subsection
17553 Algorithm Floats
17554 \begin_inset LatexCommand index
17555 name "Floats ! Algorithms"
17556
17557 \end_inset
17558
17559
17560 \end_layout
17561
17562 \begin_layout Standard
17563 \begin_inset Float algorithm
17564 placement h
17565 wide false
17566 sideways false
17567 status open
17568
17569 \begin_layout Standard
17570 \begin_inset Caption
17571
17572 \begin_layout Standard
17573 \begin_inset LatexCommand label
17574 name "alg:Example-Algorithm-float"
17575
17576 \end_inset
17577
17578 Example Algorithm float
17579 \end_layout
17580
17581 \end_inset
17582
17583
17584 \end_layout
17585
17586 \begin_layout LyX-Code
17587 for I in 1..N loop
17588 \newline
17589  Sum:= Sum + A(I); /*senseless comment*/
17590 \newline
17591 end loop
17592 \begin_inset VSpace -4mm
17593 \end_inset
17594
17595
17596 \end_layout
17597
17598 \end_inset
17599
17600
17601 \end_layout
17602
17603 \begin_layout Standard
17604 This float type is inserted with the menu 
17605 \family sans
17606 Insert\SpecialChar \menuseparator
17607 Floats\SpecialChar \menuseparator
17608 Algorithm
17609 \family default
17610 .
17611  It is used for program codes and descriptions of algorithms.
17612  A possible environment for algorithms is the 
17613 \family sans
17614 LyX-Code
17615 \family default
17616 , described in LyX's 
17617 \emph on
17618 Userguide
17619 \emph default
17620 .
17621  Algorithm\InsetSpace ~
17622
17623 \begin_inset LatexCommand ref
17624 reference "alg:Example-Algorithm-float"
17625
17626 \end_inset
17627
17628  is an example of an algorithm float where -4\InsetSpace \thinspace{}
17629 mm vertical space was added
17630  at the end of the float to have the bottom rule exactly below the last
17631  text line.
17632 \end_layout
17633
17634 \begin_layout Standard
17635 The float label is not automatically translated into the document language.
17636  If your document is not in English, you have to do this manually by adding
17637  the following line to the document preamble
17638 \series bold
17639 :
17640 \end_layout
17641
17642 \begin_layout Standard
17643
17644 \series bold
17645
17646 \backslash
17647 floatname{algorithm}{your\InsetSpace ~
17648 name}
17649 \end_layout
17650
17651 \begin_layout Standard
17652
17653 \family sans
17654 your\InsetSpace ~
17655 name
17656 \family default
17657  is the word 
17658 \begin_inset Quotes eld
17659 \end_inset
17660
17661
17662 \emph on
17663 algorithm
17664 \emph default
17665
17666 \begin_inset Quotes erd
17667 \end_inset
17668
17669  in your language.
17670 \end_layout
17671
17672 \begin_layout Description
17673
17674 \series bold
17675 Note:
17676 \series default
17677  When the LaTeX-package 
17678 \series bold
17679 hyperref
17680 \series default
17681
17682 \begin_inset LatexCommand index
17683 name "LaTeX-packages ! hyperref"
17684
17685 \end_inset
17686
17687  is used to link cross-references to floats in the PDF-output, it must be
17688  loaded in the document preamble before the definition of floats to be able
17689  to reference floats.
17690  As LyX sets the float definition for algorithm floats automatically before
17691  the user editable part of the document preamble, you need to insert the
17692  following preamble lines 
17693 \emph on
17694 after
17695 \emph default
17696  the loading command of 
17697 \series bold
17698 hyperref
17699 \series default
17700 :
17701 \series bold
17702
17703 \begin_inset VSpace defskip
17704 \end_inset
17705
17706
17707 \newline
17708
17709 \backslash
17710 newfloat{Xalgorithm}{tbp}{loa}
17711 \newline
17712
17713 \backslash
17714 floatname{Xalgorithm}{your\InsetSpace ~
17715 name}
17716 \newline
17717
17718 \backslash
17719 newcommand{
17720 \backslash
17721 theHalgorithm}{
17722 \backslash
17723 theHXalgorithm}
17724 \newline
17725
17726 \backslash
17727 renewenvironment{algorithm}[1][tbp]
17728 \newline
17729
17730 \begin_inset ERT
17731 status collapsed
17732
17733 \begin_layout Standard
17734
17735
17736 \backslash
17737 hphantom{ }
17738 \end_layout
17739
17740 \end_inset
17741
17742 {
17743 \backslash
17744 begin{Xalgorithm}[#1]}{
17745 \backslash
17746 end{Xalgorithm}}
17747 \begin_inset VSpace defskip
17748 \end_inset
17749
17750
17751 \series default
17752
17753 \newline
17754 Where 
17755 \family sans
17756 your\InsetSpace ~
17757 name
17758 \family default
17759  is the word 
17760 \begin_inset Quotes eld
17761 \end_inset
17762
17763
17764 \emph on
17765 algorithm
17766 \emph default
17767
17768 \begin_inset Quotes erd
17769 \end_inset
17770
17771  in your language.
17772 \end_layout
17773
17774 \begin_layout Standard
17775 Algorithm floats are not by default numbered in the scheme 
17776 \begin_inset Quotes eld
17777 \end_inset
17778
17779 chapter.algorithm
17780 \begin_inset Quotes erd
17781 \end_inset
17782
17783  like it is the case for table and figure floats in many document-classes.
17784  To number algorithm floats in the same scheme, add this command to your
17785  document preamble:
17786 \end_layout
17787
17788 \begin_layout Standard
17789
17790 \series bold
17791
17792 \backslash
17793 numberwithin{algorithm}{chapter}
17794 \end_layout
17795
17796 \begin_layout Standard
17797 If you use the LaTeX-package 
17798 \series bold
17799 hyperref
17800 \series default
17801 , add this line instead 
17802 \emph on
17803 after
17804 \emph default
17805  the definition of 
17806 \family sans
17807 Xalgorithm
17808 \family default
17809  (the commands from above) to the preamble:
17810 \end_layout
17811
17812 \begin_layout Standard
17813
17814 \series bold
17815
17816 \backslash
17817 numberwithin{Xalgorithm}{chapter}
17818 \end_layout
17819
17820 \begin_layout Standard
17821 To be able to use the command 
17822 \series bold
17823
17824 \backslash
17825 numberwithin
17826 \series default
17827 , set in the tab 
17828 \family sans
17829 Math\InsetSpace ~
17830 Options
17831 \family default
17832  in the document settings the option 
17833 \family sans
17834 Use\InsetSpace ~
17835 AMS\InsetSpace ~
17836 math\InsetSpace ~
17837 package
17838 \family default
17839 .
17840 \end_layout
17841
17842 \begin_layout Subsection
17843 Text Wrap Floats
17844 \begin_inset LatexCommand index
17845 name "Floats ! Text Wrap Floats"
17846
17847 \end_inset
17848
17849
17850 \begin_inset LatexCommand label
17851 name "sub:floatflt-wrap-float"
17852
17853 \end_inset
17854
17855
17856 \end_layout
17857
17858 \begin_layout Standard
17859 This float type is used if you want to 
17860 \begin_inset Quotes eld
17861 \end_inset
17862
17863 wrap
17864 \begin_inset Quotes erd
17865 \end_inset
17866
17867  text around a figure so that it only occupies some fraction of the column
17868  width.
17869  It can be inserted using the menu 
17870 \begin_inset Wrap figure
17871 placement l
17872 width "40col%"
17873 status open
17874
17875 \begin_layout Standard
17876 \begin_inset Graphics
17877         filename clipart/mobius.eps
17878         display color
17879         width 40col%
17880         rotateOrigin center
17881
17882 \end_inset
17883
17884
17885 \end_layout
17886
17887 \begin_layout Standard
17888 \begin_inset Caption
17889
17890 \begin_layout Standard
17891 \begin_inset LatexCommand label
17892 name "fig:This-is-a"
17893
17894 \end_inset
17895
17896 This is a wrapped figure, and this is the brilliant caption that describes
17897  it.
17898 \begin_inset VSpace medskip
17899 \end_inset
17900
17901
17902 \end_layout
17903
17904 \end_inset
17905
17906
17907 \end_layout
17908
17909 \end_inset
17910
17911  
17912 \family sans
17913 Insert\SpecialChar \menuseparator
17914 Floats\SpecialChar \menuseparator
17915 Text\InsetSpace ~
17916 Wrap\InsetSpace ~
17917 Float
17918 \family default
17919  if the LaTeX-package 
17920 \series bold
17921 floatf\SpecialChar \textcompwordmark{}
17922 lt
17923 \series default
17924
17925 \begin_inset LatexCommand index
17926 name "LaTeX-packages ! floatflt"
17927
17928 \end_inset
17929
17930  is installed.
17931 \begin_inset Foot
17932 status collapsed
17933
17934 \begin_layout Standard
17935 Installing a LaTeX-package is explained it in the 
17936 \emph on
17937 LaTeX\InsetSpace ~
17938 Configuration
17939 \emph default
17940  manual.
17941 \end_layout
17942
17943 \end_inset
17944
17945  The width and placement of the float is adjusted by right-clicking on the
17946  float box.
17947  Figure\InsetSpace ~
17948
17949 \begin_inset LatexCommand ref
17950 reference "fig:This-is-a"
17951
17952 \end_inset
17953
17954  is an example text wrap float with a width of 40
17955 \begin_inset Formula $\,$
17956 \end_inset
17957
17958 col%.
17959 \begin_inset Foot
17960 status collapsed
17961
17962 \begin_layout Standard
17963 Available units are explained in 
17964 \begin_inset LatexCommand ref
17965 reference "cha:Units-available-in"
17966
17967 \end_inset
17968
17969 .
17970 \end_layout
17971
17972 \end_inset
17973
17974  Some space was added under the caption to separate it better from the surroundi
17975 ng text.
17976 \end_layout
17977
17978 \begin_layout Standard
17979 The LaTeX-package 
17980 \series bold
17981 floatf\SpecialChar \textcompwordmark{}
17982 lt
17983 \series default
17984  also supports table wrap floats, but they are not yet supported by LyX.
17985  If you need this, read the documentation of 
17986 \series bold
17987 floatf\SpecialChar \textcompwordmark{}
17988 lt
17989 \series default
17990  
17991 \begin_inset LatexCommand cite
17992 key "floatflt"
17993
17994 \end_inset
17995
17996 .
17997 \end_layout
17998
17999 \begin_layout Standard
18000 \begin_inset Note Greyedout
18001 status open
18002
18003 \begin_layout Standard
18004
18005 \series bold
18006 Note:
18007 \series default
18008  Text\InsetSpace ~
18009 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18010 g.\InsetSpace ~
18011 having a figure too close to the bottom
18012  of the page can mess things up in the way that the float doesn't appear
18013  in the output or that it is placed over some other text.
18014 \begin_inset Foot
18015 status open
18016
18017 \begin_layout Standard
18018 The better solution is to use the LaTeX-package 
18019 \series bold
18020 wrapf\SpecialChar \textcompwordmark{}
18021 ig
18022 \series default
18023
18024 \begin_inset LatexCommand index
18025 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18026
18027 \end_inset
18028
18029  instead of 
18030 \series bold
18031 floatf\SpecialChar \textcompwordmark{}
18032 lt
18033 \series default
18034 , but it is currently not supported by LyX.
18035 \end_layout
18036
18037 \end_inset
18038
18039
18040 \end_layout
18041
18042 \end_inset
18043
18044
18045 \end_layout
18046
18047 \begin_layout Standard
18048 In general:
18049 \end_layout
18050
18051 \begin_layout Itemize
18052 Wrap floats should not be placed in paragraphs that run over a page break.
18053  That means that wrap floats should better be inserted to the exact place
18054  when the document is nearly finished and you are able to estimate where
18055  page breaks will appear.
18056 \end_layout
18057
18058 \begin_layout Itemize
18059 Wrap floats should either be placed in an own paragraph before the paragraph
18060  where they should wrap into or within a paragraph.
18061 \end_layout
18062
18063 \begin_layout Itemize
18064 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18065  there is a text paragraph between them as separator.
18066 \end_layout
18067
18068 \begin_layout Itemize
18069 Wrap floats are not allowed in section headings or tables.
18070 \end_layout
18071
18072 \begin_layout Section
18073 Float Numbering
18074 \begin_inset LatexCommand label
18075 name "sec:Float-Numbering"
18076
18077 \end_inset
18078
18079
18080 \begin_inset LatexCommand index
18081 name "Floats ! Numbering"
18082
18083 \end_inset
18084
18085
18086 \end_layout
18087
18088 \begin_layout Standard
18089 Floats are usually numbered either independent from the sections the floats
18090  are in, or in the scheme 
18091 \begin_inset Quotes eld
18092 \end_inset
18093
18094 chapter.number
18095 \begin_inset Quotes erd
18096 \end_inset
18097
18098  or 
18099 \begin_inset Quotes eld
18100 \end_inset
18101
18102 section.number
18103 \begin_inset Quotes erd
18104 \end_inset
18105
18106 .
18107  This depends on the used document class.
18108 \end_layout
18109
18110 \begin_layout Standard
18111 To change the section independent numbering, you can use this command in
18112  the document preamble:
18113 \end_layout
18114
18115 \begin_layout Standard
18116
18117 \series bold
18118
18119 \backslash
18120 renewcommand{
18121 \backslash
18122 thetable}{
18123 \backslash
18124 roman{table}}
18125 \end_layout
18126
18127 \begin_layout Standard
18128
18129 \series bold
18130
18131 \backslash
18132 thetable
18133 \series default
18134  is the command that prints the table number, for figure floats, the command
18135  would be 
18136 \series bold
18137
18138 \backslash
18139 thefigure
18140 \series default
18141 .
18142  The command 
18143 \series bold
18144
18145 \backslash
18146 roman
18147 \series default
18148  prints in the command above the table number as small roman number.
18149 \end_layout
18150
18151 \begin_layout Standard
18152 To change the numbering scheme for example to 
18153 \begin_inset Quotes eld
18154 \end_inset
18155
18156 subsection.number
18157 \begin_inset Quotes erd
18158 \end_inset
18159
18160 , use this command in the preamble:
18161 \end_layout
18162
18163 \begin_layout Standard
18164
18165 \series bold
18166
18167 \backslash
18168 numberwithin{table}{subsection}
18169 \end_layout
18170
18171 \begin_layout Standard
18172 To be able to use the command 
18173 \series bold
18174
18175 \backslash
18176 numberwithin
18177 \series default
18178 , set in the tab 
18179 \family sans
18180 Math\InsetSpace ~
18181 Options
18182 \family default
18183  in the document settings the option 
18184 \family sans
18185 Use\InsetSpace ~
18186 AMS\InsetSpace ~
18187 math\InsetSpace ~
18188 package
18189 \family default
18190 .
18191 \end_layout
18192
18193 \begin_layout Standard
18194 Please also have a look at section\InsetSpace ~
18195
18196 \begin_inset LatexCommand ref
18197 reference "sub:Footnote-Numbering"
18198
18199 \end_inset
18200
18201  for the details and important notes about the numbering commands.
18202 \end_layout
18203
18204 \begin_layout Section
18205 Referencing Floats
18206 \begin_inset LatexCommand label
18207 name "sec:Referencing-Floats"
18208
18209 \end_inset
18210
18211
18212 \begin_inset LatexCommand index
18213 name "Floats ! References"
18214
18215 \end_inset
18216
18217
18218 \begin_inset LatexCommand index
18219 name "References"
18220
18221 \end_inset
18222
18223
18224 \end_layout
18225
18226 \begin_layout Standard
18227 To reference a float, insert a label into its caption using the menu 
18228 \family sans
18229 Insert\SpecialChar \menuseparator
18230 Label
18231 \family default
18232  or the toolbar button 
18233 \begin_inset Graphics
18234         filename ../images/label-insert.xpm
18235         scale 85
18236
18237 \end_inset
18238
18239 .
18240  A grey label box like this one: 
18241 \begin_inset Graphics
18242         filename clipart/labelQt4.png
18243         scale 85
18244
18245 \end_inset
18246
18247  will be inserted and the label window pops up asking for the label text.
18248  LyX offers as text the first words of the caption with a prefix.
18249  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18250 g.\InsetSpace ~
18251 for figure floats the prefix will
18252  be "
18253 \family sans
18254 fig:
18255 \family default
18256 ".
18257 \end_layout
18258
18259 \begin_layout Standard
18260 The label is used as anchor and name for the reference.
18261  You can refer to the label using the menu 
18262 \family sans
18263 Insert\SpecialChar \menuseparator
18264 Cross-reference
18265 \family default
18266  or the toolbar button 
18267 \begin_inset Graphics
18268         filename ../images/dialog-show-new-inset_ref.xpm
18269         scale 85
18270
18271 \end_inset
18272
18273 .
18274  A grey cross-reference box like this one: 
18275 \begin_inset Graphics
18276         filename clipart/referenceQt4.png
18277         scale 85
18278
18279 \end_inset
18280
18281  will be inserted and the cross-reference window appear showing all labels
18282  of the document.
18283  If you have multiple LyX-documents opened, choose the one you are working
18284  on from the drop-list at the top of the dialog.
18285  You can now sort the labels alphabetically and then choose one.
18286  At the position of the cross-reference box the float number will appear
18287  in the output.
18288 \end_layout
18289
18290 \begin_layout Standard
18291 It is recommended to use a protected space between the cross-reference name
18292  and its number to avoid line breaks between them.
18293  If a cross-reference refers to a non-existing label, you will see two question
18294  marks in the output instead of the reference.
18295 \end_layout
18296
18297 \begin_layout Standard
18298 You can change labels at any time by clicking on the label box.
18299  References to the changed label will automatically change its link to the
18300  new label text, so that you don't need to take care about this.
18301 \end_layout
18302
18303 \begin_layout Standard
18304 The button 
18305 \family sans
18306 Go\InsetSpace ~
18307 to\InsetSpace ~
18308 Label
18309 \family default
18310  in the cross-reference window sets the cursor before the referred label.
18311  The button text changes then to Go\InsetSpace ~
18312 Back and you can use it to set the cursor
18313  back to the cross-reference.
18314  Right-clicking on a cross-reference box also sets the cursor before the
18315  referenced label but without a possibility to go back.
18316 \end_layout
18317
18318 \begin_layout Subsection
18319 Cross-Reference Formats
18320 \begin_inset LatexCommand label
18321 name "sub:Cross-Reference-Formats"
18322
18323 \end_inset
18324
18325
18326 \begin_inset LatexCommand index
18327 name "References ! Formats"
18328
18329 \end_inset
18330
18331
18332 \end_layout
18333
18334 \begin_layout Standard
18335 There are six varieties of cross-references:
18336 \end_layout
18337
18338 \begin_layout Description
18339 <reference>: prints the float number, this is the default: 
18340 \begin_inset LatexCommand ref
18341 reference "fig:Two-distorted-images"
18342
18343 \end_inset
18344
18345
18346 \end_layout
18347
18348 \begin_layout Description
18349 (<reference>): prints the float number within two parentheses, this is the
18350  style normally used to reference formulas, especially when the reference
18351  name 
18352 \begin_inset Quotes eld
18353 \end_inset
18354
18355 Equation
18356 \begin_inset Quotes erd
18357 \end_inset
18358
18359  is omitted: 
18360 \begin_inset LatexCommand eqref
18361 reference "eq:Wgn"
18362
18363 \end_inset
18364
18365
18366 \end_layout
18367
18368 \begin_layout Description
18369 <page>: prints the page number: Page\InsetSpace ~
18370
18371 \begin_inset LatexCommand pageref
18372 reference "fig:Two-distorted-images"
18373
18374 \end_inset
18375
18376
18377 \end_layout
18378
18379 \begin_layout Description
18380 on\InsetSpace ~
18381 page\InsetSpace ~
18382 <page>: prints the text "on page" and the page number: 
18383 \begin_inset LatexCommand vpageref
18384 reference "fig:Two-distorted-images"
18385
18386 \end_inset
18387
18388
18389 \end_layout
18390
18391 \begin_layout Description
18392 <reference>\InsetSpace ~
18393 on\InsetSpace ~
18394 page\InsetSpace ~
18395 <page>: prints the float number, the text "on page", and
18396  the page number: 
18397 \begin_inset LatexCommand vref
18398 reference "fig:Two-distorted-images"
18399
18400 \end_inset
18401
18402
18403 \end_layout
18404
18405 \begin_layout Description
18406 Formatted\InsetSpace ~
18407 reference: prints a self defined cross-reference format.
18408  
18409 \begin_inset Note Greyedout
18410 status open
18411
18412 \begin_layout Standard
18413
18414 \series bold
18415 Note:
18416 \series default
18417  This feature is only available when you have the LaTeX-package 
18418 \series bold
18419 prettyref
18420 \series default
18421  installed.
18422 \end_layout
18423
18424 \end_inset
18425
18426
18427 \end_layout
18428
18429 \begin_layout Standard
18430 Note that the style <page> won't print the page number if the label is on
18431  the previous, the same, or the next page.
18432  You will e.\InsetSpace \thinspace{}
18433 g.\InsetSpace ~
18434 see the text 
18435 \begin_inset Quotes eld
18436 \end_inset
18437
18438
18439 \family sans
18440 on this page
18441 \family default
18442
18443 \begin_inset Quotes erd
18444 \end_inset
18445
18446  instead.
18447 \end_layout
18448
18449 \begin_layout Standard
18450 The number and current page of the referred document part in the output,
18451  is automatically calculated by LaTeX.
18452  The varieties are adjusted in the field 
18453 \family sans
18454 Format
18455 \family default
18456  of the cross-reference window, that appear when you click on the cross-referenc
18457 e box.
18458 \end_layout
18459
18460 \begin_layout Subsection
18461 Referencing Subfigures
18462 \begin_inset LatexCommand label
18463 name "sub:Referencing-Subfigures"
18464
18465 \end_inset
18466
18467
18468 \begin_inset LatexCommand index
18469 name "References ! to Subfigures"
18470
18471 \end_inset
18472
18473
18474 \end_layout
18475
18476 \begin_layout Standard
18477 Currently referencing subfigures is not supported by LyX, so you have to
18478  use LaTeX-commands.
18479  The label is the created with the command
18480 \end_layout
18481
18482 \begin_layout Standard
18483
18484 \series bold
18485
18486 \backslash
18487 label{fig:YourLabelName}
18488 \end_layout
18489
18490 \begin_layout Standard
18491 that is directly inserted into the subfigure caption field.
18492  To reference the label add this command in ERT
18493 \end_layout
18494
18495 \begin_layout Standard
18496
18497 \series bold
18498
18499 \backslash
18500 ref{fig:YourLabelName}
18501 \end_layout
18502
18503 \begin_layout Standard
18504 to the position in your document where the reference should be placed.
18505  Here is a reference to a subfigure: Subfigure\InsetSpace ~
18506
18507 \begin_inset ERT
18508 status collapsed
18509
18510 \begin_layout Standard
18511
18512
18513 \backslash
18514 ref{fig:Platypus}
18515 \end_layout
18516
18517 \end_inset
18518
18519 .
18520 \end_layout
18521
18522 \begin_layout Subsection
18523 Automatic Reference Naming
18524 \begin_inset LatexCommand index
18525 name "References ! Automatic Reference Naming"
18526
18527 \end_inset
18528
18529
18530 \end_layout
18531
18532 \begin_layout Standard
18533 The LaTeX-package 
18534 \series bold
18535 hyperref
18536 \series default
18537  provides a very useful feature that cross-references automatically include
18538  the name of the referenced floats (or text parts like sections).
18539  You save to write e.\InsetSpace \thinspace{}
18540 g.\InsetSpace ~
18541 the name 
18542 \begin_inset Quotes eld
18543 \end_inset
18544
18545 Figure
18546 \begin_inset Quotes erd
18547 \end_inset
18548
18549  before every reference box.
18550  To get this automatic reference naming, you have to load the LaTeX-package
18551  
18552 \series bold
18553 hyperref
18554 \series default
18555
18556 \begin_inset LatexCommand index
18557 name "LaTeX-packages ! hyperref"
18558
18559 \end_inset
18560
18561  in the document preamble with
18562 \end_layout
18563
18564 \begin_layout Standard
18565
18566 \series bold
18567
18568 \backslash
18569 usepackage[pdfborder={0 0 0}]{hyperref}
18570 \newline
18571
18572 \backslash
18573 AtBeginDocument{
18574 \backslash
18575 renewcommand{
18576 \backslash
18577 ref}[1]{
18578 \backslash
18579 mbox{
18580 \backslash
18581 autoref{#1}}}}
18582 \end_layout
18583
18584 \begin_layout Standard
18585
18586 \series bold
18587 hyperref
18588 \series default
18589  is used to link cross-references in the DVI- and PDF-output, this means
18590  that the reader of your document will be able to click on a table of content
18591  (TOC) entry or on a reference and he will be shown the referenced document
18592  part.
18593  
18594 \series bold
18595 hyperref
18596 \series default
18597  also creates PDF-bookmarks for every section of your document to make it
18598  easier for readers to navigate through the document.
18599  This is also used in this document but when you have a look in the document
18600  preamble you will find various options in the load command of 
18601 \series bold
18602 hyperref
18603 \series default
18604 .
18605  To learn more about the 
18606 \series bold
18607 hyperref
18608 \series default
18609  package, we refer to its documentation 
18610 \begin_inset LatexCommand cite
18611 key "hyperref"
18612
18613 \end_inset
18614
18615 .
18616 \end_layout
18617
18618 \begin_layout Standard
18619 \begin_inset Note Greyedout
18620 status open
18621
18622 \begin_layout Standard
18623
18624 \series bold
18625 Note:
18626 \series default
18627  Automatic reference naming cannot be used when you use cross-references
18628  in the 
18629 \family sans
18630 Formatted\InsetSpace ~
18631 reference
18632 \family default
18633  style, described in section\InsetSpace ~
18634
18635 \begin_inset LatexCommand ref
18636 reference "sub:Cross-Reference-Formats"
18637
18638 \end_inset
18639
18640 .
18641 \end_layout
18642
18643 \end_inset
18644
18645
18646 \end_layout
18647
18648 \begin_layout Subsection
18649 Reference Position
18650 \begin_inset LatexCommand label
18651 name "sub:Reference-Position"
18652
18653 \end_inset
18654
18655
18656 \begin_inset LatexCommand index
18657 name "References ! Reference Position"
18658
18659 \end_inset
18660
18661
18662 \end_layout
18663
18664 \begin_layout Standard
18665 If you use 
18666 \series bold
18667 hyperref
18668 \series default
18669
18670 \begin_inset LatexCommand index
18671 name "LaTeX-packages ! hyperref"
18672
18673 \end_inset
18674
18675  to link cross-references in the output, you will see that clicking on an
18676  image float reference jumps to the image label.
18677  The caption will be the first text part on the screen, so that you cannot
18678  see the image without scrolling.
18679  This is because the reference link anchor is placed at the position of
18680  the label.
18681  With the use of the package 
18682 \series bold
18683 hypcap
18684 \series default
18685
18686 \begin_inset LatexCommand index
18687 name "LaTeX-packages ! hypcap"
18688
18689 \end_inset
18690
18691 , which is part of the LaTeX-package 
18692 \series bold
18693 oberdiek
18694 \series default
18695
18696 \begin_inset LatexCommand index
18697 name "LaTeX-packages ! oberdiek"
18698
18699 \end_inset
18700
18701 , the link anchor is placed at the beginning of a float.
18702  To use this feature for figure floats, load 
18703 \series bold
18704 hypcap
18705 \series default
18706  in the document preamble with the line
18707 \end_layout
18708
18709 \begin_layout Standard
18710
18711 \series bold
18712
18713 \backslash
18714 usepackage[f\SpecialChar \textcompwordmark{}
18715 igure]{hypcap}
18716 \end_layout
18717
18718 \begin_layout Standard
18719 You can also use 
18720 \series bold
18721 hypcap
18722 \series default
18723  for all floats but this isn't recommended for stability reasons.
18724  For more informations, have a look at 
18725 \series bold
18726 hypcap
18727 \series default
18728 's manual 
18729 \begin_inset LatexCommand cite
18730 key "hypcap"
18731
18732 \end_inset
18733
18734 .
18735 \end_layout
18736
18737 \begin_layout Standard
18738 \begin_inset Note Greyedout
18739 status open
18740
18741 \begin_layout Standard
18742
18743 \series bold
18744 Note:
18745 \series default
18746  
18747 \series bold
18748 hypcap
18749 \series default
18750  must be loaded after 
18751 \series bold
18752 hyperref
18753 \series default
18754  in the document preamble.
18755 \end_layout
18756
18757 \end_inset
18758
18759
18760 \end_layout
18761
18762 \begin_layout Standard
18763 \begin_inset Note Greyedout
18764 status open
18765
18766 \begin_layout Standard
18767
18768 \series bold
18769 Note:
18770 \series default
18771  
18772 \series bold
18773 hypcap
18774 \series default
18775  has no effect for references to subfigures.
18776 \end_layout
18777
18778 \end_inset
18779
18780
18781 \end_layout
18782
18783 \begin_layout Section
18784 Float Placement
18785 \begin_inset LatexCommand label
18786 name "sec:Float-Placement"
18787
18788 \end_inset
18789
18790
18791 \begin_inset LatexCommand index
18792 name "Floats ! Placement"
18793
18794 \end_inset
18795
18796
18797 \end_layout
18798
18799 \begin_layout Standard
18800 Right-clicking on a float-box opens a dialog where you can alter the placement
18801  options that LaTeX uses for positioning the float.
18802 \newline
18803 The option 
18804 \family sans
18805 Span\InsetSpace ~
18806 columns
18807 \family default
18808  is only useful for two-column documents: If you select it, the float will
18809  span across both columns on the page instead of being confined to just
18810  one.
18811 \newline
18812 The option 
18813 \family sans
18814 Rotate\InsetSpace ~
18815 sideways
18816 \family default
18817  is used to rotate floats, see section 
18818 \begin_inset LatexCommand ref
18819 reference "sec:Rotated-Floats"
18820
18821 \end_inset
18822
18823 .
18824 \end_layout
18825
18826 \begin_layout Standard
18827 You can use one ore more of the following options in the float dialog to
18828  set the placement for a particular float when you uncheck the option 
18829 \family sans
18830 Use\InsetSpace ~
18831 default\InsetSpace ~
18832 placement
18833 \family default
18834 :
18835 \end_layout
18836
18837 \begin_layout Description
18838 Here\InsetSpace ~
18839 if\InsetSpace ~
18840 possible: try to place the float on the position where it is inserted
18841 \end_layout
18842
18843 \begin_layout Description
18844 Top\InsetSpace ~
18845 of\InsetSpace ~
18846 page: try to place the float on the top of the current page
18847 \end_layout
18848
18849 \begin_layout Description
18850 Bottom\InsetSpace ~
18851 of\InsetSpace ~
18852 page: try to place the float on the bottom of the current page
18853 \end_layout
18854
18855 \begin_layout Description
18856 Page\InsetSpace ~
18857 of\InsetSpace ~
18858 floats: try to place the float on an own page 
18859 \end_layout
18860
18861 \begin_layout Standard
18862 The order of the above option is 
18863 \emph on
18864 always
18865 \emph default
18866  used by LaTeX.
18867  That means, if you use the default placement, LaTeX will first try out
18868  
18869 \family sans
18870 Here\InsetSpace ~
18871 if\InsetSpace ~
18872 possible
18873 \family default
18874 , then 
18875 \family sans
18876 Top\InsetSpace ~
18877 of\InsetSpace ~
18878 page
18879 \family default
18880 , and then the others.
18881  If you don't use the default, LaTeX will try only the checked options but
18882  in the same order.
18883  If none of the 4 placements are possible the procedure is internally repeated
18884  but it is tried to put the float on the following page.
18885 \end_layout
18886
18887 \begin_layout Standard
18888 By default, each option has its own rules:
18889 \end_layout
18890
18891 \begin_layout Labeling
18892 \labelwidthstring 00.00.0000
18893
18894 \family sans
18895 Top\InsetSpace ~
18896 of\InsetSpace ~
18897 page
18898 \family default
18899  only floats occupying less than 70\InsetSpace \thinspace{}
18900 % of the page can be placed at the top
18901  of a page (
18902 \series bold
18903
18904 \backslash
18905 topfraction
18906 \series default
18907 )
18908 \end_layout
18909
18910 \begin_layout Labeling
18911 \labelwidthstring 00.00.0000
18912
18913 \family sans
18914 Bottom\InsetSpace ~
18915 of\InsetSpace ~
18916 page
18917 \family default
18918 : only floats occupying less than 30\InsetSpace \thinspace{}
18919 % of the page can be placed at the bottom
18920  of a page.
18921  (
18922 \series bold
18923
18924 \backslash
18925 bottomfraction
18926 \series default
18927 )
18928 \end_layout
18929
18930 \begin_layout Labeling
18931 \labelwidthstring 00.00.0000
18932
18933 \family sans
18934 Page\InsetSpace ~
18935 of\InsetSpace ~
18936 floats
18937 \family default
18938 : only if more than 50\InsetSpace \thinspace{}
18939 % of the page are occupied by floats, several floats
18940  can be set together on a page.
18941  (
18942 \series bold
18943
18944 \backslash
18945 floatpagefraction
18946 \series default
18947 )
18948 \end_layout
18949
18950 \begin_layout Standard
18951 If you don't like these rules, you can ignore them by using the additional
18952  option 
18953 \family sans
18954 Ignore\InsetSpace ~
18955 LaTeX\InsetSpace ~
18956 rules
18957 \family default
18958 .
18959 \newline
18960 You can also redefine the rules with LaTeX-commands that are given in parenthese
18961 s behind the rules description above.
18962  To increase for example the often too small default of the bottom-rule
18963  to 50\InsetSpace \thinspace{}
18964 % of the page, add this line to your document preamble:
18965 \end_layout
18966
18967 \begin_layout Standard
18968
18969 \series bold
18970
18971 \backslash
18972 renewcommand{
18973 \backslash
18974 bottomfraction}{0.5}
18975 \end_layout
18976
18977 \begin_layout Standard
18978 Sometimes you might need, under all circumstances, a float to be placed
18979  exactly at the position where it is inserted.
18980  For this case you can use the option 
18981 \family sans
18982 Here\InsetSpace ~
18983 definitely
18984 \family default
18985 .
18986  Use this option very rarely and only if the document is nearly ready to
18987  be printed.
18988  Because the float is then no longer able to 
18989 \begin_inset Quotes eld
18990 \end_inset
18991
18992 float
18993 \begin_inset Quotes erd
18994 \end_inset
18995
18996  when you change your document and this will often destroy the page layout.
18997 \end_layout
18998
18999 \begin_layout Standard
19000 There are no placement options for text wrap floats, because they are always
19001  surrounded by the text of a certain paragraph.
19002 \begin_inset VSpace bigskip
19003 \end_inset
19004
19005
19006 \end_layout
19007
19008 \begin_layout Standard
19009 Sometimes you have the problem that a float is placed at the top of a page
19010  while its corresponding section starts at the middle of the page, so that
19011  the reader could think the float is part of the previous section.
19012  To avoid this the LaTeX-command 
19013 \series bold
19014
19015 \backslash
19016 suppressf\SpecialChar \textcompwordmark{}
19017 loats
19018 \series default
19019  can be used.
19020  It suppresses a given float placement for the page where it is inserted
19021  and can therefore be used to avoid that floats could be set before a section
19022  starts.
19023  To get this, add these commands to your document preamble:
19024 \end_layout
19025
19026 \begin_layout Standard
19027
19028 \series bold
19029
19030 \backslash
19031 let
19032 \backslash
19033 mySection
19034 \backslash
19035 section
19036 \newline
19037
19038 \backslash
19039 renewcommand{
19040 \backslash
19041 section}{
19042 \backslash
19043 suppressf\SpecialChar \textcompwordmark{}
19044 loats[t]
19045 \backslash
19046 mySection}
19047 \end_layout
19048
19049 \begin_layout Standard
19050 You can define the same for all section headings, like chapters and subsections.
19051  This definition is not recommended to be used for small text parts like
19052  subsubsections because LaTeX may then have problems to find a suitable
19053  placement.
19054 \end_layout
19055
19056 \begin_layout Standard
19057 \begin_inset VSpace bigskip
19058 \end_inset
19059
19060 In some cases it is required to have all figures/tables at the end of the
19061  document.
19062  For this purpose the LaTeX-package 
19063 \series bold
19064 endf\SpecialChar \textcompwordmark{}
19065 loat
19066 \series default
19067
19068 \begin_inset LatexCommand index
19069 name "LaTeX-packages ! endfloat"
19070
19071 \end_inset
19072
19073  was developed.
19074  It puts all figure and table floats at the end of the document into own
19075  sections.
19076  At the original float position a text hint like 
19077 \begin_inset Quotes eld
19078 \end_inset
19079
19080
19081 \family sans
19082 [Figure\InsetSpace ~
19083 3.2 about here.]
19084 \family default
19085
19086 \begin_inset Quotes erd
19087 \end_inset
19088
19089  is inserted.
19090  The endfloat-package is loaded in the preamble with the line
19091 \end_layout
19092
19093 \begin_layout Standard
19094
19095 \series bold
19096
19097 \backslash
19098 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19099 loat}
19100 \end_layout
19101
19102 \begin_layout Standard
19103 There are various package options to format the created figure/table sections.
19104  For more information we refer to the 
19105 \series bold
19106 endf\SpecialChar \textcompwordmark{}
19107 loat
19108 \series default
19109  documentation 
19110 \begin_inset LatexCommand cite
19111 key "endfloat"
19112
19113 \end_inset
19114
19115 .
19116 \newline
19117
19118 \begin_inset Note Greyedout
19119 status open
19120
19121 \begin_layout Standard
19122
19123 \series bold
19124 Note: endf\SpecialChar \textcompwordmark{}
19125 loat
19126 \series default
19127  doesn't provide an automatic translation for the text hint, you have to
19128  do this manually, see section\InsetSpace ~
19129 4 in 
19130 \begin_inset LatexCommand cite
19131 key "endfloat"
19132
19133 \end_inset
19134
19135 .
19136 \end_layout
19137
19138 \end_inset
19139
19140
19141 \newline
19142
19143 \begin_inset Note Greyedout
19144 status open
19145
19146 \begin_layout Standard
19147
19148 \series bold
19149 Note:
19150 \series default
19151  There is currently a bug in 
19152 \series bold
19153 endf\SpecialChar \textcompwordmark{}
19154 loat
19155 \series default
19156  when the caption contains a German 
19157 \begin_inset Quotes eld
19158 \end_inset
19159
19160 ß
19161 \begin_inset Quotes erd
19162 \end_inset
19163
19164 .
19165  Use in this case the command 
19166 \begin_inset Quotes eld
19167 \end_inset
19168
19169
19170 \series bold
19171
19172 \backslash
19173 ss
19174 \series default
19175
19176 \begin_inset Quotes erd
19177 \end_inset
19178
19179  in ERT instead of 
19180 \begin_inset Quotes eld
19181 \end_inset
19182
19183 ß
19184 \begin_inset Quotes erd
19185 \end_inset
19186
19187 .
19188 \end_layout
19189
19190 \end_inset
19191
19192
19193 \end_layout
19194
19195 \begin_layout Standard
19196 \begin_inset VSpace bigskip
19197 \end_inset
19198
19199 For more details about float placements, have a look at LaTeX books, 
19200 \begin_inset LatexCommand cite
19201 key "latexcompanion,latexguide,latexbook"
19202
19203 \end_inset
19204
19205 .
19206 \end_layout
19207
19208 \begin_layout Section
19209 Rotated Floats
19210 \begin_inset LatexCommand label
19211 name "sec:Rotated-Floats"
19212
19213 \end_inset
19214
19215
19216 \begin_inset LatexCommand index
19217 name "Floats ! Rotating"
19218
19219 \end_inset
19220
19221
19222 \end_layout
19223
19224 \begin_layout Standard
19225 Especially for wide tables you might have floats rotated.
19226  To rotate a whole float including the caption, right-click on the float-box
19227  and use the option 
19228 \family sans
19229 Rotate\InsetSpace ~
19230 sideways
19231 \family default
19232 .
19233 \end_layout
19234
19235 \begin_layout Standard
19236 Rotated floats are always placed on its own page (or column, when you have
19237  a two-column document).
19238  They are normally rotated so that you can read them from the outside margin
19239  -- to the left on even pages, to the right on odd pages.
19240 \end_layout
19241
19242 \begin_layout Standard
19243 Referencing rotated floats is the same like for normal floats, the caption
19244  format is also the same: Table\InsetSpace ~
19245
19246 \begin_inset LatexCommand ref
19247 reference "tab:Rotated-table"
19248
19249 \end_inset
19250
19251  is an example of a rotated table float.
19252 \end_layout
19253
19254 \begin_layout Standard
19255 \begin_inset Note Greyedout
19256 status open
19257
19258 \begin_layout Standard
19259
19260 \series bold
19261 Note:
19262 \series default
19263  Not all DVI-viewers are able to display rotated floats.
19264 \end_layout
19265
19266 \end_inset
19267
19268
19269 \end_layout
19270
19271 \begin_layout Standard
19272 \begin_inset Float table
19273 wide false
19274 sideways true
19275 status open
19276
19277 \begin_layout Standard
19278 \begin_inset Caption
19279
19280 \begin_layout Standard
19281 \begin_inset LatexCommand label
19282 name "tab:Rotated-table"
19283
19284 \end_inset
19285
19286  Rotated table
19287 \end_layout
19288
19289 \end_inset
19290
19291
19292 \end_layout
19293
19294 \begin_layout Standard
19295 \align center
19296 \begin_inset Tabular
19297 <lyxtabular version="3" rows="1" columns="5">
19298 <features>
19299 <column alignment="center" valignment="top" leftline="true" width="0">
19300 <column alignment="center" valignment="top" leftline="true" width="0">
19301 <column alignment="center" valignment="top" leftline="true" width="0">
19302 <column alignment="center" valignment="top" leftline="true" width="0">
19303 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19304 <row topline="true" bottomline="true">
19305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19306 \begin_inset Text
19307
19308 \begin_layout Standard
19309 test
19310 \end_layout
19311
19312 \end_inset
19313 </cell>
19314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19315 \begin_inset Text
19316
19317 \begin_layout Standard
19318 b
19319 \end_layout
19320
19321 \end_inset
19322 </cell>
19323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19324 \begin_inset Text
19325
19326 \begin_layout Standard
19327 c
19328 \end_layout
19329
19330 \end_inset
19331 </cell>
19332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19333 \begin_inset Text
19334
19335 \begin_layout Standard
19336 d
19337 \end_layout
19338
19339 \end_inset
19340 </cell>
19341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19342 \begin_inset Text
19343
19344 \begin_layout Standard
19345 e
19346 \end_layout
19347
19348 \end_inset
19349 </cell>
19350 </row>
19351 </lyxtabular>
19352
19353 \end_inset
19354
19355
19356 \end_layout
19357
19358 \end_inset
19359
19360
19361 \end_layout
19362
19363 \begin_layout Section
19364 Caption Formatting
19365 \begin_inset LatexCommand index
19366 name "Caption ! Formatting"
19367
19368 \end_inset
19369
19370
19371 \begin_inset LatexCommand index
19372 name "Floats ! Caption Formatting"
19373
19374 \end_inset
19375
19376
19377 \begin_inset LatexCommand index
19378 name "LaTeX-packages ! caption"
19379
19380 \end_inset
19381
19382
19383 \begin_inset LatexCommand label
19384 name "sec:Caption-Formatting"
19385
19386 \end_inset
19387
19388
19389 \end_layout
19390
19391 \begin_layout Standard
19392 The 
19393 \family sans
19394 Caption
19395 \family default
19396  environment is the default paragraph environment for 
19397 \family sans
19398 Floats
19399 \family default
19400 .
19401  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19402 g.\InsetSpace ~
19403
19404 \begin_inset Quotes eld
19405 \end_inset
19406
19407
19408 \family sans
19409 Figure #:
19410 \family default
19411
19412 \begin_inset Quotes erd
19413 \end_inset
19414
19415  followed by the caption text.
19416  
19417 \begin_inset Quotes eld
19418 \end_inset
19419
19420 #
19421 \begin_inset Quotes erd
19422 \end_inset
19423
19424  is the actual reference number.
19425  By default the label and the number are in the same font as the caption
19426  text and a colon follows the number to divide the label from the text.
19427  This caption format is not suitable for all document formats.
19428  
19429 \end_layout
19430
19431 \begin_layout Standard
19432 To change the default caption format, load the LaTeX-package 
19433 \series bold
19434 caption
19435 \series default
19436
19437 \begin_inset LatexCommand index
19438 name "LaTeX-packages ! caption"
19439
19440 \end_inset
19441
19442  in the document preamble with this line:
19443 \end_layout
19444
19445 \begin_layout Standard
19446
19447 \series bold
19448
19449 \backslash
19450 usepackage[format definition]{caption}
19451 \end_layout
19452
19453 \begin_layout Standard
19454 To have for example the label and the number in sans-serif bold font and
19455  the table captions always above the table like in this document, use the
19456  following command:
19457 \end_layout
19458
19459 \begin_layout Standard
19460
19461 \series bold
19462
19463 \backslash
19464 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19465 \end_layout
19466
19467 \begin_layout Standard
19468 You can also define different caption formats for the different float types.
19469  In this case load the 
19470 \series bold
19471 caption
19472 \series default
19473  package without format specific options and define the different formats
19474  with the help of the command
19475 \end_layout
19476
19477 \begin_layout Standard
19478
19479 \series bold
19480
19481 \backslash
19482 captionsetup[float type]{format definition}
19483 \end_layout
19484
19485 \begin_layout Standard
19486 in the document preamble.
19487  For example the caption formats of Figure\InsetSpace ~
19488
19489 \begin_inset LatexCommand ref
19490 reference "fig:This-is-an-fig"
19491
19492 \end_inset
19493
19494  and Table\InsetSpace ~
19495
19496 \begin_inset LatexCommand ref
19497 reference "tab:This-is-an-tab"
19498
19499 \end_inset
19500
19501  can be created using these commands in the document preamble:
19502 \end_layout
19503
19504 \begin_layout Standard
19505
19506 \series bold
19507
19508 \backslash
19509 usepackage[tableposition=top]{caption}
19510 \series default
19511
19512 \newline
19513
19514 \series bold
19515
19516 \backslash
19517 captionsetup[f\SpecialChar \textcompwordmark{}
19518 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19519 \newline
19520
19521 \begin_inset ERT
19522 status collapsed
19523
19524 \begin_layout Standard
19525
19526
19527 \backslash
19528 hphantom{
19529 \backslash
19530
19531 \backslash
19532 captionsetup[figure]
19533 \backslash
19534 {}
19535 \end_layout
19536
19537 \end_inset
19538
19539  labelsep=period}
19540 \newline
19541
19542 \backslash
19543 captionsetup[table]{labelfont={bf,sf}}
19544 \end_layout
19545
19546 \begin_layout Standard
19547 \begin_inset Note Greyedout
19548 status open
19549
19550 \begin_layout Standard
19551
19552 \series bold
19553 Note:
19554 \series default
19555  The option 
19556 \series bold
19557 tableposition=top
19558 \series default
19559  has no effect when a 
19560 \series bold
19561 koma-script
19562 \series default
19563
19564 \begin_inset LatexCommand index
19565 name "LaTeX-packages ! koma-script"
19566
19567 \end_inset
19568
19569  document class is used.
19570  In this case the document class option 
19571 \series bold
19572 tablecaptionabove
19573 \series default
19574  must be used.
19575 \end_layout
19576
19577 \end_inset
19578
19579
19580 \end_layout
19581
19582 \begin_layout Standard
19583 For more information about the package 
19584 \series bold
19585 caption
19586 \series default
19587  we refer to its documentation 
19588 \begin_inset LatexCommand cite
19589 key "caption,caption-de"
19590
19591 \end_inset
19592
19593 .
19594 \end_layout
19595
19596 \begin_layout Standard
19597 To change the label name from e.g.
19598  
19599 \begin_inset Quotes eld
19600 \end_inset
19601
19602 Figure
19603 \begin_inset Quotes erd
19604 \end_inset
19605
19606  to 
19607 \begin_inset Quotes eld
19608 \end_inset
19609
19610 Image
19611 \begin_inset Quotes erd
19612 \end_inset
19613
19614  use this preamble command:
19615 \end_layout
19616
19617 \begin_layout Standard
19618
19619 \series bold
19620
19621 \backslash
19622 renewcommand{
19623 \backslash
19624 fnum@figure}{Image~
19625 \backslash
19626 thefigure}
19627 \end_layout
19628
19629 \begin_layout Standard
19630 where 
19631 \series bold
19632
19633 \backslash
19634 thefigure
19635 \series default
19636  inserts the figure number and
19637 \series bold
19638  
19639 \begin_inset Quotes eld
19640 \end_inset
19641
19642 ~
19643 \series default
19644
19645 \begin_inset Quotes erd
19646 \end_inset
19647
19648  creates a protected space.
19649 \end_layout
19650
19651 \begin_layout Standard
19652 \begin_inset VSpace bigskip
19653 \end_inset
19654
19655 If you are using a 
19656 \series bold
19657 koma-script
19658 \series default
19659
19660 \begin_inset LatexCommand index
19661 name "LaTeX-packages ! koma-script"
19662
19663 \end_inset
19664
19665  document class (
19666 \family sans
19667 article (koma-script)
19668 \family default
19669
19670 \family sans
19671 book (koma-script)
19672 \family default
19673
19674 \family sans
19675 letter (koma-script)
19676 \family default
19677 , or 
19678 \family sans
19679 report (koma-script)
19680 \family default
19681 \InsetSpace \thinspace{}
19682 ), you can alternatively to the 
19683 \series bold
19684 caption
19685 \series default
19686  package use 
19687 \series bold
19688 koma-script
19689 \series default
19690 's built-in command 
19691 \series bold
19692
19693 \backslash
19694 setkomafont
19695 \series default
19696 .
19697  For example, to have the caption label in bold, add this command to your
19698  document preamble:
19699 \end_layout
19700
19701 \begin_layout Standard
19702
19703 \series bold
19704
19705 \backslash
19706 setkomafont{captionlabel}{
19707 \backslash
19708 bfseries}
19709 \end_layout
19710
19711 \begin_layout Standard
19712 For more information about 
19713 \series bold
19714
19715 \backslash
19716 setkomafont
19717 \series default
19718  we refer to the 
19719 \series bold
19720 koma-script
19721 \series default
19722  documentation 
19723 \begin_inset LatexCommand cite
19724 key "koma-script,koma-script-de"
19725
19726 \end_inset
19727
19728 .
19729 \end_layout
19730
19731 \begin_layout Standard
19732 \begin_inset ERT
19733 status collapsed
19734
19735 \begin_layout Standard
19736
19737
19738 \backslash
19739 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19740 }
19741 \end_layout
19742
19743 \end_inset
19744
19745
19746 \begin_inset Note Note
19747 status open
19748
19749 \begin_layout Standard
19750 The caption format is changed only for this example.
19751 \end_layout
19752
19753 \end_inset
19754
19755
19756 \end_layout
19757
19758 \begin_layout Standard
19759 \begin_inset Float figure
19760 placement !p
19761 wide false
19762 sideways false
19763 status open
19764
19765 \begin_layout Standard
19766 \align center
19767 \begin_inset Graphics
19768         filename clipart/mobius.eps
19769         lyxscale 50
19770         scale 50
19771
19772 \end_inset
19773
19774
19775 \end_layout
19776
19777 \begin_layout Standard
19778 \begin_inset Caption
19779
19780 \begin_layout Standard
19781 \begin_inset LatexCommand label
19782 name "fig:This-is-an-fig"
19783
19784 \end_inset
19785
19786 This is an example figure caption that is longer than one line to show the
19787  different caption format.
19788  Here a self-defined caption format is used.
19789 \end_layout
19790
19791 \end_inset
19792
19793
19794 \end_layout
19795
19796 \end_inset
19797
19798
19799 \end_layout
19800
19801 \begin_layout Standard
19802 \begin_inset ERT
19803 status collapsed
19804
19805 \begin_layout Standard
19806
19807
19808 \backslash
19809 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19810 on}
19811 \end_layout
19812
19813 \end_inset
19814
19815
19816 \end_layout
19817
19818 \begin_layout Standard
19819 \begin_inset Float table
19820 placement !p
19821 wide false
19822 sideways false
19823 status open
19824
19825 \begin_layout Standard
19826 \begin_inset Caption
19827
19828 \begin_layout Standard
19829 \begin_inset LatexCommand label
19830 name "tab:This-is-an-tab"
19831
19832 \end_inset
19833
19834 This is an example table caption that is longer than one line to show the
19835  different caption format.
19836  Here the standard caption format for tables in this document is used.
19837 \end_layout
19838
19839 \end_inset
19840
19841
19842 \end_layout
19843
19844 \begin_layout Standard
19845 \align center
19846 \begin_inset Tabular
19847 <lyxtabular version="3" rows="1" columns="5">
19848 <features>
19849 <column alignment="center" valignment="top" leftline="true" width="0">
19850 <column alignment="center" valignment="top" leftline="true" width="0">
19851 <column alignment="center" valignment="top" leftline="true" width="0">
19852 <column alignment="center" valignment="top" leftline="true" width="0">
19853 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19854 <row topline="true" bottomline="true">
19855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19856 \begin_inset Text
19857
19858 \begin_layout Standard
19859 a
19860 \end_layout
19861
19862 \end_inset
19863 </cell>
19864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19865 \begin_inset Text
19866
19867 \begin_layout Standard
19868 b
19869 \end_layout
19870
19871 \end_inset
19872 </cell>
19873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19874 \begin_inset Text
19875
19876 \begin_layout Standard
19877 c
19878 \end_layout
19879
19880 \end_inset
19881 </cell>
19882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19883 \begin_inset Text
19884
19885 \begin_layout Standard
19886 d
19887 \end_layout
19888
19889 \end_inset
19890 </cell>
19891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19892 \begin_inset Text
19893
19894 \begin_layout Standard
19895 e
19896 \end_layout
19897
19898 \end_inset
19899 </cell>
19900 </row>
19901 </lyxtabular>
19902
19903 \end_inset
19904
19905
19906 \end_layout
19907
19908 \end_inset
19909
19910
19911 \end_layout
19912
19913 \begin_layout Section
19914 Caption Placement
19915 \begin_inset LatexCommand index
19916 name "Caption ! Placement"
19917
19918 \end_inset
19919
19920
19921 \begin_inset LatexCommand index
19922 name "Floats ! Caption Placement"
19923
19924 \end_inset
19925
19926
19927 \begin_inset LatexCommand label
19928 name "sec:Caption-Placement"
19929
19930 \end_inset
19931
19932
19933 \end_layout
19934
19935 \begin_layout Standard
19936 The common caption placement rule is:
19937 \end_layout
19938
19939 \begin_layout Description
19940 Figure: Caption is set below the figure
19941 \end_layout
19942
19943 \begin_layout Description
19944 Table: Caption is set above the table
19945 \end_layout
19946
19947 \begin_layout Standard
19948 Having the caption above the table is unfortunately not supported in LaTeX's
19949  standard classes.
19950  That means if you are using the document classes 
19951 \family sans
19952 article
19953 \family default
19954
19955 \family sans
19956 book
19957 \family default
19958
19959 \family sans
19960 letter
19961 \family default
19962 , or 
19963 \family sans
19964 report
19965 \family default
19966  there will be no space between the caption and the table.
19967  To insert the needed space, add the following option to the load command
19968  of the LaTeX-package 
19969 \series bold
19970 caption
19971 \series default
19972  in your document preamble
19973 \begin_inset Foot
19974 status collapsed
19975
19976 \begin_layout Standard
19977 See section\InsetSpace ~
19978
19979 \begin_inset LatexCommand ref
19980 reference "sec:Caption-Formatting"
19981
19982 \end_inset
19983
19984  for more information of the package 
19985 \series bold
19986 caption
19987 \series default
19988 .
19989 \end_layout
19990
19991 \end_inset
19992
19993 :
19994 \end_layout
19995
19996 \begin_layout Standard
19997
19998 \series bold
19999 tableposition=top
20000 \end_layout
20001
20002 \begin_layout Standard
20003 If you are using a 
20004 \series bold
20005 koma-script
20006 \series default
20007
20008 \begin_inset LatexCommand index
20009 name "LaTeX-packages ! koma-script"
20010
20011 \end_inset
20012
20013  document class (
20014 \family sans
20015 article (koma-script)
20016 \family default
20017
20018 \family sans
20019 book (koma-script)
20020 \family default
20021
20022 \family sans
20023 letter (koma-script)
20024 \family default
20025 , or 
20026 \family sans
20027 report (koma-script)
20028 \family default
20029 \InsetSpace \thinspace{}
20030 ), you can alternatively to the 
20031 \series bold
20032 caption
20033 \series default
20034  package set the document class option 
20035 \series bold
20036 tablecaptionabove
20037 \series default
20038 , or you can use the environment 
20039 \family sans
20040 caption\InsetSpace ~
20041 above
20042 \family default
20043  instead of the 
20044 \family sans
20045 caption
20046 \family default
20047  environment.
20048 \end_layout
20049
20050 \begin_layout Standard
20051 \begin_inset VSpace bigskip
20052 \end_inset
20053
20054 It is also possible to set the caption beside a figure or table.
20055  To get this the LaTeX-package 
20056 \series bold
20057 sidecap
20058 \series default
20059
20060 \begin_inset LatexCommand index
20061 name "LaTeX-packages ! sidecap"
20062
20063 \end_inset
20064
20065  has to be loaded in the document preamble with the line
20066 \end_layout
20067
20068 \begin_layout Standard
20069
20070 \series bold
20071
20072 \backslash
20073 usepackage[option]{sidecap}
20074 \end_layout
20075
20076 \begin_layout Standard
20077 If you set no option, the caption is placed on the side of the outer page
20078  margin -- to the right on odd pages, to the left on even pages.
20079  You can change the placement to inner margin with the option 
20080 \series bold
20081 innercaption
20082 \series default
20083 .
20084  To force the placement always to the right or left, use the option 
20085 \series bold
20086 rightcaption
20087 \series default
20088  or 
20089 \series bold
20090 leftcaption
20091 \series default
20092 , respectively.
20093 \end_layout
20094
20095 \begin_layout Standard
20096 To place in LyX the caption of a float on the side, it is necessary to add
20097  these commands to the document preamble:
20098 \end_layout
20099
20100 \begin_layout Standard
20101
20102 \lyxline
20103
20104 \end_layout
20105
20106 \begin_layout Standard
20107
20108 \series bold
20109
20110 \backslash
20111 newcommand{
20112 \backslash
20113 TabBesBeg}{%
20114 \newline
20115
20116 \begin_inset ERT
20117 status collapsed
20118
20119 \begin_layout Standard
20120
20121
20122 \backslash
20123 hphantom{ }
20124 \end_layout
20125
20126 \end_inset
20127
20128
20129 \backslash
20130 let
20131 \backslash
20132 MyTable
20133 \backslash
20134 table
20135 \newline
20136
20137 \begin_inset ERT
20138 status collapsed
20139
20140 \begin_layout Standard
20141
20142
20143 \backslash
20144 hphantom{ }
20145 \end_layout
20146
20147 \end_inset
20148
20149
20150 \backslash
20151 let
20152 \backslash
20153 MyEndtable
20154 \backslash
20155 endtable
20156 \newline
20157
20158 \begin_inset ERT
20159 status collapsed
20160
20161 \begin_layout Standard
20162
20163
20164 \backslash
20165 hphantom{ }
20166 \end_layout
20167
20168 \end_inset
20169
20170
20171 \backslash
20172 renewenvironment{table}{
20173 \backslash
20174 begin{SCtable}}{
20175 \backslash
20176 end{SCtable}}}
20177 \end_layout
20178
20179 \begin_layout Standard
20180
20181 \series bold
20182
20183 \backslash
20184 newcommand{
20185 \backslash
20186 TabBesEnd}{%
20187 \newline
20188
20189 \begin_inset ERT
20190 status collapsed
20191
20192 \begin_layout Standard
20193
20194
20195 \backslash
20196 hphantom{ }
20197 \end_layout
20198
20199 \end_inset
20200
20201
20202 \backslash
20203 let
20204 \backslash
20205 table
20206 \backslash
20207 MyTable
20208 \newline
20209
20210 \begin_inset ERT
20211 status collapsed
20212
20213 \begin_layout Standard
20214
20215
20216 \backslash
20217 hphantom{ }
20218 \end_layout
20219
20220 \end_inset
20221
20222
20223 \backslash
20224 let
20225 \backslash
20226 endtable
20227 \backslash
20228 MyEndtable
20229 \end_layout
20230
20231 \begin_layout Standard
20232
20233 \series bold
20234
20235 \backslash
20236 newcommand{
20237 \backslash
20238 FigBesBeg}{%
20239 \newline
20240
20241 \begin_inset ERT
20242 status collapsed
20243
20244 \begin_layout Standard
20245
20246
20247 \backslash
20248 hphantom{ }
20249 \end_layout
20250
20251 \end_inset
20252
20253
20254 \backslash
20255 let
20256 \backslash
20257 MyFigure
20258 \backslash
20259 f\SpecialChar \textcompwordmark{}
20260 igure
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 let
20278 \backslash
20279 MyEndf\SpecialChar \textcompwordmark{}
20280 igure
20281 \backslash
20282 endf\SpecialChar \textcompwordmark{}
20283 igure
20284 \newline
20285
20286 \begin_inset ERT
20287 status collapsed
20288
20289 \begin_layout Standard
20290
20291
20292 \backslash
20293 hphantom{ }
20294 \end_layout
20295
20296 \end_inset
20297
20298
20299 \backslash
20300 renewenvironment{f\SpecialChar \textcompwordmark{}
20301 igure}{
20302 \backslash
20303 begin{SCf\SpecialChar \textcompwordmark{}
20304 igure}}{
20305 \backslash
20306 end{SCf\SpecialChar \textcompwordmark{}
20307 igure}}}
20308 \end_layout
20309
20310 \begin_layout Standard
20311
20312 \series bold
20313
20314 \backslash
20315 newcommand{
20316 \backslash
20317 FigBesEnd}{%
20318 \newline
20319
20320 \begin_inset ERT
20321 status collapsed
20322
20323 \begin_layout Standard
20324
20325
20326 \backslash
20327 hphantom{ }
20328 \end_layout
20329
20330 \end_inset
20331
20332
20333 \backslash
20334 let
20335 \backslash
20336 f\SpecialChar \textcompwordmark{}
20337 igure
20338 \backslash
20339 MyFigure
20340 \newline
20341
20342 \begin_inset ERT
20343 status collapsed
20344
20345 \begin_layout Standard
20346
20347
20348 \backslash
20349 hphantom{ }
20350 \end_layout
20351
20352 \end_inset
20353
20354
20355 \backslash
20356 let
20357 \backslash
20358 endf\SpecialChar \textcompwordmark{}
20359 igure
20360 \backslash
20361 MyEndf\SpecialChar \textcompwordmark{}
20362 igure}
20363 \end_layout
20364
20365 \begin_layout Standard
20366
20367 \lyxline
20368
20369 \end_layout
20370
20371 \begin_layout Standard
20372 The commands allow you to redefine the floats so that the caption is set
20373  on the side.
20374  For figure floats use the command
20375 \end_layout
20376
20377 \begin_layout Standard
20378
20379 \series bold
20380
20381 \backslash
20382 FigBesBeg
20383 \end_layout
20384
20385 \begin_layout Standard
20386 in ERT before the float.
20387  Behind the float insert the command
20388 \end_layout
20389
20390 \begin_layout Standard
20391
20392 \series bold
20393
20394 \backslash
20395 FigBesEnd
20396 \end_layout
20397
20398 \begin_layout Standard
20399 in ERT to get back to the original float definition.
20400 \end_layout
20401
20402 \begin_layout Standard
20403 For table floats use the corresponding commands
20404 \end_layout
20405
20406 \begin_layout Standard
20407
20408 \series bold
20409
20410 \backslash
20411 TabBesBeg
20412 \series default
20413  and 
20414 \series bold
20415
20416 \backslash
20417 TabBesEnd
20418 \end_layout
20419
20420 \begin_layout Standard
20421 Figure\InsetSpace ~
20422
20423 \begin_inset LatexCommand ref
20424 reference "fig:cap-beside-fig"
20425
20426 \end_inset
20427
20428  and Table\InsetSpace ~
20429
20430 \begin_inset LatexCommand ref
20431 reference "tab:cap-beside-tab"
20432
20433 \end_inset
20434
20435  are examples where the caption is set beside.
20436 \end_layout
20437
20438 \begin_layout Standard
20439 You can see in the examples that the caption text appears at the top of
20440  the floats for table floats and at the bottom for figure floats.
20441  To change this, you can use the command
20442 \end_layout
20443
20444 \begin_layout Standard
20445
20446 \series bold
20447
20448 \backslash
20449 sidecaptionvpos{float type}{placement}
20450 \end_layout
20451
20452 \begin_layout Standard
20453 in the document preamble or in ERT before the float.
20454  The float type is either 
20455 \family sans
20456 figure
20457 \family default
20458  or 
20459 \family sans
20460 table
20461 \family default
20462 , the placement can be 
20463 \begin_inset Quotes eld
20464 \end_inset
20465
20466
20467 \family sans
20468 t
20469 \family default
20470
20471 \begin_inset Quotes erd
20472 \end_inset
20473
20474  for top, 
20475 \begin_inset Quotes eld
20476 \end_inset
20477
20478
20479 \family sans
20480 c
20481 \family default
20482
20483 \begin_inset Quotes erd
20484 \end_inset
20485
20486  for center, or 
20487 \begin_inset Quotes eld
20488 \end_inset
20489
20490
20491 \family sans
20492 b
20493 \family default
20494
20495 \begin_inset Quotes erd
20496 \end_inset
20497
20498  for bottom.
20499  To have for example the caption of figure floats vertically centered, use
20500  the command
20501 \end_layout
20502
20503 \begin_layout Standard
20504
20505 \series bold
20506
20507 \backslash
20508 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20509 igure}{c}
20510 \end_layout
20511
20512 \begin_layout Standard
20513 This was used for Figure\InsetSpace ~
20514
20515 \begin_inset LatexCommand ref
20516 reference "fig:cap-beside-fig-2"
20517
20518 \end_inset
20519
20520 .
20521 \end_layout
20522
20523 \begin_layout Standard
20524 \begin_inset VSpace defskip
20525 \end_inset
20526
20527 For more information about the package 
20528 \series bold
20529 sidecap
20530 \series default
20531  we refer to its documentation 
20532 \begin_inset LatexCommand cite
20533 key "sidecap"
20534
20535 \end_inset
20536
20537 .
20538 \end_layout
20539
20540 \begin_layout Standard
20541 \begin_inset Note Greyedout
20542 status open
20543
20544 \begin_layout Standard
20545
20546 \series bold
20547 Note:
20548 \series default
20549  The LaTeX-package 
20550 \series bold
20551 hypcap
20552 \series default
20553
20554 \begin_inset LatexCommand index
20555 name "LaTeX-packages ! hypcap"
20556
20557 \end_inset
20558
20559 , described in section\InsetSpace ~
20560
20561 \begin_inset LatexCommand ref
20562 reference "sub:Reference-Position"
20563
20564 \end_inset
20565
20566 , has no effect on floats with the caption set beside.
20567 \end_layout
20568
20569 \end_inset
20570
20571
20572 \end_layout
20573
20574 \begin_layout Standard
20575 \begin_inset ERT
20576 status collapsed
20577
20578 \begin_layout Standard
20579
20580
20581 \backslash
20582 FigBesBeg 
20583 \end_layout
20584
20585 \end_inset
20586
20587
20588 \end_layout
20589
20590 \begin_layout Standard
20591 \begin_inset Float figure
20592 wide false
20593 sideways false
20594 status open
20595
20596 \begin_layout Standard
20597 \begin_inset Graphics
20598         filename clipart/escher-lsd.eps
20599         scale 75
20600
20601 \end_inset
20602
20603
20604 \end_layout
20605
20606 \begin_layout Standard
20607 \begin_inset Caption
20608
20609 \begin_layout Standard
20610 \begin_inset LatexCommand label
20611 name "fig:cap-beside-fig"
20612
20613 \end_inset
20614
20615 This is a caption beside a figure.
20616 \end_layout
20617
20618 \end_inset
20619
20620
20621 \end_layout
20622
20623 \end_inset
20624
20625
20626 \end_layout
20627
20628 \begin_layout Standard
20629 \begin_inset ERT
20630 status collapsed
20631
20632 \begin_layout Standard
20633
20634
20635 \backslash
20636 TabBesBeg 
20637 \end_layout
20638
20639 \end_inset
20640
20641
20642 \end_layout
20643
20644 \begin_layout Standard
20645 \begin_inset Float table
20646 wide false
20647 sideways false
20648 status open
20649
20650 \begin_layout Standard
20651 \begin_inset Caption
20652
20653 \begin_layout Standard
20654 \begin_inset LatexCommand label
20655 name "tab:cap-beside-tab"
20656
20657 \end_inset
20658
20659 This is a caption beside a table.
20660 \end_layout
20661
20662 \end_inset
20663
20664
20665 \end_layout
20666
20667 \begin_layout Standard
20668 \begin_inset Tabular
20669 <lyxtabular version="3" rows="4" columns="5">
20670 <features>
20671 <column alignment="center" valignment="top" leftline="true" width="0">
20672 <column alignment="center" valignment="top" leftline="true" width="0">
20673 <column alignment="center" valignment="top" leftline="true" width="0">
20674 <column alignment="center" valignment="top" leftline="true" width="0">
20675 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20676 <row topline="true">
20677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20678 \begin_inset Text
20679
20680 \begin_layout Standard
20681 a
20682 \end_layout
20683
20684 \end_inset
20685 </cell>
20686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20687 \begin_inset Text
20688
20689 \begin_layout Standard
20690
20691 \end_layout
20692
20693 \end_inset
20694 </cell>
20695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20696 \begin_inset Text
20697
20698 \begin_layout Standard
20699 b
20700 \end_layout
20701
20702 \end_inset
20703 </cell>
20704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20705 \begin_inset Text
20706
20707 \begin_layout Standard
20708
20709 \end_layout
20710
20711 \end_inset
20712 </cell>
20713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20714 \begin_inset Text
20715
20716 \begin_layout Standard
20717 c
20718 \end_layout
20719
20720 \end_inset
20721 </cell>
20722 </row>
20723 <row topline="true">
20724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20725 \begin_inset Text
20726
20727 \begin_layout Standard
20728
20729 \end_layout
20730
20731 \end_inset
20732 </cell>
20733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20734 \begin_inset Text
20735
20736 \begin_layout Standard
20737 d
20738 \end_layout
20739
20740 \end_inset
20741 </cell>
20742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20743 \begin_inset Text
20744
20745 \begin_layout Standard
20746
20747 \end_layout
20748
20749 \end_inset
20750 </cell>
20751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20752 \begin_inset Text
20753
20754 \begin_layout Standard
20755 e
20756 \end_layout
20757
20758 \end_inset
20759 </cell>
20760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20761 \begin_inset Text
20762
20763 \begin_layout Standard
20764
20765 \end_layout
20766
20767 \end_inset
20768 </cell>
20769 </row>
20770 <row topline="true">
20771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20772 \begin_inset Text
20773
20774 \begin_layout Standard
20775 f
20776 \end_layout
20777
20778 \end_inset
20779 </cell>
20780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20781 \begin_inset Text
20782
20783 \begin_layout Standard
20784
20785 \end_layout
20786
20787 \end_inset
20788 </cell>
20789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20790 \begin_inset Text
20791
20792 \begin_layout Standard
20793 g
20794 \end_layout
20795
20796 \end_inset
20797 </cell>
20798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20799 \begin_inset Text
20800
20801 \begin_layout Standard
20802
20803 \end_layout
20804
20805 \end_inset
20806 </cell>
20807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20808 \begin_inset Text
20809
20810 \begin_layout Standard
20811 h
20812 \end_layout
20813
20814 \end_inset
20815 </cell>
20816 </row>
20817 <row topline="true" bottomline="true">
20818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20819 \begin_inset Text
20820
20821 \begin_layout Standard
20822
20823 \end_layout
20824
20825 \end_inset
20826 </cell>
20827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20828 \begin_inset Text
20829
20830 \begin_layout Standard
20831 i
20832 \end_layout
20833
20834 \end_inset
20835 </cell>
20836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20837 \begin_inset Text
20838
20839 \begin_layout Standard
20840
20841 \end_layout
20842
20843 \end_inset
20844 </cell>
20845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20846 \begin_inset Text
20847
20848 \begin_layout Standard
20849 j
20850 \end_layout
20851
20852 \end_inset
20853 </cell>
20854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20855 \begin_inset Text
20856
20857 \begin_layout Standard
20858
20859 \end_layout
20860
20861 \end_inset
20862 </cell>
20863 </row>
20864 </lyxtabular>
20865
20866 \end_inset
20867
20868
20869 \end_layout
20870
20871 \end_inset
20872
20873
20874 \end_layout
20875
20876 \begin_layout Standard
20877 \begin_inset ERT
20878 status collapsed
20879
20880 \begin_layout Standard
20881
20882
20883 \backslash
20884 TabBesEnd
20885 \end_layout
20886
20887 \end_inset
20888
20889
20890 \end_layout
20891
20892 \begin_layout Standard
20893 \begin_inset ERT
20894 status collapsed
20895
20896 \begin_layout Standard
20897
20898
20899 \backslash
20900 sidecaptionvpos{figure}{c}
20901 \end_layout
20902
20903 \end_inset
20904
20905
20906 \begin_inset Float figure
20907 wide false
20908 sideways false
20909 status open
20910
20911 \begin_layout Standard
20912 \begin_inset Graphics
20913         filename clipart/escher-lsd.eps
20914         scale 75
20915
20916 \end_inset
20917
20918
20919 \end_layout
20920
20921 \begin_layout Standard
20922 \begin_inset Caption
20923
20924 \begin_layout Standard
20925 \begin_inset LatexCommand label
20926 name "fig:cap-beside-fig-2"
20927
20928 \end_inset
20929
20930 This is a vertically centered caption beside a figure.
20931 \end_layout
20932
20933 \end_inset
20934
20935
20936 \end_layout
20937
20938 \end_inset
20939
20940
20941 \end_layout
20942
20943 \begin_layout Standard
20944 \begin_inset ERT
20945 status collapsed
20946
20947 \begin_layout Standard
20948
20949
20950 \backslash
20951 FigBesEnd
20952 \end_layout
20953
20954 \end_inset
20955
20956
20957 \end_layout
20958
20959 \begin_layout Section
20960 Listings of Floats
20961 \begin_inset LatexCommand label
20962 name "sec:Listings-of-Floats"
20963
20964 \end_inset
20965
20966
20967 \begin_inset LatexCommand index
20968 name "Floats ! Float Lists"
20969
20970 \end_inset
20971
20972
20973 \end_layout
20974
20975 \begin_layout Standard
20976 Similar to the the table of contents where the sections of the document
20977  are listed, there are listings for all float types, like the figures of
20978  the documents.
20979  You can insert them via the 
20980 \family sans
20981 Insert\SpecialChar \menuseparator
20982 List\InsetSpace ~
20983 /\InsetSpace ~
20984 TOC
20985 \family default
20986  sub menus.
20987 \end_layout
20988
20989 \begin_layout Standard
20990 The list entries are the float captions or its short title, the float number,
20991  and the page number where they appear in the document.
20992 \end_layout
20993
20994 \begin_layout Standard
20995 You can find the list of figures and tables at the end of this document.
20996 \end_layout
20997
20998 \begin_layout Chapter
20999 Notes
21000 \end_layout
21001
21002 \begin_layout Section
21003 \begin_inset ERT
21004 status collapsed
21005
21006 \begin_layout Standard
21007
21008
21009 \backslash
21010 texorpdfstring{
21011 \end_layout
21012
21013 \end_inset
21014
21015 LyX
21016 \begin_inset ERT
21017 status collapsed
21018
21019 \begin_layout Standard
21020
21021 }{LyX}
21022 \end_layout
21023
21024 \end_inset
21025
21026  Notes
21027 \begin_inset LatexCommand label
21028 name "sec:LyX-Notes"
21029
21030 \end_inset
21031
21032
21033 \begin_inset LatexCommand index
21034 name "Notes ! LyX Notes"
21035
21036 \end_inset
21037
21038
21039 \begin_inset Note Note
21040 status collapsed
21041
21042 \begin_layout Standard
21043 The command 
21044 \backslash
21045 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
21046  are displayed wrongly in PDF-bookmarks.
21047  For more information about this, have a look at 
21048 \begin_inset LatexCommand cite
21049 key "hyperref"
21050
21051 \end_inset
21052
21053 .
21054 \end_layout
21055
21056 \end_inset
21057
21058
21059 \end_layout
21060
21061 \begin_layout Standard
21062 Notes are inserted with the toolbar button 
21063 \begin_inset Graphics
21064         filename ../images/note-insert.xpm
21065         scale 85
21066
21067 \end_inset
21068
21069  or the menu 
21070 \family sans
21071 Insert\SpecialChar \menuseparator
21072 Note
21073 \family default
21074 .
21075  There are five types of notes:
21076 \end_layout
21077
21078 \begin_layout Description
21079 LyX\InsetSpace ~
21080 Note This note type is for internal notes that won't appear in the output.
21081  Its note-box looks like this:
21082 \newline
21083
21084 \newline
21085
21086 \begin_inset Graphics
21087         filename clipart/LyXNoteImageQt4.png
21088         display none
21089         scale 85
21090
21091 \end_inset
21092
21093  
21094 \begin_inset Note Note
21095 status open
21096
21097 \begin_layout Standard
21098 This is text in a note box that doesn't appear in the output.
21099 \end_layout
21100
21101 \end_inset
21102
21103
21104 \end_layout
21105
21106 \begin_layout Description
21107 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21108 ent, when you export the document to LaTeX via the menu 
21109 \family sans
21110 File\SpecialChar \menuseparator
21111 Export\SpecialChar \menuseparator
21112 LaTeX (pdflatex) / LaTeX (plain)
21113 \family default
21114 .
21115  Its note-box looks like this:
21116 \newline
21117
21118 \newline
21119
21120 \begin_inset Graphics
21121         filename clipart/CommentNoteImageQt4.png
21122         display none
21123         scale 85
21124
21125 \end_inset
21126
21127  
21128 \begin_inset Note Comment
21129 status open
21130
21131 \begin_layout Standard
21132 This is text in a note box that only appears as comment in LaTeX-files.
21133 \end_layout
21134
21135 \end_inset
21136
21137
21138 \end_layout
21139
21140 \begin_layout Description
21141 Greyed\InsetSpace ~
21142 Out This note will appear in the output as grey text.
21143  Its note-box looks like this:
21144 \newline
21145
21146 \newline
21147
21148 \begin_inset Graphics
21149         filename clipart/GreyedOutNoteImageQt4.png
21150         display none
21151         scale 85
21152
21153 \end_inset
21154
21155
21156 \newline
21157
21158 \begin_inset ERT
21159 status collapsed
21160
21161 \begin_layout Standard
21162
21163
21164 \backslash
21165 renewenvironment{lyxgreyedout}
21166 \end_layout
21167
21168 \begin_layout Standard
21169
21170 {
21171 \backslash
21172 textcolor[gray]{0.8}
21173 \backslash
21174 bgroup}{
21175 \backslash
21176 egroup}
21177 \end_layout
21178
21179 \end_inset
21180
21181
21182 \begin_inset Note Greyedout
21183 status open
21184
21185 \begin_layout Standard
21186 This is text
21187 \begin_inset Foot
21188 status open
21189
21190 \begin_layout Standard
21191 This is an example footnote within a greyed out note.
21192 \end_layout
21193
21194 \end_inset
21195
21196  of a comment that appears in the output as grey text.
21197 \end_layout
21198
21199 \end_inset
21200
21201
21202 \begin_inset ERT
21203 status collapsed
21204
21205 \begin_layout Standard
21206
21207
21208 \backslash
21209 renewenvironment{lyxgreyedout}
21210 \end_layout
21211
21212 \begin_layout Standard
21213
21214 {
21215 \backslash
21216 textcolor{blue}
21217 \backslash
21218 bgroup}{
21219 \backslash
21220 egroup}
21221 \end_layout
21222
21223 \end_inset
21224
21225
21226 \begin_inset Note Note
21227 status collapsed
21228
21229 \begin_layout Standard
21230 The greyed out note is here redefined to show it with the original LyX definitio
21231 n because greyed out notes are redefined in the preamble of this document,
21232  as described below, to have blue text.
21233 \end_layout
21234
21235 \end_inset
21236
21237
21238 \newline
21239
21240 \newline
21241 As you can see in the example, the first line of greyed out notes is a bit
21242  indented and greyed out notes can have footnotes.
21243 \end_layout
21244
21245 \begin_layout Description
21246 Framed This note will appear in the output as framed text.
21247  Its note-box looks like this:
21248 \newline
21249
21250 \newline
21251
21252 \begin_inset Graphics
21253         filename clipart/FramedNoteImageQt4.png
21254         display none
21255         scale 85
21256
21257 \end_inset
21258
21259  
21260 \begin_inset Note Framed
21261 status open
21262
21263 \begin_layout Standard
21264 This is text in a note box that appears framed in the output.
21265 \end_layout
21266
21267 \end_inset
21268
21269  In contrary to framed boxes
21270 \begin_inset Foot
21271 status collapsed
21272
21273 \begin_layout Standard
21274 Framed boxes are described in section\InsetSpace ~
21275
21276 \begin_inset LatexCommand ref
21277 reference "sec:Framed-Boxes"
21278
21279 \end_inset
21280
21281 .
21282 \end_layout
21283
21284 \end_inset
21285
21286  the frame uses always the whole text width and the note is set into its
21287  own paragraph.
21288 \end_layout
21289
21290 \begin_layout Description
21291 Shaded This note will appear in the output with red background color.
21292  Its note box looks like this:
21293 \newline
21294
21295 \newline
21296
21297 \begin_inset Graphics
21298         filename clipart/ShadedNoteImageQt4.png
21299         display none
21300         scale 85
21301
21302 \end_inset
21303
21304
21305 \begin_inset Note Shaded
21306 status open
21307
21308 \begin_layout Standard
21309 This text in a note box appears in the output with red background.
21310 \end_layout
21311
21312 \end_inset
21313
21314 In contrary to colored boxes
21315 \begin_inset Foot
21316 status collapsed
21317
21318 \begin_layout Standard
21319 Colored boxes are described in section\InsetSpace ~
21320
21321 \begin_inset LatexCommand ref
21322 reference "sec:Colored-Boxes"
21323
21324 \end_inset
21325
21326 .
21327 \end_layout
21328
21329 \end_inset
21330
21331  the note uses always the whole text width and the note is set into its
21332  own paragraph.
21333 \end_layout
21334
21335 \begin_layout Standard
21336 \begin_inset VSpace bigskip
21337 \end_inset
21338
21339 When you use the toolbar button to insert notes, a 
21340 \family sans
21341 LyX\InsetSpace ~
21342 Note
21343 \family default
21344  is inserted.
21345  You can switch between the five note types by right-clicking on the note-box.
21346  
21347 \family roman
21348 \series medium
21349 \bar no
21350 If you want to turn existing text into a note, mark it and click on the
21351  note
21352 \family default
21353 \series default
21354 \bar default
21355  toolbar 
21356 \family roman
21357 \series medium
21358 \bar no
21359 button
21360 \family default
21361 \series default
21362 \bar default
21363 .
21364 \end_layout
21365
21366 \begin_layout Standard
21367 \begin_inset VSpace bigskip
21368 \end_inset
21369
21370 You can change the text color of the greyed out notes in the preamble with
21371  the following command:
21372 \end_layout
21373
21374 \begin_layout Standard
21375
21376 \series bold
21377
21378 \backslash
21379 renewenvironment{lyxgreyedout}
21380 \newline
21381
21382 \begin_inset ERT
21383 status collapsed
21384
21385 \begin_layout Standard
21386
21387
21388 \backslash
21389 hphantom{ }
21390 \end_layout
21391
21392 \end_inset
21393
21394 {
21395 \backslash
21396 textcolor{color}
21397 \backslash
21398 bgroup}{
21399 \backslash
21400 egroup}
21401 \end_layout
21402
21403 \begin_layout Standard
21404 The available colors and the method to define own colors is explained in
21405  section\InsetSpace ~
21406
21407 \begin_inset LatexCommand ref
21408 reference "sec:Colored-Tables"
21409
21410 \end_inset
21411
21412 .
21413 \end_layout
21414
21415 \begin_layout Standard
21416 Notes that appear in blue in this document are set using greyed out notes
21417  with blue text.
21418 \end_layout
21419
21420 \begin_layout Standard
21421 \begin_inset VSpace bigskip
21422 \end_inset
21423
21424
21425 \end_layout
21426
21427 \begin_layout Standard
21428 The text style of 
21429 \family sans
21430 Framed
21431 \family default
21432  and 
21433 \family sans
21434 Shaded
21435 \family default
21436  notes can be set in the 
21437 \family sans
21438 Text Style
21439 \family default
21440  dialog.
21441 \end_layout
21442
21443 \begin_layout Standard
21444 The default frame width for 
21445 \family sans
21446 Framed
21447 \family default
21448  notes is 0.4\InsetSpace \thinspace{}
21449 pt; it can be changed by changing the size 
21450 \series bold
21451
21452 \backslash
21453 FrameRule
21454 \series default
21455 .
21456  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21457 pt; it can
21458  be changed by changing the size 
21459 \series bold
21460
21461 \backslash
21462 FrameSep
21463 \series default
21464 .
21465  For example the frame appearance of the following 
21466 \family sans
21467 Framed
21468 \family default
21469  note is set with the ERT commands
21470 \end_layout
21471
21472 \begin_layout Standard
21473
21474 \series bold
21475
21476 \backslash
21477 FrameRule 5pt 
21478 \backslash
21479 FrameSep 0.5cm
21480 \end_layout
21481
21482 \begin_layout Standard
21483 \begin_inset ERT
21484 status collapsed
21485
21486 \begin_layout Standard
21487
21488
21489 \backslash
21490 FrameRule 5pt 
21491 \backslash
21492 FrameSep 0.5cm
21493 \end_layout
21494
21495 \end_inset
21496
21497
21498 \begin_inset Note Framed
21499 status open
21500
21501 \begin_layout Standard
21502 This is text in a 
21503 \family sans
21504 Framed
21505 \family default
21506  note.
21507 \end_layout
21508
21509 \end_inset
21510
21511
21512 \begin_inset ERT
21513 status collapsed
21514
21515 \begin_layout Standard
21516
21517
21518 \backslash
21519 FrameRule 0.4pt 
21520 \backslash
21521 FrameSep 9pt
21522 \end_layout
21523
21524 \end_inset
21525
21526
21527 \end_layout
21528
21529 \begin_layout Standard
21530 \begin_inset VSpace bigskip
21531 \end_inset
21532
21533
21534 \end_layout
21535
21536 \begin_layout Standard
21537 For 
21538 \family sans
21539 Shaded
21540 \family default
21541  notes the default space between the note content and the note border is
21542  3\InsetSpace \thinspace{}
21543 pt; it can be changed by changing the size 
21544 \series bold
21545
21546 \backslash
21547 fboxsep
21548 \series default
21549 .
21550 \newline
21551 The default background color red can be changed with the command 
21552 \series bold
21553
21554 \backslash
21555 def\SpecialChar \textcompwordmark{}
21556 inecolor{shadebox}
21557 \series default
21558 .
21559  The scheme of the 
21560 \series bold
21561
21562 \backslash
21563 def\SpecialChar \textcompwordmark{}
21564 inecolor
21565 \series default
21566  command is explained in section\InsetSpace ~
21567
21568 \begin_inset LatexCommand ref
21569 reference "sec:Colored-Tables"
21570
21571 \end_inset
21572
21573
21574 \begin_inset Foot
21575 status collapsed
21576
21577 \begin_layout Standard
21578 Note that 
21579 \series bold
21580
21581 \backslash
21582 def
21583 \series default
21584 \SpecialChar \textcompwordmark{}
21585
21586 \series bold
21587 inecolor
21588 \series default
21589  requires the LaTeX-package 
21590 \series bold
21591 color
21592 \series default
21593  in the preamble, see section\InsetSpace ~
21594
21595 \begin_inset LatexCommand ref
21596 reference "sec:Colored-Boxes"
21597
21598 \end_inset
21599
21600 .
21601 \end_layout
21602
21603 \end_inset
21604
21605 .
21606 \end_layout
21607
21608 \begin_layout Standard
21609 For example the appearance of the following 
21610 \family sans
21611 Shaded
21612 \family default
21613  note is set with the ERT commands
21614 \end_layout
21615
21616 \begin_layout Standard
21617
21618 \series bold
21619
21620 \backslash
21621 fboxsep 0.5cm
21622 \series default
21623
21624 \newline
21625
21626 \series bold
21627
21628 \backslash
21629 def\SpecialChar \textcompwordmark{}
21630 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21631 \end_layout
21632
21633 \begin_layout Standard
21634 \begin_inset ERT
21635 status collapsed
21636
21637 \begin_layout Standard
21638
21639
21640 \backslash
21641 fboxsep 0.5cm
21642 \end_layout
21643
21644 \end_inset
21645
21646
21647 \begin_inset ERT
21648 status collapsed
21649
21650 \begin_layout Standard
21651
21652
21653 \backslash
21654 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21655 \end_layout
21656
21657 \end_inset
21658
21659
21660 \begin_inset Note Shaded
21661 status open
21662
21663 \begin_layout Standard
21664
21665 \color yellow
21666 This is yellow text in a
21667 \color none
21668  
21669 \family sans
21670 \color yellow
21671 Shaded
21672 \family default
21673 \color none
21674  
21675 \color yellow
21676 note with darkgreen background.
21677 \end_layout
21678
21679 \end_inset
21680
21681
21682 \begin_inset ERT
21683 status collapsed
21684
21685 \begin_layout Standard
21686
21687
21688 \backslash
21689 fboxsep 3pt
21690 \end_layout
21691
21692 \end_inset
21693
21694
21695 \begin_inset ERT
21696 status collapsed
21697
21698 \begin_layout Standard
21699
21700
21701 \backslash
21702 definecolor{shadecolor}{rgb}{1,0,0}
21703 \end_layout
21704
21705 \end_inset
21706
21707
21708 \end_layout
21709
21710 \begin_layout Section
21711 Footnotes
21712 \begin_inset LatexCommand label
21713 name "sec:Footnotes"
21714
21715 \end_inset
21716
21717
21718 \begin_inset LatexCommand index
21719 name "Notes ! Footnotes"
21720
21721 \end_inset
21722
21723
21724 \begin_inset LatexCommand index
21725 name "Footnotes"
21726
21727 \end_inset
21728
21729
21730 \end_layout
21731
21732 \begin_layout Standard
21733 Footnotes can be inserted using the toolbar button 
21734 \begin_inset Graphics
21735         filename ../images/footnote-insert.xpm
21736         scale 85
21737
21738 \end_inset
21739
21740  or the menu 
21741 \family sans
21742 Insert\SpecialChar \menuseparator
21743 Footnote
21744 \family default
21745 .
21746  
21747 \family roman
21748 \series medium
21749 \bar no
21750 You'll see
21751 \family default
21752 \series default
21753 \bar default
21754  then the following footnote-box: 
21755 \begin_inset Graphics
21756         filename clipart/footnoteQt4.png
21757         scale 80
21758
21759 \end_inset
21760
21761  
21762 \family roman
21763 \series medium
21764 \bar no
21765 where you can enter the footnote text.
21766  If you want to turn existing text into a footnote, mark it and click on
21767  the footnote
21768 \family default
21769 \series default
21770 \bar default
21771  toolbar 
21772 \family roman
21773 \series medium
21774 \bar no
21775 button
21776 \family default
21777 \series default
21778 \bar default
21779 .
21780 \end_layout
21781
21782 \begin_layout Standard
21783 Here is an example footnote:
21784 \family roman
21785 \series medium
21786 \bar no
21787
21788 \begin_inset Foot
21789 status open
21790
21791 \begin_layout Standard
21792 \begin_inset LatexCommand label
21793 name "foot:This-is-an"
21794
21795 \end_inset
21796
21797 This is an example footnote.
21798 \end_layout
21799
21800 \end_inset
21801
21802
21803 \family default
21804 \series default
21805 \bar default
21806
21807 \begin_inset ERT
21808 status collapsed
21809
21810 \begin_layout Standard
21811
21812
21813 \backslash
21814 newcounter{MyRepeatFoot}
21815 \end_layout
21816
21817 \begin_layout Standard
21818
21819
21820 \backslash
21821 setcounter{MyRepeatFoot}{
21822 \backslash
21823 thefootnote}
21824 \end_layout
21825
21826 \end_inset
21827
21828
21829 \end_layout
21830
21831 \begin_layout Standard
21832 The footnote will appear in the output as a superscript number at the text
21833  position where the footnote box is placed.
21834  The footnote text is placed at the bottom of the current page.
21835  The footnote number is calculated by LaTeX, the numbers are consecutive.
21836  It depends on your document-class, if the footnote number is reset for
21837  every chapter.
21838 \end_layout
21839
21840 \begin_layout Standard
21841 Footnotes can be referenced like floats: Insert a label into the footnote
21842  and cross-reference this label in the text as described in section\InsetSpace ~
21843
21844 \begin_inset LatexCommand ref
21845 reference "sec:Referencing-Floats"
21846
21847 \end_inset
21848
21849 .
21850 \newline
21851 This is a cross-reference of Footnote\InsetSpace ~
21852
21853 \begin_inset LatexCommand ref
21854 reference "foot:This-is-an"
21855
21856 \end_inset
21857
21858 .
21859 \end_layout
21860
21861 \begin_layout Standard
21862 \begin_inset VSpace defskip
21863 \end_inset
21864
21865 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21866
21867 \begin_inset LatexCommand ref
21868 reference "sec:Minipages"
21869
21870 \end_inset
21871
21872 .
21873  Footnotes within longtables are described in section\InsetSpace ~
21874
21875 \begin_inset LatexCommand ref
21876 reference "sub:Footnotes-in-Longtables"
21877
21878 \end_inset
21879
21880 .
21881 \end_layout
21882
21883 \begin_layout Standard
21884 \begin_inset VSpace defskip
21885 \end_inset
21886
21887 To create only a mark for a footnote, use the command 
21888 \series bold
21889
21890 \backslash
21891 footnotemark[number]
21892 \series default
21893  in ERT.
21894  This is used when you have the same annotation several times in a text
21895  but doesn't want to print the footnote text every time.
21896 \newline
21897 As you don't know
21898  the number of the repeating footnote while you are writing the text, you
21899  have to store its number.
21900  For the following footnote mark example, these commands were inserted in
21901  ERT behind Footnote\InsetSpace ~
21902
21903 \begin_inset LatexCommand ref
21904 reference "foot:This-is-an"
21905
21906 \end_inset
21907
21908  to store the footnote number:
21909 \end_layout
21910
21911 \begin_layout Standard
21912
21913 \series bold
21914
21915 \backslash
21916 newcounter{MyRepeatFoot}
21917 \newline
21918
21919 \backslash
21920 setcounter{MyRepeatFoot}{
21921 \backslash
21922 thefootnote}
21923 \end_layout
21924
21925 \begin_layout Standard
21926 The footnote mark was then created with this command:
21927 \end_layout
21928
21929 \begin_layout Standard
21930
21931 \series bold
21932
21933 \backslash
21934 footnotemark[
21935 \backslash
21936 theMyRepeatFoot]
21937 \end_layout
21938
21939 \begin_layout Standard
21940 Here is an example footnote mark:
21941 \family roman
21942 \series medium
21943 \bar no
21944
21945 \begin_inset ERT
21946 status collapsed
21947
21948 \begin_layout Standard
21949
21950
21951 \backslash
21952 footnotemark[
21953 \backslash
21954 theMyRepeatFoot]
21955 \end_layout
21956
21957 \end_inset
21958
21959
21960 \end_layout
21961
21962 \begin_layout Subsection
21963 Footnote Numbering
21964 \begin_inset LatexCommand label
21965 name "sub:Footnote-Numbering"
21966
21967 \end_inset
21968
21969
21970 \begin_inset LatexCommand index
21971 name "Footnotes ! Numbering"
21972
21973 \end_inset
21974
21975
21976 \end_layout
21977
21978 \begin_layout Standard
21979 To reset the footnote number back to 1 after each section
21980 \family roman
21981 , add this command to your document preamble:
21982 \end_layout
21983
21984 \begin_layout Standard
21985
21986 \series bold
21987
21988 \backslash
21989 @addtoreset{footnote}{section}
21990 \end_layout
21991
21992 \begin_layout Standard
21993 \begin_inset VSpace bigskip
21994 \end_inset
21995
21996 The following preamble command changes the footnote numbering style to small
21997  roman numerals:
21998 \end_layout
21999
22000 \begin_layout Standard
22001
22002 \series bold
22003
22004 \backslash
22005 renewcommand{
22006 \backslash
22007 thefootnote}{
22008 \backslash
22009 roman{footnote}}
22010 \end_layout
22011
22012 \begin_layout Standard
22013 \begin_inset ERT
22014 status collapsed
22015
22016 \begin_layout Standard
22017
22018
22019 \backslash
22020 renewcommand{
22021 \backslash
22022 thefootnote}{
22023 \backslash
22024 roman{footnote}}
22025 \end_layout
22026
22027 \end_inset
22028
22029  This is a footnote with roman numbering:
22030 \begin_inset Foot
22031 status open
22032
22033 \begin_layout Standard
22034 This is an example footnote with roman numbering.
22035 \end_layout
22036
22037 \end_inset
22038
22039
22040 \begin_inset ERT
22041 status collapsed
22042
22043 \begin_layout Standard
22044
22045
22046 \backslash
22047 renewcommand{
22048 \backslash
22049 thefootnote}{
22050 \backslash
22051 arabic{footnote}}
22052 \end_layout
22053
22054 \end_inset
22055
22056
22057 \end_layout
22058
22059 \begin_layout Standard
22060 To change the numbering style to capital roman numerals replace in the command
22061  above 
22062 \series bold
22063
22064 \backslash
22065 roman
22066 \series default
22067  by 
22068 \series bold
22069
22070 \backslash
22071 Roman
22072 \series default
22073 .
22074  To 
22075 \begin_inset Quotes eld
22076 \end_inset
22077
22078 number
22079 \begin_inset Quotes erd
22080 \end_inset
22081
22082  footnotes with capital or small Latin letters use 
22083 \series bold
22084
22085 \backslash
22086 Alph
22087 \series default
22088  or 
22089 \series bold
22090
22091 \backslash
22092 alph
22093 \series default
22094 , respectively.
22095  To 
22096 \begin_inset Quotes eld
22097 \end_inset
22098
22099 number
22100 \begin_inset Quotes erd
22101 \end_inset
22102
22103  footnotes with symbols use 
22104 \series bold
22105
22106 \backslash
22107 fnsymbol
22108 \series default
22109 .
22110 \end_layout
22111
22112 \begin_layout Standard
22113 \begin_inset Note Greyedout
22114 status open
22115
22116 \begin_layout Standard
22117
22118 \series bold
22119 Note:
22120 \series default
22121  You can only number 26 footnotes with Latin letters, because this numbering
22122  is limited to single letters.
22123 \end_layout
22124
22125 \end_inset
22126
22127
22128 \newline
22129
22130 \begin_inset Note Greyedout
22131 status open
22132
22133 \begin_layout Standard
22134
22135 \series bold
22136 Note:
22137 \series default
22138  You can only number 9 footnotes with symbols.
22139 \end_layout
22140
22141 \end_inset
22142
22143
22144 \end_layout
22145
22146 \begin_layout Standard
22147 To return to the default numbering style when you changed to another one,
22148  use 
22149 \series bold
22150
22151 \backslash
22152 arabic
22153 \series default
22154  instead of 
22155 \series bold
22156
22157 \backslash
22158 roman
22159 \series default
22160  in the command above.
22161 \end_layout
22162
22163 \begin_layout Standard
22164 \begin_inset VSpace bigskip
22165 \end_inset
22166
22167
22168 \end_layout
22169
22170 \begin_layout Standard
22171 If you want to have footnotes numbered in the scheme 
22172 \begin_inset Quotes eld
22173 \end_inset
22174
22175 chapter.footnote
22176 \begin_inset Quotes erd
22177 \end_inset
22178
22179 , add the following command to your document preamble:
22180 \end_layout
22181
22182 \begin_layout Standard
22183
22184 \series bold
22185
22186 \backslash
22187 numberwithin{footnote}{chapter}
22188 \end_layout
22189
22190 \begin_layout Standard
22191 To be able to use the command 
22192 \series bold
22193
22194 \backslash
22195 numberwithin
22196 \series default
22197 , set in the tab 
22198 \family sans
22199 Math\InsetSpace ~
22200 Options
22201 \family default
22202  in the document settings the option 
22203 \family sans
22204 Use\InsetSpace ~
22205 AMS\InsetSpace ~
22206 math\InsetSpace ~
22207 package
22208 \family default
22209 .
22210 \end_layout
22211
22212 \begin_layout Standard
22213 \begin_inset ERT
22214 status collapsed
22215
22216 \begin_layout Standard
22217
22218
22219 \backslash
22220 numberwithin{footnote}{chapter}
22221 \end_layout
22222
22223 \end_inset
22224
22225 This is another example footnote:
22226 \series bold
22227
22228 \begin_inset Foot
22229 status open
22230
22231 \begin_layout Standard
22232 This is a footnote numbered in the scheme 
22233 \begin_inset Quotes eld
22234 \end_inset
22235
22236 chapter.footnote
22237 \begin_inset Quotes erd
22238 \end_inset
22239
22240 .
22241 \end_layout
22242
22243 \end_inset
22244
22245
22246 \series default
22247
22248 \begin_inset ERT
22249 status open
22250
22251 \begin_layout Standard
22252
22253
22254 \backslash
22255 renewcommand{
22256 \backslash
22257 thefootnote}{
22258 \backslash
22259 arabic{footnote}}
22260 \end_layout
22261
22262 \end_inset
22263
22264
22265 \end_layout
22266
22267 \begin_layout Standard
22268 \begin_inset Note Greyedout
22269 status open
22270
22271 \begin_layout Standard
22272
22273 \series bold
22274 Note:
22275 \series default
22276  
22277 \series bold
22278
22279 \backslash
22280 numberwithin
22281 \series default
22282  always prints out the footnote number as arabic number; previous redefinitions
22283  to get non-arabic numbers are overwritten.
22284 \end_layout
22285
22286 \end_inset
22287
22288
22289 \end_layout
22290
22291 \begin_layout Standard
22292 So to get for example the scheme 
22293 \begin_inset Quotes eld
22294 \end_inset
22295
22296 chapter.
22297 \backslash
22298 Roman{footnote}
22299 \begin_inset Quotes erd
22300 \end_inset
22301
22302 , use this command instead of 
22303 \series bold
22304
22305 \backslash
22306 numberwithin
22307 \series default
22308 :
22309 \end_layout
22310
22311 \begin_layout Standard
22312
22313 \series bold
22314
22315 \backslash
22316 renewcommand{
22317 \backslash
22318 thefootnote}{
22319 \backslash
22320 thechapter.
22321 \backslash
22322 Roman{footnote}}
22323 \end_layout
22324
22325 \begin_layout Subsection
22326 Footnote Placement
22327 \begin_inset LatexCommand index
22328 name "Footnotes ! Placement"
22329
22330 \end_inset
22331
22332
22333 \end_layout
22334
22335 \begin_layout Standard
22336 If you have several footnotes in one page, they appear without vertical
22337  space between them at the bottom of the page.
22338  To make them better readable you can e.\InsetSpace \thinspace{}
22339 g.\InsetSpace ~
22340 add 1.5\InsetSpace \thinspace{}
22341 mm space with the following
22342  preamble command:
22343 \end_layout
22344
22345 \begin_layout Standard
22346
22347 \series bold
22348
22349 \backslash
22350 let
22351 \backslash
22352 myFoot
22353 \backslash
22354 footnote
22355 \newline
22356
22357 \backslash
22358 renewcommand{
22359 \backslash
22360 footnote}[1]{
22361 \backslash
22362 myFoot{#1
22363 \backslash
22364 vspace{1.5mm}}}
22365 \end_layout
22366
22367 \begin_layout Standard
22368 \begin_inset VSpace bigskip
22369 \end_inset
22370
22371 In a two-column document the footnotes appear at the bottom of every column,
22372  see Figure\InsetSpace ~
22373
22374 \begin_inset LatexCommand ref
22375 reference "fig:Standard-footnote-placement"
22376
22377 \end_inset
22378
22379 .
22380  If the footnotes should only appear at the bottom of the right column,
22381  as in Figure\InsetSpace ~
22382
22383 \begin_inset LatexCommand ref
22384 reference "fig:Footnote-placement-in"
22385
22386 \end_inset
22387
22388 , use the LaTeX-package 
22389 \series bold
22390 ftnright
22391 \series default
22392
22393 \begin_inset LatexCommand index
22394 name "LaTeX-packages ! ftnright"
22395
22396 \end_inset
22397
22398  with this command in the document preamble:
22399 \end_layout
22400
22401 \begin_layout Standard
22402
22403 \series bold
22404
22405 \backslash
22406 usepackage{ftnright}
22407 \end_layout
22408
22409 \begin_layout Standard
22410 \begin_inset Float figure
22411 placement !h
22412 wide false
22413 sideways false
22414 status open
22415
22416 \begin_layout Standard
22417 \begin_inset ERT
22418 status collapsed
22419
22420 \begin_layout Standard
22421
22422
22423 \backslash
22424 framebox{
22425 \end_layout
22426
22427 \end_inset
22428
22429
22430 \begin_inset Graphics
22431         filename clipart/without_fntright.pdf
22432         width 100col%
22433
22434 \end_inset
22435
22436
22437 \begin_inset ERT
22438 status collapsed
22439
22440 \begin_layout Standard
22441
22442 }
22443 \end_layout
22444
22445 \end_inset
22446
22447
22448 \end_layout
22449
22450 \begin_layout Standard
22451 \begin_inset Caption
22452
22453 \begin_layout Standard
22454 \begin_inset LatexCommand label
22455 name "fig:Standard-footnote-placement"
22456
22457 \end_inset
22458
22459 Standard footnote placement in two-column documents.
22460 \end_layout
22461
22462 \end_inset
22463
22464
22465 \end_layout
22466
22467 \end_inset
22468
22469
22470 \end_layout
22471
22472 \begin_layout Standard
22473 \begin_inset Float figure
22474 placement !h
22475 wide false
22476 sideways false
22477 status open
22478
22479 \begin_layout Standard
22480 \begin_inset ERT
22481 status collapsed
22482
22483 \begin_layout Standard
22484
22485
22486 \backslash
22487 framebox{
22488 \end_layout
22489
22490 \end_inset
22491
22492
22493 \begin_inset Graphics
22494         filename clipart/with_fntright.pdf
22495         width 100col%
22496
22497 \end_inset
22498
22499
22500 \begin_inset ERT
22501 status collapsed
22502
22503 \begin_layout Standard
22504
22505 }
22506 \end_layout
22507
22508 \end_inset
22509
22510
22511 \end_layout
22512
22513 \begin_layout Standard
22514 \begin_inset Caption
22515
22516 \begin_layout Standard
22517 \begin_inset LatexCommand label
22518 name "fig:Footnote-placement-in"
22519
22520 \end_inset
22521
22522 Footnote placement in two-column documents when the LaTeX-package 
22523 \series bold
22524 ftnright
22525 \series default
22526  is used.
22527 \end_layout
22528
22529 \end_inset
22530
22531
22532 \end_layout
22533
22534 \end_inset
22535
22536
22537 \end_layout
22538
22539 \begin_layout Standard
22540 \begin_inset VSpace bigskip
22541 \end_inset
22542
22543 In some scientific literature it is usual to collect the footnotes and print
22544  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22545
22546 \begin_inset LatexCommand ref
22547 reference "fig:Endnotes----footnotes"
22548
22549 \end_inset
22550
22551 .
22552  They are then so called 
22553 \begin_inset Quotes eld
22554 \end_inset
22555
22556 endnotes
22557 \begin_inset Quotes erd
22558 \end_inset
22559
22560 .
22561  To use endnotes instead of footnotes in your document, load the LaTeX-package
22562  
22563 \series bold
22564 endnotes
22565 \series default
22566
22567 \begin_inset LatexCommand index
22568 name "LaTeX-packages ! endnotes"
22569
22570 \end_inset
22571
22572  with the document preamble lines
22573 \end_layout
22574
22575 \begin_layout Standard
22576
22577 \series bold
22578
22579 \backslash
22580 usepackage{endnotes}
22581 \newline
22582
22583 \backslash
22584 let
22585 \backslash
22586 footnote
22587 \backslash
22588 endnote
22589 \end_layout
22590
22591 \begin_layout Standard
22592 To insert the collected footnotes, insert the command
22593 \end_layout
22594
22595 \begin_layout Standard
22596
22597 \series bold
22598
22599 \backslash
22600 theendnotes
22601 \end_layout
22602
22603 \begin_layout Standard
22604 in ERT at the the end of a section or chapter.
22605 \end_layout
22606
22607 \begin_layout Standard
22608 \begin_inset Float figure
22609 wide false
22610 sideways false
22611 status open
22612
22613 \begin_layout Standard
22614 \align center
22615 \begin_inset ERT
22616 status collapsed
22617
22618 \begin_layout Standard
22619
22620
22621 \backslash
22622 framebox{
22623 \end_layout
22624
22625 \end_inset
22626
22627
22628 \begin_inset Graphics
22629         filename clipart/endnotes.pdf
22630
22631 \end_inset
22632
22633
22634 \begin_inset ERT
22635 status collapsed
22636
22637 \begin_layout Standard
22638
22639 }
22640 \end_layout
22641
22642 \end_inset
22643
22644
22645 \end_layout
22646
22647 \begin_layout Standard
22648 \begin_inset Caption
22649
22650 \begin_layout Standard
22651 \begin_inset LatexCommand label
22652 name "fig:Endnotes----footnotes"
22653
22654 \end_inset
22655
22656 Endnotes -- footnotes are printed in a separate paragraph at the end of
22657  sections or chapters.
22658 \end_layout
22659
22660 \end_inset
22661
22662
22663 \end_layout
22664
22665 \end_inset
22666
22667
22668 \end_layout
22669
22670 \begin_layout Standard
22671 \begin_inset VSpace defskip
22672 \end_inset
22673
22674 The paragraph heading for the endnotes isn't automatically translated into
22675  the document language, this must be done manually.
22676  The following preamble command translate the default English name 
22677 \begin_inset Quotes eld
22678 \end_inset
22679
22680 Notes
22681 \begin_inset Quotes erd
22682 \end_inset
22683
22684  to the German translation 
22685 \begin_inset Quotes eld
22686 \end_inset
22687
22688 Anmerkungen
22689 \begin_inset Quotes erd
22690 \end_inset
22691
22692 :
22693 \end_layout
22694
22695 \begin_layout Standard
22696
22697 \series bold
22698
22699 \backslash
22700 renewcommand{
22701 \backslash
22702 notesname}{Anmerkungen}
22703 \end_layout
22704
22705 \begin_layout Standard
22706 \begin_inset VSpace defskip
22707 \end_inset
22708
22709 The numbering of endnotes can be changed like the footnote numbering as
22710  described in section\InsetSpace ~
22711
22712 \begin_inset LatexCommand ref
22713 reference "sub:Footnote-Numbering"
22714
22715 \end_inset
22716
22717 ; just replace the command 
22718 \series bold
22719
22720 \backslash
22721 thefootnote
22722 \series default
22723  by 
22724 \series bold
22725
22726 \backslash
22727 theendnote
22728 \series default
22729 .
22730  To reset the endnote number use the command 
22731 \series bold
22732
22733 \backslash
22734 @addtoreset
22735 \series default
22736  as described in section\InsetSpace ~
22737
22738 \begin_inset LatexCommand ref
22739 reference "sub:Footnote-Numbering"
22740
22741 \end_inset
22742
22743  and replace the command parameter 
22744 \series bold
22745 footnote
22746 \series default
22747  by 
22748 \series bold
22749 endnote
22750 \series default
22751 .
22752 \end_layout
22753
22754 \begin_layout Standard
22755 To create only a mark for an endnote, use the command 
22756 \series bold
22757
22758 \backslash
22759 endnotemark[number]
22760 \series default
22761  similar to the command 
22762 \series bold
22763
22764 \backslash
22765 footnotemark
22766 \series default
22767 , described in section\InsetSpace ~
22768
22769 \begin_inset LatexCommand ref
22770 reference "sec:Footnotes"
22771
22772 \end_inset
22773
22774 .
22775 \end_layout
22776
22777 \begin_layout Standard
22778 \begin_inset VSpace bigskip
22779 \end_inset
22780
22781 Footnotes can also be placed in the page margin and the footnote text alignment
22782  can be changed, see the LaTeX-package 
22783 \series bold
22784 footmisc
22785 \series default
22786
22787 \begin_inset LatexCommand index
22788 name "LaTeX-packages ! footmisc"
22789
22790 \end_inset
22791
22792
22793 \begin_inset LatexCommand cite
22794 key "footmisc"
22795
22796 \end_inset
22797
22798  for more information about this.
22799 \end_layout
22800
22801 \begin_layout Standard
22802 For various further footnote formatting issues have a look at LaTeX-books,
22803  
22804 \begin_inset LatexCommand cite
22805 key "latexcompanion,latexguide,latexbook"
22806
22807 \end_inset
22808
22809 .
22810 \end_layout
22811
22812 \begin_layout Section
22813 Margin Notes
22814 \begin_inset LatexCommand index
22815 name "Notes ! Margin Notes"
22816
22817 \end_inset
22818
22819
22820 \end_layout
22821
22822 \begin_layout Standard
22823 Margin notes look and behave in LyX like footnotes.
22824  They are inserted via the menu 
22825 \family sans
22826 Insert\SpecialChar \menuseparator
22827 Marginal\InsetSpace ~
22828 Note
22829 \family default
22830  or the toolbar button 
22831 \begin_inset Graphics
22832         filename ../images/marginalnote-insert.xpm
22833         scale 85
22834
22835 \end_inset
22836
22837 .
22838  A grey 
22839 \family roman
22840 \series medium
22841 box with the
22842 \family default
22843 \series default
22844  red 
22845 \family roman
22846 \series medium
22847 label 
22848 \begin_inset Quotes eld
22849 \end_inset
22850
22851 margin
22852 \begin_inset Quotes erd
22853 \end_inset
22854
22855  appears where you can enter the text of the margin note.
22856 \end_layout
22857
22858 \begin_layout Standard
22859 At the side is an example margin note.
22860 \family roman
22861 \series medium
22862
22863 \begin_inset Marginal
22864 status open
22865
22866 \begin_layout Standard
22867 This is a margin note.
22868 \end_layout
22869
22870 \end_inset
22871
22872
22873 \end_layout
22874
22875 \begin_layout Standard
22876 Margin notes appear at the right side in single-sided documents.
22877  In double-sided documents they appear in the outer margin -- left on even
22878  pages, right on odd pages.
22879  The text of margin notes is aligned opposite to the outer margin -- right-align
22880 ed when the note appears in the left margin.
22881  The first line of the margin note is placed at the position of the text
22882  line where it is inserted in the document.
22883 \end_layout
22884
22885 \begin_layout Standard
22886 \begin_inset VSpace bigskip
22887 \end_inset
22888
22889 To place the margin note in the inner margin, add the command
22890 \end_layout
22891
22892 \begin_layout Standard
22893
22894 \series bold
22895
22896 \backslash
22897 reversemarginpar
22898 \end_layout
22899
22900 \begin_layout Standard
22901 in ERT before a margin note.
22902  The new placement is valid for all following margin notes.
22903 \begin_inset ERT
22904 status collapsed
22905
22906 \begin_layout Standard
22907
22908
22909 \backslash
22910 reversemarginpar 
22911 \end_layout
22912
22913 \end_inset
22914
22915
22916 \begin_inset Marginal
22917 status open
22918
22919 \begin_layout Standard
22920 This is a margin note in the inner margin.
22921 \end_layout
22922
22923 \end_inset
22924
22925
22926 \series bold
22927
22928 \newline
22929
22930 \series default
22931
22932 \begin_inset Note Greyedout
22933 status open
22934
22935 \begin_layout Standard
22936
22937 \series bold
22938 Note:
22939 \series default
22940  There is often not enough space in the inner margin so that the notes are
22941  not correctly displayed in the output.
22942 \end_layout
22943
22944 \end_inset
22945
22946
22947 \end_layout
22948
22949 \begin_layout Standard
22950 \begin_inset ERT
22951 status collapsed
22952
22953 \begin_layout Standard
22954
22955
22956 \backslash
22957 normalmarginpar 
22958 \end_layout
22959
22960 \end_inset
22961
22962 To return to the default placement insert the command
22963 \end_layout
22964
22965 \begin_layout Standard
22966
22967 \series bold
22968
22969 \backslash
22970 normalmarginpar
22971 \end_layout
22972
22973 \begin_layout Standard
22974 in ERT.
22975  
22976 \begin_inset Note Greyedout
22977 status open
22978
22979 \begin_layout Standard
22980
22981 \series bold
22982 Note:
22983 \series default
22984  The command is ignored when it is within a paragraph where also the command
22985  
22986 \series bold
22987
22988 \backslash
22989 reversemarginpar
22990 \series default
22991  is inserted.
22992 \end_layout
22993
22994 \end_inset
22995
22996
22997 \end_layout
22998
22999 \begin_layout Standard
23000 \begin_inset VSpace bigskip
23001 \end_inset
23002
23003
23004 \family roman
23005 \series medium
23006
23007 \begin_inset Marginal
23008 status open
23009
23010 \begin_layout Standard
23011 AVeryLongMarginParWord that isn't hyphenated.
23012 \end_layout
23013
23014 \end_inset
23015
23016
23017 \family default
23018 \series default
23019 Similar to the case described in section\InsetSpace ~
23020
23021 \begin_inset LatexCommand ref
23022 reference "sub:Multiple-Lines-in"
23023
23024 \end_inset
23025
23026 , long words cannot be hyphenated when they are the first word in a margin
23027  note.
23028  To avoid this, insert the command
23029 \end_layout
23030
23031 \begin_layout Standard
23032
23033 \series bold
23034
23035 \backslash
23036 hspace{0pt}
23037 \end_layout
23038
23039 \begin_layout Standard
23040 in ERT before the word
23041 \family roman
23042 \series medium
23043 .
23044 \begin_inset Marginal
23045 status open
23046
23047 \begin_layout Standard
23048 \begin_inset ERT
23049 status collapsed
23050
23051 \begin_layout Standard
23052
23053
23054 \backslash
23055 hspace{0pt}
23056 \end_layout
23057
23058 \end_inset
23059
23060 AVeryLongMarginParWord that is hyphenated.
23061 \end_layout
23062
23063 \end_inset
23064
23065
23066 \end_layout
23067
23068 \begin_layout Standard
23069 \begin_inset VSpace bigskip
23070 \end_inset
23071
23072
23073 \end_layout
23074
23075 \begin_layout Standard
23076 \begin_inset Note Greyedout
23077 status open
23078
23079 \begin_layout Standard
23080
23081 \series bold
23082 Note:
23083 \series default
23084  Margin notes can normally not be used inside tables, floats, and footnotes.
23085 \end_layout
23086
23087 \end_inset
23088
23089
23090 \end_layout
23091
23092 \begin_layout Standard
23093 \begin_inset VSpace bigskip
23094 \end_inset
23095
23096
23097 \end_layout
23098
23099 \begin_layout Standard
23100 \begin_inset ERT
23101 status collapsed
23102
23103 \begin_layout Standard
23104
23105
23106 \backslash
23107 ifmarginnote
23108 \end_layout
23109
23110 \end_inset
23111
23112
23113 \begin_inset Note Note
23114 status open
23115
23116 \begin_layout Standard
23117 The following section will only be displayed when you have the LaTeX-package
23118  
23119 \series bold
23120 marginnote
23121 \series default
23122  is installed.
23123 \end_layout
23124
23125 \end_inset
23126
23127
23128 \end_layout
23129
23130 \begin_layout Standard
23131 This restriction can be evaded by using the LaTeX-package 
23132 \series bold
23133 marginnote
23134 \series default
23135
23136 \begin_inset LatexCommand index
23137 name "LaTeX-packages ! marginnote"
23138
23139 \end_inset
23140
23141 .
23142  By adding these two lines to your document preamble, the command used by
23143  LyX for margin notes is redefined to use the command provided by the 
23144 \series bold
23145 marginnote
23146 \series default
23147 -package:
23148 \end_layout
23149
23150 \begin_layout Standard
23151
23152 \series bold
23153
23154 \backslash
23155 usepackage{marginnote}
23156 \newline
23157
23158 \backslash
23159 let
23160 \backslash
23161 marginpar
23162 \backslash
23163 marginnote
23164 \end_layout
23165
23166 \begin_layout Standard
23167 This is also used in this document because 
23168 \series bold
23169 marginnote
23170 \series default
23171  has another useful feature: You can set a vertical offset for the note.
23172  This is often needed when too many margin notes are too close together
23173  or for a better page layout.
23174  The offset is set in LyX as ERT directly behind the margin note in the
23175  scheme
23176 \end_layout
23177
23178 \begin_layout Standard
23179
23180 \series bold
23181 [offset]
23182 \end_layout
23183
23184 \begin_layout Standard
23185 where the offset is a length with one of the units listed in Table\InsetSpace ~
23186
23187 \begin_inset LatexCommand ref
23188 reference "tab:Units"
23189
23190 \end_inset
23191
23192 .
23193  A negative value shifts the note up, a positive value shifts it down.
23194  
23195 \family roman
23196 \series medium
23197 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23198 cm with
23199  the ERT-command 
23200 \begin_inset Quotes eld
23201 \end_inset
23202
23203
23204 \family default
23205 \series bold
23206 [-1.5cm]
23207 \family roman
23208 \series medium
23209
23210 \begin_inset Quotes erd
23211 \end_inset
23212
23213
23214 \begin_inset Marginal
23215 status open
23216
23217 \begin_layout Standard
23218 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23219 cm from its original position.
23220 \end_layout
23221
23222 \end_inset
23223
23224
23225 \family default
23226 \series default
23227
23228 \begin_inset ERT
23229 status collapsed
23230
23231 \begin_layout Standard
23232
23233 [-1.5cm]
23234 \end_layout
23235
23236 \end_inset
23237
23238
23239 \end_layout
23240
23241 \begin_layout Standard
23242 \begin_inset VSpace defskip
23243 \end_inset
23244
23245 With 
23246 \series bold
23247 marginnote
23248 \series default
23249  you can also change the alignment of the text in the margin note.
23250  For example the commands
23251 \end_layout
23252
23253 \begin_layout Standard
23254
23255 \series bold
23256
23257 \backslash
23258 renewcommand*{
23259 \backslash
23260 raggedleftmarginnote}{
23261 \backslash
23262 centering}
23263 \newline
23264
23265 \backslash
23266 renewcommand*{
23267 \backslash
23268 raggedrightmarginnote}{
23269 \backslash
23270 centering}
23271 \end_layout
23272
23273 \begin_layout Standard
23274 set the alignment to centered.
23275  
23276 \series bold
23277
23278 \backslash
23279 raggedleftmarginnote
23280 \series default
23281  denotes margin notes that appear at the left side.
23282 \family roman
23283 \series medium
23284
23285 \begin_inset ERT
23286 status collapsed
23287
23288 \begin_layout Standard
23289
23290
23291 \backslash
23292 renewcommand*{
23293 \backslash
23294 raggedleftmarginnote}{
23295 \backslash
23296 centering}
23297 \end_layout
23298
23299 \begin_layout Standard
23300
23301
23302 \backslash
23303 renewcommand*{
23304 \backslash
23305 raggedrightmarginnote}{
23306 \backslash
23307 centering}
23308 \end_layout
23309
23310 \end_inset
23311
23312
23313 \begin_inset Marginal
23314 status open
23315
23316 \begin_layout Standard
23317 The text of this margin note is centered.
23318 \end_layout
23319
23320 \end_inset
23321
23322
23323 \family default
23324 \series default
23325  The default is
23326 \end_layout
23327
23328 \begin_layout Standard
23329
23330 \series bold
23331
23332 \backslash
23333 renewcommand*{
23334 \backslash
23335 raggedleftmarginnote}{
23336 \backslash
23337 raggedleft}
23338 \newline
23339
23340 \backslash
23341 renewcommand*{
23342 \backslash
23343 raggedrightmarginnote}{
23344 \backslash
23345 raggedright}
23346 \family roman
23347 \series medium
23348
23349 \begin_inset ERT
23350 status collapsed
23351
23352 \begin_layout Standard
23353
23354
23355 \backslash
23356 renewcommand*{
23357 \backslash
23358 raggedleftmarginnote}{
23359 \backslash
23360 raggedleft}
23361 \end_layout
23362
23363 \begin_layout Standard
23364
23365
23366 \backslash
23367 renewcommand*{
23368 \backslash
23369 raggedrightmarginnote}{
23370 \backslash
23371 raggedright}
23372 \end_layout
23373
23374 \end_inset
23375
23376
23377 \end_layout
23378
23379 \begin_layout Standard
23380 \begin_inset VSpace defskip
23381 \end_inset
23382
23383 For the other features of 
23384 \series bold
23385 marginnote
23386 \series default
23387  we refer to its documentation 
23388 \begin_inset LatexCommand cite
23389 key "marginnote"
23390
23391 \end_inset
23392
23393 .
23394 \end_layout
23395
23396 \begin_layout Standard
23397 \begin_inset VSpace bigskip
23398 \end_inset
23399
23400 You can change the layout of margin notes by redefining its definition.
23401  To create for example a header for all margin notes with the underlined,
23402  sans-serif, and bold header text 
23403 \begin_inset Quotes eld
23404 \end_inset
23405
23406
23407 \family sans
23408 \series bold
23409 \bar under
23410 Attention!
23411 \family default
23412 \series default
23413 \bar default
23414
23415 \begin_inset Quotes erd
23416 \end_inset
23417
23418 , add this to your document preamble:
23419 \end_layout
23420
23421 \begin_layout Standard
23422
23423 \series bold
23424
23425 \backslash
23426 let
23427 \backslash
23428 myMarginpar
23429 \backslash
23430 marginpar
23431 \newline
23432
23433 \backslash
23434 renewcommand{
23435 \backslash
23436 marginpar}[1]{
23437 \backslash
23438 myMarginpar{%
23439 \newline
23440
23441 \begin_inset ERT
23442 status collapsed
23443
23444 \begin_layout Standard
23445
23446
23447 \backslash
23448 hphantom{ }
23449 \end_layout
23450
23451 \end_inset
23452
23453
23454 \backslash
23455 hspace{0pt}
23456 \backslash
23457 textsf{
23458 \backslash
23459 textbf{
23460 \backslash
23461 underbar{Attention!}}}%
23462 \newline
23463
23464 \begin_inset ERT
23465 status collapsed
23466
23467 \begin_layout Standard
23468
23469
23470 \backslash
23471 hphantom{ }
23472 \end_layout
23473
23474 \end_inset
23475
23476
23477 \backslash
23478 vspace{1.5mm}
23479 \backslash
23480
23481 \backslash
23482 #1}}
23483 \end_layout
23484
23485 \begin_layout Standard
23486
23487 \family roman
23488 \series medium
23489 \begin_inset ERT
23490 status collapsed
23491
23492 \begin_layout Standard
23493
23494
23495 \backslash
23496 let
23497 \backslash
23498 myMarginpar
23499 \backslash
23500 marginpar
23501 \end_layout
23502
23503 \begin_layout Standard
23504
23505
23506 \backslash
23507 renewcommand{
23508 \backslash
23509 marginpar}[1]{
23510 \backslash
23511 myMarginpar{%
23512 \end_layout
23513
23514 \begin_layout Standard
23515
23516    
23517 \backslash
23518 textsf{
23519 \backslash
23520 textbf{
23521 \backslash
23522 underbar{Attention!}}}%
23523 \end_layout
23524
23525 \begin_layout Standard
23526
23527    
23528 \backslash
23529 vspace{1.5mm}
23530 \backslash
23531
23532 \backslash
23533 #1}}
23534 \end_layout
23535
23536 \end_inset
23537
23538
23539 \begin_inset Marginal
23540 status open
23541
23542 \begin_layout Standard
23543 This is a margin note with a defined heading.
23544 \end_layout
23545
23546 \end_inset
23547
23548
23549 \family default
23550 \series default
23551
23552 \begin_inset ERT
23553 status collapsed
23554
23555 \begin_layout Standard
23556
23557 [-1.5cm]
23558 \end_layout
23559
23560 \end_inset
23561
23562
23563 \family roman
23564 \series medium
23565
23566 \begin_inset ERT
23567 status collapsed
23568
23569 \begin_layout Standard
23570
23571
23572 \backslash
23573 renewcommand{
23574 \backslash
23575 marginpar}[1]{
23576 \backslash
23577 myMarginpar{#1}}
23578 \end_layout
23579
23580 \end_inset
23581
23582
23583 \family default
23584 \series default
23585
23586 \begin_inset Note Note
23587 status collapsed
23588
23589 \begin_layout Standard
23590 The margin note format is changed only for this example.
23591 \end_layout
23592
23593 \end_inset
23594
23595
23596 \end_layout
23597
23598 \begin_layout Standard
23599 \begin_inset ERT
23600 status collapsed
23601
23602 \begin_layout Standard
23603
23604
23605 \backslash
23606 else
23607 \end_layout
23608
23609 \end_inset
23610
23611
23612 \begin_inset Note Note
23613 status open
23614
23615 \begin_layout Standard
23616 The following will be displayed when the LaTeX-package 
23617 \series bold
23618 marginnote
23619 \series default
23620  is not installed:
23621 \end_layout
23622
23623 \end_inset
23624
23625
23626 \end_layout
23627
23628 \begin_layout Standard
23629 You need to install the LaTeX-package 
23630 \series bold
23631 marginnote
23632 \series default
23633  to see the following part of this section in the output.
23634 \end_layout
23635
23636 \begin_layout Standard
23637 \begin_inset ERT
23638 status collapsed
23639
23640 \begin_layout Standard
23641
23642
23643 \backslash
23644 fi
23645 \end_layout
23646
23647 \end_inset
23648
23649
23650 \end_layout
23651
23652 \begin_layout Standard
23653
23654 \end_layout
23655
23656 \begin_layout Chapter
23657 Boxes
23658 \end_layout
23659
23660 \begin_layout Section
23661 Introduction
23662 \begin_inset LatexCommand index
23663 name "Boxes ! Introduction"
23664
23665 \end_inset
23666
23667
23668 \end_layout
23669
23670 \begin_layout Standard
23671 Boxes are used to format a block of text.
23672  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23673
23674 \begin_inset LatexCommand ref
23675 reference "sec:Minipages"
23676
23677 \end_inset
23678
23679 , to frame texts, see section\InsetSpace ~
23680
23681 \begin_inset LatexCommand ref
23682 reference "sec:Framed-Boxes"
23683
23684 \end_inset
23685
23686 , to prevent words to be hyphenated, see section\InsetSpace ~
23687
23688 \begin_inset LatexCommand ref
23689 reference "sec:Prevent-Hyphenation"
23690
23691 \end_inset
23692
23693 , to align text, see section\InsetSpace ~
23694
23695 \begin_inset LatexCommand ref
23696 reference "sub:Vertical-Alignment"
23697
23698 \end_inset
23699
23700 , or to set the background color of texts, see section\InsetSpace ~
23701
23702 \begin_inset LatexCommand ref
23703 reference "sec:Colored-Boxes"
23704
23705 \end_inset
23706
23707 .
23708 \end_layout
23709
23710 \begin_layout Standard
23711 Boxes can be inserted with the menu 
23712 \family sans
23713 Insert\SpecialChar \menuseparator
23714 Box
23715 \family default
23716 .
23717  A grey box with the label 
23718 \family sans
23719 Box (Minipage)
23720 \family default
23721
23722 \begin_inset Graphics
23723         filename clipart/BoxInsetDefaultQt4.png
23724         scale 85
23725
23726 \end_inset
23727
23728 , will be inserted.
23729  The box type can be specified by right-clicking on the box.
23730  The appearing box dialog offers the 
23731 \family sans
23732 Inner\InsetSpace ~
23733 Box
23734 \family default
23735  types 
23736 \family sans
23737 Parbox
23738 \family default
23739  and 
23740 \family sans
23741 Minipage
23742 \family default
23743 .
23744  The type 
23745 \family sans
23746 Minipage
23747 \family default
23748  is the default for new boxes and is explained in section\InsetSpace ~
23749
23750 \begin_inset LatexCommand ref
23751 reference "sec:Minipages"
23752
23753 \end_inset
23754
23755 ; the type 
23756 \family sans
23757 Parbox
23758 \family default
23759  is described in section\InsetSpace ~
23760
23761 \begin_inset LatexCommand ref
23762 reference "sec:Parboxes"
23763
23764 \end_inset
23765
23766 .
23767 \end_layout
23768
23769 \begin_layout Standard
23770 Boxes aren't numbered and can therefore not be referenced like floats or
23771  footnotes.
23772 \end_layout
23773
23774 \begin_layout Standard
23775 \begin_inset Note Greyedout
23776 status open
23777
23778 \begin_layout Standard
23779
23780 \series bold
23781 Note:
23782 \series default
23783  Due to a bug in LyX you have to insert a protected space behind a box when
23784  you want to separate in a line the box from the following text with a space.
23785 \end_layout
23786
23787 \end_inset
23788
23789
23790 \end_layout
23791
23792 \begin_layout Standard
23793 \begin_inset Note Greyedout
23794 status open
23795
23796 \begin_layout Standard
23797
23798 \series bold
23799 Note:
23800 \series default
23801  Boxes must not be the item in an 
23802 \family sans
23803 Itemize
23804 \family default
23805  or 
23806 \family sans
23807 Description
23808 \family default
23809  environment.
23810 \end_layout
23811
23812 \end_inset
23813
23814
23815 \end_layout
23816
23817 \begin_layout Standard
23818 \begin_inset Note Greyedout
23819 status open
23820
23821 \begin_layout Standard
23822
23823 \series bold
23824 Note:
23825 \series default
23826  For an unknown reason you can only set the 
23827 \family sans
23828 Inner\InsetSpace ~
23829 Box
23830 \family default
23831  type to 
23832 \family sans
23833 None
23834 \family default
23835  when you use a framed box.
23836  Boxes without an 
23837 \family sans
23838 Inner\InsetSpace ~
23839 Box
23840 \family default
23841  type and without frames are explained in section\InsetSpace ~
23842
23843 \begin_inset LatexCommand ref
23844 reference "sec:Prevent-Hyphenation"
23845
23846 \end_inset
23847
23848 .
23849 \end_layout
23850
23851 \end_inset
23852
23853
23854 \end_layout
23855
23856 \begin_layout Section
23857 Box Dialog
23858 \begin_inset LatexCommand label
23859 name "sec:Box-Dialog"
23860
23861 \end_inset
23862
23863
23864 \begin_inset LatexCommand index
23865 name "Boxes ! Box Dialog"
23866
23867 \end_inset
23868
23869
23870 \begin_inset LatexCommand index
23871 name "Boxes ! Alignment"
23872
23873 \end_inset
23874
23875
23876 \end_layout
23877
23878 \begin_layout Standard
23879 In the box dialog you can adjust the box geometry in the fields 
23880 \family sans
23881 Width
23882 \family default
23883  and 
23884 \family sans
23885 Height
23886 \family default
23887 .
23888  The available units for the geometry are explained in Table\InsetSpace ~
23889
23890 \begin_inset LatexCommand ref
23891 reference "tab:Units"
23892
23893 \end_inset
23894
23895 .
23896  The field 
23897 \family sans
23898 Heigth
23899 \family default
23900  offers the following additional sizes:
23901 \end_layout
23902
23903 \begin_layout Description
23904 Depth This is the plain text 
23905 \begin_inset Quotes eld
23906 \end_inset
23907
23908 height
23909 \begin_inset Quotes erd
23910 \end_inset
23911
23912 .
23913  It ignores the total depth when there are multiple text lines in the box:
23914 \newline
23915
23916 \newline
23917
23918 \newline
23919
23920 \begin_inset Box Boxed
23921 position "c"
23922 hor_pos "c"
23923 has_inner_box 1
23924 inner_pos "c"
23925 use_parbox 0
23926 width "12col%"
23927 special "none"
23928 height "1in"
23929 height_special "depth"
23930 status collapsed
23931
23932 \begin_layout Standard
23933 \align center
23934 Box height set to 1\InsetSpace \thinspace{}
23935 Depth
23936 \end_layout
23937
23938 \end_inset
23939
23940
23941 \newline
23942
23943 \newline
23944
23945 \end_layout
23946
23947 \begin_layout Description
23948 Height This is the heigth of the text that is inside the box.
23949  A value of e.\InsetSpace \thinspace{}
23950 g.\InsetSpace ~
23951 2 for this size will set the box heigth to 2 times the text
23952  height: 
23953 \begin_inset Box Boxed
23954 position "c"
23955 hor_pos "c"
23956 has_inner_box 1
23957 inner_pos "c"
23958 use_parbox 0
23959 width "20col%"
23960 special "none"
23961 height "2in"
23962 height_special "height"
23963 status collapsed
23964
23965 \begin_layout Standard
23966 \align center
23967 Box height set to 2\InsetSpace \thinspace{}
23968 Height
23969 \end_layout
23970
23971 \end_inset
23972
23973
23974 \end_layout
23975
23976 \begin_layout Description
23977 Total\InsetSpace ~
23978 Height This is the Height\InsetSpace \thinspace{}
23979 +\InsetSpace \thinspace{}
23980 Depth: 
23981 \begin_inset Box Boxed
23982 position "c"
23983 hor_pos "c"
23984 has_inner_box 1
23985 inner_pos "c"
23986 use_parbox 0
23987 width "20col%"
23988 special "none"
23989 height "1in"
23990 height_special "totalheight"
23991 status collapsed
23992
23993 \begin_layout Standard
23994 \align center
23995 Box height set to 1\InsetSpace \thinspace{}
23996 Total\InsetSpace ~
23997 Height
23998 \end_layout
23999
24000 \end_inset
24001
24002
24003 \end_layout
24004
24005 \begin_layout Description
24006 Width This set the width of the box as heigth: 
24007 \begin_inset Box Boxed
24008 position "c"
24009 hor_pos "c"
24010 has_inner_box 1
24011 inner_pos "c"
24012 use_parbox 0
24013 width "12col%"
24014 special "none"
24015 height "1in"
24016 height_special "width"
24017 status collapsed
24018
24019 \begin_layout Standard
24020 \align center
24021 Box height set to 1\InsetSpace \thinspace{}
24022 Width
24023 \end_layout
24024
24025 \end_inset
24026
24027
24028 \end_layout
24029
24030 \begin_layout Standard
24031 \begin_inset VSpace bigskip
24032 \end_inset
24033
24034 When you have chosen an 
24035 \family sans
24036 Inner\InsetSpace ~
24037 Box
24038 \family default
24039 , the vertical box alignment can be:
24040 \end_layout
24041
24042 \begin_layout Description
24043 Top This is an example text line.
24044  
24045 \begin_inset Box Boxed
24046 position "t"
24047 hor_pos "c"
24048 has_inner_box 1
24049 inner_pos "c"
24050 use_parbox 0
24051 width "12col%"
24052 special "none"
24053 height "1in"
24054 height_special "totalheight"
24055 status collapsed
24056
24057 \begin_layout Standard
24058 \align center
24059 This box is top-aligned.
24060 \end_layout
24061
24062 \end_inset
24063
24064 \InsetSpace ~
24065 This is an example text line.
24066 \end_layout
24067
24068 \begin_layout Description
24069 Middle This is an example text line.
24070  
24071 \begin_inset Box Boxed
24072 position "c"
24073 hor_pos "c"
24074 has_inner_box 1
24075 inner_pos "c"
24076 use_parbox 0
24077 width "12col%"
24078 special "none"
24079 height "1in"
24080 height_special "totalheight"
24081 status collapsed
24082
24083 \begin_layout Standard
24084 \align center
24085 This box is middle-aligned.
24086 \end_layout
24087
24088 \end_inset
24089
24090 \InsetSpace ~
24091 This is an example text line.
24092 \end_layout
24093
24094 \begin_layout Description
24095 Bottom This is an example text line.
24096  
24097 \begin_inset Box Boxed
24098 position "b"
24099 hor_pos "c"
24100 has_inner_box 1
24101 inner_pos "c"
24102 use_parbox 0
24103 width "12col%"
24104 special "none"
24105 height "1in"
24106 height_special "totalheight"
24107 status collapsed
24108
24109 \begin_layout Standard
24110 \align center
24111 This box is bottom-aligned.
24112 \end_layout
24113
24114 \end_inset
24115
24116 \InsetSpace ~
24117 This is an example text line.
24118 \end_layout
24119
24120 \begin_layout Standard
24121 The horizontal box alignment can be set via LyX's paragraph dialog when
24122  you set the box into its own paragraph.
24123 \end_layout
24124
24125 \begin_layout Standard
24126 \begin_inset VSpace bigskip
24127 \end_inset
24128
24129 When you have chosen an 
24130 \family sans
24131 Inner\InsetSpace ~
24132 Box
24133 \family default
24134 , the box content can be vertical aligned to:
24135 \end_layout
24136
24137 \begin_layout Description
24138 top This is an example text line.
24139  
24140 \begin_inset Box Boxed
24141 position "c"
24142 hor_pos "c"
24143 has_inner_box 1
24144 inner_pos "t"
24145 use_parbox 0
24146 width "12col%"
24147 special "none"
24148 height "1.5in"
24149 height_special "totalheight"
24150 status collapsed
24151
24152 \begin_layout Standard
24153 \align center
24154 This box text is top-aligned.
24155 \end_layout
24156
24157 \end_inset
24158
24159 \InsetSpace ~
24160 This is an example text line.
24161 \end_layout
24162
24163 \begin_layout Description
24164 middle This is an example text line.
24165  
24166 \begin_inset Box Boxed
24167 position "c"
24168 hor_pos "c"
24169 has_inner_box 1
24170 inner_pos "c"
24171 use_parbox 0
24172 width "12col%"
24173 special "none"
24174 height "1.5in"
24175 height_special "totalheight"
24176 status collapsed
24177
24178 \begin_layout Standard
24179 \align center
24180 This box text is middle-aligned.
24181 \end_layout
24182
24183 \end_inset
24184
24185 \InsetSpace ~
24186 This is an example text line.
24187 \end_layout
24188
24189 \begin_layout Description
24190 bottom This is an example text line.
24191  
24192 \begin_inset Box Boxed
24193 position "c"
24194 hor_pos "c"
24195 has_inner_box 1
24196 inner_pos "b"
24197 use_parbox 0
24198 width "12col%"
24199 special "none"
24200 height "1.5in"
24201 height_special "totalheight"
24202 status collapsed
24203
24204 \begin_layout Standard
24205 \align center
24206 This box text is bottom-aligned.
24207 \end_layout
24208
24209 \end_inset
24210
24211 \InsetSpace ~
24212 This is an example text line.
24213 \end_layout
24214
24215 \begin_layout Description
24216 stretch This is an example text line.
24217  
24218 \begin_inset Box Boxed
24219 position "c"
24220 hor_pos "c"
24221 has_inner_box 1
24222 inner_pos "s"
24223 use_parbox 0
24224 width "12col%"
24225 special "none"
24226 height "1.5in"
24227 height_special "totalheight"
24228 status collapsed
24229
24230 \begin_layout Standard
24231 \align center
24232 This box
24233 \end_layout
24234
24235 \begin_layout Standard
24236 \align center
24237 text is
24238 \end_layout
24239
24240 \begin_layout Standard
24241 \align center
24242 stretched.
24243 \end_layout
24244
24245 \end_inset
24246
24247 \InsetSpace ~
24248 This is an example text line.
24249 \end_layout
24250
24251 \begin_layout Standard
24252 To stretch the box content, it must consist of more than one paragraph.
24253  In the example above every text line is in an own paragraph.
24254 \end_layout
24255
24256 \begin_layout Standard
24257 \begin_inset VSpace bigskip
24258 \end_inset
24259
24260 To align the box content horizontally you can use LyX's paragraph dialog
24261  when you have chosen an 
24262 \family sans
24263 Inner\InsetSpace ~
24264 Box
24265 \family default
24266 .
24267 \end_layout
24268
24269 \begin_layout Standard
24270 \align center
24271 \begin_inset Box Boxed
24272 position "c"
24273 hor_pos "c"
24274 has_inner_box 1
24275 inner_pos "s"
24276 use_parbox 0
24277 width "15col%"
24278 special "none"
24279 height "1.25in"
24280 height_special "totalheight"
24281 status collapsed
24282
24283 \begin_layout Standard
24284 \align left
24285 This box
24286 \end_layout
24287
24288 \begin_layout Standard
24289 \align center
24290 text is
24291 \end_layout
24292
24293 \begin_layout Standard
24294 \align right
24295 stretched.
24296 \end_layout
24297
24298 \end_inset
24299
24300
24301 \end_layout
24302
24303 \begin_layout Standard
24304 If you haven't set an 
24305 \family sans
24306 Inner\InsetSpace ~
24307 Box
24308 \family default
24309 , you can align the box content horizontally in the box dialog.
24310 \end_layout
24311
24312 \begin_layout Standard
24313 \align center
24314 \begin_inset Box Boxed
24315 position "c"
24316 hor_pos "s"
24317 has_inner_box 0
24318 inner_pos "s"
24319 use_parbox 0
24320 width "90col%"
24321 special "none"
24322 height "1.25in"
24323 height_special "totalheight"
24324 status collapsed
24325
24326 \begin_layout Standard
24327 \align left
24328 This box text is horizontally stretched.
24329 \end_layout
24330
24331 \end_inset
24332
24333
24334 \end_layout
24335
24336 \begin_layout Section
24337 Framed Boxes
24338 \begin_inset LatexCommand label
24339 name "sec:Framed-Boxes"
24340
24341 \end_inset
24342
24343
24344 \begin_inset LatexCommand index
24345 name "Boxes ! Frames"
24346
24347 \end_inset
24348
24349
24350 \end_layout
24351
24352 \begin_layout Standard
24353 The frame style of the box can be specified in the box-dialog in the drop-down
24354  list 
24355 \family sans
24356 Type
24357 \family default
24358 .
24359  The following frame types are possible:
24360 \end_layout
24361
24362 \begin_layout Description
24363 Rectangular\InsetSpace ~
24364 box This draws a rectangle frame around the box.
24365  The frame line thickness has the size of 
24366 \series bold
24367
24368 \backslash
24369 fboxrule
24370 \series default
24371 .
24372  
24373 \begin_inset Box Boxed
24374 position "c"
24375 hor_pos "c"
24376 has_inner_box 1
24377 inner_pos "c"
24378 use_parbox 0
24379 width "20col%"
24380 special "none"
24381 height "1in"
24382 height_special "totalheight"
24383 status collapsed
24384
24385 \begin_layout Standard
24386 \align center
24387 Rectangular box
24388 \end_layout
24389
24390 \end_inset
24391
24392
24393 \end_layout
24394
24395 \begin_layout Description
24396 Oval\InsetSpace ~
24397 box,\InsetSpace ~
24398 thin This draws an oval frame around the box.
24399  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24400 pt.
24401  
24402 \begin_inset Box ovalbox
24403 position "c"
24404 hor_pos "c"
24405 has_inner_box 1
24406 inner_pos "c"
24407 use_parbox 0
24408 width "20col%"
24409 special "none"
24410 height "1in"
24411 height_special "totalheight"
24412 status collapsed
24413
24414 \begin_layout Standard
24415 \align center
24416 Oval box, thin
24417 \end_layout
24418
24419 \end_inset
24420
24421
24422 \end_layout
24423
24424 \begin_layout Description
24425 Oval\InsetSpace ~
24426 box,\InsetSpace ~
24427 thick This draws an oval frame around the box.
24428  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24429 pt.
24430  
24431 \begin_inset Box Ovalbox
24432 position "c"
24433 hor_pos "c"
24434 has_inner_box 1
24435 inner_pos "c"
24436 use_parbox 0
24437 width "20col%"
24438 special "none"
24439 height "1in"
24440 height_special "totalheight"
24441 status collapsed
24442
24443 \begin_layout Standard
24444 \align center
24445 Oval box, thick
24446 \end_layout
24447
24448 \end_inset
24449
24450
24451 \end_layout
24452
24453 \begin_layout Description
24454 Shadow\InsetSpace ~
24455 box This draws a rectangle frame with a shadow around the box.
24456  The frame line thickness has the size of 
24457 \series bold
24458
24459 \backslash
24460 fboxrule
24461 \series default
24462 , the shadow has a width of 4\InsetSpace \thinspace{}
24463 pt.
24464  
24465 \begin_inset Box Shadowbox
24466 position "c"
24467 hor_pos "c"
24468 has_inner_box 1
24469 inner_pos "c"
24470 use_parbox 0
24471 width "20col%"
24472 special "none"
24473 height "1in"
24474 height_special "totalheight"
24475 status collapsed
24476
24477 \begin_layout Standard
24478 \align center
24479 Shadow box
24480 \end_layout
24481
24482 \end_inset
24483
24484
24485 \end_layout
24486
24487 \begin_layout Description
24488 Double\InsetSpace ~
24489 box This draws a double-line rectangle frame around the box.
24490  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24491
24492 \series bold
24493
24494 \backslash
24495 fboxrule
24496 \series default
24497 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24498
24499 \series bold
24500
24501 \backslash
24502 fboxrule
24503 \series default
24504 .
24505  The distance between the lines is 1.5\InsetSpace \thinspace{}
24506
24507 \series bold
24508
24509 \backslash
24510 fboxrule
24511 \series default
24512 \InsetSpace \thinspace{}
24513 +\InsetSpace \thinspace{}
24514 0.5\InsetSpace \thinspace{}
24515 pt.
24516  
24517 \begin_inset Box Doublebox
24518 position "c"
24519 hor_pos "c"
24520 has_inner_box 1
24521 inner_pos "c"
24522 use_parbox 0
24523 width "20col%"
24524 special "none"
24525 height "1in"
24526 height_special "totalheight"
24527 status collapsed
24528
24529 \begin_layout Standard
24530 \align center
24531 Double box
24532 \end_layout
24533
24534 \end_inset
24535
24536
24537 \end_layout
24538
24539 \begin_layout Standard
24540 \begin_inset VSpace bigskip
24541 \end_inset
24542
24543 LyX's box label will change to the used frame style when you set a frame.
24544  To be able to use the different frame styles, the LaTeX-package 
24545 \series bold
24546 fancybox
24547 \series default
24548
24549 \begin_inset LatexCommand index
24550 name "LaTeX-packages ! fancybox"
24551
24552 \end_inset
24553
24554  must be installed.
24555 \end_layout
24556
24557 \begin_layout Standard
24558 \begin_inset VSpace bigskip
24559 \end_inset
24560
24561 The default value for the size 
24562 \series bold
24563
24564 \backslash
24565 fboxrule
24566 \series default
24567  is 0.4\InsetSpace \thinspace{}
24568 pt.
24569  It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24570 g.\InsetSpace ~
24571 2\InsetSpace \thinspace{}
24572 pt:
24573 \end_layout
24574
24575 \begin_layout Standard
24576
24577 \series bold
24578
24579 \backslash
24580 setlength{
24581 \backslash
24582 fboxrule}{2pt}
24583 \end_layout
24584
24585 \begin_layout Standard
24586 \begin_inset ERT
24587 status collapsed
24588
24589 \begin_layout Standard
24590
24591
24592 \backslash
24593 setlength{
24594 \backslash
24595 fboxrule}{2pt}
24596 \end_layout
24597
24598 \end_inset
24599
24600
24601 \begin_inset Box Boxed
24602 position "c"
24603 hor_pos "c"
24604 has_inner_box 1
24605 inner_pos "c"
24606 use_parbox 0
24607 width "25col%"
24608 special "none"
24609 height "1in"
24610 height_special "totalheight"
24611 status collapsed
24612
24613 \begin_layout Standard
24614 \align center
24615 Rectangular box with 
24616 \series bold
24617
24618 \backslash
24619 fboxrule
24620 \series default
24621 \InsetSpace \thinspace{}
24622 =\InsetSpace \thinspace{}
24623 2\InsetSpace \thinspace{}
24624 pt
24625 \end_layout
24626
24627 \end_inset
24628
24629
24630 \begin_inset ERT
24631 status collapsed
24632
24633 \begin_layout Standard
24634
24635
24636 \backslash
24637 setlength{
24638 \backslash
24639 fboxrule}{0.4pt}
24640 \end_layout
24641
24642 \end_inset
24643
24644
24645 \end_layout
24646
24647 \begin_layout Standard
24648 \begin_inset VSpace bigskip
24649 \end_inset
24650
24651 The space between the frame and the box content is for all frame styles
24652  by default 3\InsetSpace \thinspace{}
24653 pt.
24654  You can change it by setting the length 
24655 \series bold
24656
24657 \backslash
24658 fboxsep
24659 \series default
24660  to another value.
24661  For example the command
24662 \end_layout
24663
24664 \begin_layout Standard
24665
24666 \series bold
24667
24668 \backslash
24669 setlength{
24670 \backslash
24671 fboxsep}{10pt}
24672 \end_layout
24673
24674 \begin_layout Standard
24675 sets the value to 10\InsetSpace \thinspace{}
24676 pt, like for the following box:
24677 \end_layout
24678
24679 \begin_layout Standard
24680 \begin_inset ERT
24681 status collapsed
24682
24683 \begin_layout Standard
24684
24685
24686 \backslash
24687 setlength{
24688 \backslash
24689 fboxsep}{10pt}
24690 \end_layout
24691
24692 \end_inset
24693
24694
24695 \begin_inset Box Boxed
24696 position "c"
24697 hor_pos "c"
24698 has_inner_box 1
24699 inner_pos "c"
24700 use_parbox 0
24701 width "25col%"
24702 special "none"
24703 height "1in"
24704 height_special "totalheight"
24705 status collapsed
24706
24707 \begin_layout Standard
24708 \align center
24709 Rectangular box with 
24710 \series bold
24711
24712 \backslash
24713 fboxsep
24714 \series default
24715 \InsetSpace \thinspace{}
24716 =\InsetSpace \thinspace{}
24717 10\InsetSpace \thinspace{}
24718 pt
24719 \end_layout
24720
24721 \end_inset
24722
24723
24724 \begin_inset ERT
24725 status collapsed
24726
24727 \begin_layout Standard
24728
24729
24730 \backslash
24731 setlength{
24732 \backslash
24733 fboxsep}{3pt}
24734 \end_layout
24735
24736 \end_inset
24737
24738
24739 \end_layout
24740
24741 \begin_layout Standard
24742 \begin_inset VSpace bigskip
24743 \end_inset
24744
24745 The diameter of the round corners of the oval boxes can be set with the
24746  command 
24747 \series bold
24748
24749 \backslash
24750 cornersize
24751 \series default
24752 .
24753  The command
24754 \end_layout
24755
24756 \begin_layout Standard
24757
24758 \series bold
24759
24760 \backslash
24761 cornersize*{1cm}
24762 \end_layout
24763
24764 \begin_layout Standard
24765 sets the diameter to 1\InsetSpace \thinspace{}
24766 cm.
24767  The command
24768 \end_layout
24769
24770 \begin_layout Standard
24771
24772 \series bold
24773
24774 \backslash
24775 cornersize{num}
24776 \end_layout
24777
24778 \begin_layout Standard
24779 sets the diameter to 
24780 \family sans
24781 num\InsetSpace \thinspace{}
24782 ×\InsetSpace \thinspace{}
24783 minimum(width and heigth of box)
24784 \family default
24785 .
24786  The default is 
24787 \series bold
24788
24789 \backslash
24790 cornersize{0.5}
24791 \series default
24792 .
24793 \end_layout
24794
24795 \begin_layout Standard
24796 \begin_inset ERT
24797 status collapsed
24798
24799 \begin_layout Standard
24800
24801
24802 \backslash
24803 cornersize*{1.5cm}
24804 \end_layout
24805
24806 \end_inset
24807
24808
24809 \begin_inset Box Ovalbox
24810 position "c"
24811 hor_pos "c"
24812 has_inner_box 1
24813 inner_pos "c"
24814 use_parbox 0
24815 width "25col%"
24816 special "none"
24817 height "1in"
24818 height_special "totalheight"
24819 status collapsed
24820
24821 \begin_layout Standard
24822 \align center
24823 Oval box with 
24824 \series bold
24825
24826 \backslash
24827 cornersize
24828 \series default
24829 \InsetSpace \thinspace{}
24830 =\InsetSpace \thinspace{}
24831 1.5\InsetSpace \thinspace{}
24832 cm
24833 \end_layout
24834
24835 \end_inset
24836
24837
24838 \begin_inset ERT
24839 status collapsed
24840
24841 \begin_layout Standard
24842
24843
24844 \backslash
24845 cornersize{0.5}
24846 \end_layout
24847
24848 \end_inset
24849
24850
24851 \end_layout
24852
24853 \begin_layout Standard
24854 \begin_inset VSpace bigskip
24855 \end_inset
24856
24857 The size of the shadow can be adjusted by changing the length 
24858 \series bold
24859
24860 \backslash
24861 shadowsize
24862 \series default
24863 .
24864  It it set to 2\InsetSpace \thinspace{}
24865 pt for the following box by this command:
24866 \end_layout
24867
24868 \begin_layout Standard
24869
24870 \series bold
24871
24872 \backslash
24873 setlength{
24874 \backslash
24875 shadowsize}{2pt}
24876 \end_layout
24877
24878 \begin_layout Standard
24879 \begin_inset ERT
24880 status collapsed
24881
24882 \begin_layout Standard
24883
24884
24885 \backslash
24886 setlength{
24887 \backslash
24888 shadowsize}{2pt}
24889 \end_layout
24890
24891 \end_inset
24892
24893
24894 \begin_inset Box Shadowbox
24895 position "c"
24896 hor_pos "c"
24897 has_inner_box 1
24898 inner_pos "c"
24899 use_parbox 0
24900 width "25col%"
24901 special "none"
24902 height "1in"
24903 height_special "totalheight"
24904 status collapsed
24905
24906 \begin_layout Standard
24907 \align center
24908 Shadow box with 
24909 \series bold
24910
24911 \backslash
24912 shadowsize
24913 \series default
24914 \InsetSpace \thinspace{}
24915 =\InsetSpace \thinspace{}
24916 2\InsetSpace \thinspace{}
24917 pt
24918 \end_layout
24919
24920 \end_inset
24921
24922
24923 \begin_inset ERT
24924 status collapsed
24925
24926 \begin_layout Standard
24927
24928
24929 \backslash
24930 setlength{
24931 \backslash
24932 shadowsize}{4pt}
24933 \end_layout
24934
24935 \end_inset
24936
24937
24938 \end_layout
24939
24940 \begin_layout Standard
24941 \begin_inset VSpace bigskip
24942 \end_inset
24943
24944 Changed lengths and widths are valid for all boxes following the commands
24945  that change them.
24946 \end_layout
24947
24948 \begin_layout Section
24949 Minipages
24950 \begin_inset LatexCommand label
24951 name "sec:Minipages"
24952
24953 \end_inset
24954
24955
24956 \begin_inset LatexCommand index
24957 name "Boxes ! Minipages"
24958
24959 \end_inset
24960
24961
24962 \end_layout
24963
24964 \begin_layout Standard
24965 Minipages are treated by LaTeX as pages within pages and can therefore for
24966  example have their own footnotes.
24967 \end_layout
24968
24969 \begin_layout Standard
24970 Minipages are useful when you write documents with different languages.
24971 \end_layout
24972
24973 \begin_layout Standard
24974 Below are two example minipages side by side.
24975  Their width is set to 45\InsetSpace \thinspace{}
24976 col% and they are separated by a horizontal fill,
24977  that was inserted via the menu 
24978 \family sans
24979 Insert\SpecialChar \menuseparator
24980 Special\InsetSpace ~
24981 Formatting\SpecialChar \menuseparator
24982 Horizontal\InsetSpace ~
24983 Fill
24984 \family default
24985 .
24986 \end_layout
24987
24988 \begin_layout Standard
24989 \begin_inset Box Frameless
24990 position "t"
24991 hor_pos "c"
24992 has_inner_box 1
24993 inner_pos "c"
24994 use_parbox 0
24995 width "45col%"
24996 special "none"
24997 height "1in"
24998 height_special "totalheight"
24999 status open
25000
25001 \begin_layout Standard
25002
25003 \lang german
25004 Dies ist ein deutscher Text.
25005  Dies ist ein deutscher Text.
25006  Dies ist ein deutscher Text.
25007  Dies ist ein deutscher Text.
25008  Dies ist ein deutscher Text.
25009  Dies ist ein deutscher Text.
25010  Dies ist ein deutscher Text.
25011  Dies ist ein deutscher Text.
25012  Dies ist ein deutscher Text.
25013  Dies ist ein deutscher Text.
25014  Dies ist ein deutscher Text.
25015  Dies ist ein deutscher Text.
25016  Dies ist ein deutscher Text
25017 \begin_inset Foot
25018 status collapsed
25019
25020 \begin_layout Standard
25021
25022 \lang german
25023 Dies ist eine deutsche Fußnote.
25024 \end_layout
25025
25026 \end_inset
25027
25028 .
25029  Dies ist ein deutscher Text.
25030  Dies ist ein deutscher Text.
25031 \end_layout
25032
25033 \end_inset
25034
25035
25036 \hfill
25037
25038 \begin_inset Box Frameless
25039 position "t"
25040 hor_pos "c"
25041 has_inner_box 1
25042 inner_pos "c"
25043 use_parbox 0
25044 width "45col%"
25045 special "none"
25046 height "1in"
25047 height_special "totalheight"
25048 status open
25049
25050 \begin_layout Standard
25051 This is an English Text.
25052  This is an English Text.
25053  This is an English Text.
25054  This is an English Text.
25055  This is an English Text.
25056  This is an English Text.
25057  This is an English Text.
25058  This is an English Text.
25059  This is an English Text.
25060  This is an English Text.
25061  This is an English Text.
25062  This is an English Text.
25063  This is an English Text.
25064  This is an English Text.
25065  This is an English Text.
25066  This is an English Text.
25067 \begin_inset Foot
25068 status collapsed
25069
25070 \begin_layout Standard
25071 This is an English footnote.
25072 \end_layout
25073
25074 \end_inset
25075
25076  This is an English Text.
25077  
25078 \end_layout
25079
25080 \end_inset
25081
25082
25083 \end_layout
25084
25085 \begin_layout Standard
25086 \begin_inset VSpace bigskip
25087 \end_inset
25088
25089 Another application for minipages are footnotes within tables.
25090  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25091  bottom of the current page.
25092  But when you put the table with the footnote to a minipage, the footnote
25093  will appear at its bottom, numbered with Latin letters.
25094  The footnote number is reset to 1 in every minipage but not outside the
25095  minipages.
25096 \end_layout
25097
25098 \begin_layout Standard
25099 The footnote of this table doesn't appear: 
25100 \begin_inset Tabular
25101 <lyxtabular version="3" rows="3" columns="4">
25102 <features>
25103 <column alignment="center" valignment="top" leftline="true" width="0pt">
25104 <column alignment="center" valignment="top" leftline="true" width="0pt">
25105 <column alignment="center" valignment="top" leftline="true" width="0pt">
25106 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25107 <row topline="true">
25108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25109 \begin_inset Text
25110
25111 \begin_layout Standard
25112 1
25113 \end_layout
25114
25115 \end_inset
25116 </cell>
25117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25118 \begin_inset Text
25119
25120 \begin_layout Standard
25121 2
25122 \end_layout
25123
25124 \end_inset
25125 </cell>
25126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25127 \begin_inset Text
25128
25129 \begin_layout Standard
25130 3
25131 \begin_inset Foot
25132 status collapsed
25133
25134 \begin_layout Standard
25135 This is a footnote within a table.
25136 \end_layout
25137
25138 \end_inset
25139
25140
25141 \end_layout
25142
25143 \end_inset
25144 </cell>
25145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25146 \begin_inset Text
25147
25148 \begin_layout Standard
25149 4
25150 \end_layout
25151
25152 \end_inset
25153 </cell>
25154 </row>
25155 <row topline="true">
25156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25157 \begin_inset Text
25158
25159 \begin_layout Standard
25160 a
25161 \end_layout
25162
25163 \end_inset
25164 </cell>
25165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25166 \begin_inset Text
25167
25168 \begin_layout Standard
25169 b
25170 \end_layout
25171
25172 \end_inset
25173 </cell>
25174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25175 \begin_inset Text
25176
25177 \begin_layout Standard
25178 c
25179 \end_layout
25180
25181 \end_inset
25182 </cell>
25183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25184 \begin_inset Text
25185
25186 \begin_layout Standard
25187 d
25188 \end_layout
25189
25190 \end_inset
25191 </cell>
25192 </row>
25193 <row topline="true" bottomline="true">
25194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25195 \begin_inset Text
25196
25197 \begin_layout Standard
25198 e
25199 \end_layout
25200
25201 \end_inset
25202 </cell>
25203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25204 \begin_inset Text
25205
25206 \begin_layout Standard
25207 f
25208 \end_layout
25209
25210 \end_inset
25211 </cell>
25212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25213 \begin_inset Text
25214
25215 \begin_layout Standard
25216 g
25217 \end_layout
25218
25219 \end_inset
25220 </cell>
25221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25222 \begin_inset Text
25223
25224 \begin_layout Standard
25225 h
25226 \end_layout
25227
25228 \end_inset
25229 </cell>
25230 </row>
25231 </lyxtabular>
25232
25233 \end_inset
25234
25235
25236 \end_layout
25237
25238 \begin_layout Standard
25239 \align center
25240 \begin_inset Box Frameless
25241 position "t"
25242 hor_pos "c"
25243 has_inner_box 1
25244 inner_pos "c"
25245 use_parbox 0
25246 width "30col%"
25247 special "none"
25248 height "1in"
25249 height_special "totalheight"
25250 status open
25251
25252 \begin_layout Standard
25253 \align center
25254 \begin_inset Tabular
25255 <lyxtabular version="3" rows="3" columns="4">
25256 <features>
25257 <column alignment="center" valignment="top" leftline="true" width="0pt">
25258 <column alignment="center" valignment="top" leftline="true" width="0pt">
25259 <column alignment="center" valignment="top" leftline="true" width="0pt">
25260 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25261 <row topline="true">
25262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25263 \begin_inset Text
25264
25265 \begin_layout Standard
25266 1
25267 \end_layout
25268
25269 \end_inset
25270 </cell>
25271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25272 \begin_inset Text
25273
25274 \begin_layout Standard
25275 2
25276 \end_layout
25277
25278 \end_inset
25279 </cell>
25280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25281 \begin_inset Text
25282
25283 \begin_layout Standard
25284 3
25285 \begin_inset Foot
25286 status collapsed
25287
25288 \begin_layout Standard
25289 This is a footnote within a table.
25290 \end_layout
25291
25292 \end_inset
25293
25294
25295 \end_layout
25296
25297 \end_inset
25298 </cell>
25299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25300 \begin_inset Text
25301
25302 \begin_layout Standard
25303 4
25304 \end_layout
25305
25306 \end_inset
25307 </cell>
25308 </row>
25309 <row topline="true">
25310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25311 \begin_inset Text
25312
25313 \begin_layout Standard
25314 a
25315 \end_layout
25316
25317 \end_inset
25318 </cell>
25319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25320 \begin_inset Text
25321
25322 \begin_layout Standard
25323 b
25324 \end_layout
25325
25326 \end_inset
25327 </cell>
25328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25329 \begin_inset Text
25330
25331 \begin_layout Standard
25332 c
25333 \end_layout
25334
25335 \end_inset
25336 </cell>
25337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25338 \begin_inset Text
25339
25340 \begin_layout Standard
25341 d
25342 \end_layout
25343
25344 \end_inset
25345 </cell>
25346 </row>
25347 <row topline="true" bottomline="true">
25348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25349 \begin_inset Text
25350
25351 \begin_layout Standard
25352 e
25353 \end_layout
25354
25355 \end_inset
25356 </cell>
25357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25358 \begin_inset Text
25359
25360 \begin_layout Standard
25361 f
25362 \end_layout
25363
25364 \end_inset
25365 </cell>
25366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25367 \begin_inset Text
25368
25369 \begin_layout Standard
25370 g
25371 \end_layout
25372
25373 \end_inset
25374 </cell>
25375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25376 \begin_inset Text
25377
25378 \begin_layout Standard
25379 h
25380 \end_layout
25381
25382 \end_inset
25383 </cell>
25384 </row>
25385 </lyxtabular>
25386
25387 \end_inset
25388
25389
25390 \end_layout
25391
25392 \end_inset
25393
25394
25395 \end_layout
25396
25397 \begin_layout Standard
25398 \begin_inset VSpace bigskip
25399 \end_inset
25400
25401 The document-wide paragraph settings are ignored within minipages.
25402  That means that there will be no space between paragraphs in minipages
25403  although you set it to e.\InsetSpace \thinspace{}
25404 g.\InsetSpace ~
25405
25406 \family sans
25407 MedSkip
25408 \family default
25409  in the document settings.
25410 \end_layout
25411
25412 \begin_layout Standard
25413 Minipages can also be used to set a background color for text parts, see
25414  section\InsetSpace ~
25415
25416 \begin_inset LatexCommand ref
25417 reference "sub:Color-for-Paragraphs"
25418
25419 \end_inset
25420
25421 .
25422 \end_layout
25423
25424 \begin_layout Standard
25425 \begin_inset Note Greyedout
25426 status open
25427
25428 \begin_layout Standard
25429
25430 \series bold
25431 Note:
25432 \series default
25433  You cannot have floats or margin notes inside minipages but minipages can
25434  be used inside tables, floats, and other boxes.
25435 \end_layout
25436
25437 \end_inset
25438
25439
25440 \end_layout
25441
25442 \begin_layout Section
25443 Parboxes
25444 \begin_inset LatexCommand label
25445 name "sec:Parboxes"
25446
25447 \end_inset
25448
25449
25450 \begin_inset LatexCommand index
25451 name "Boxes ! Parboxes"
25452
25453 \end_inset
25454
25455
25456 \end_layout
25457
25458 \begin_layout Standard
25459 Parboxes are very similar to minipages with the difference that they cannot
25460  have footnotes.
25461  The main difference to minipages is that minipages are in contrary to parboxes
25462  no real boxes but LaTeX-environments.
25463 \end_layout
25464
25465 \begin_layout Standard
25466 \align center
25467 \begin_inset Box Frameless
25468 position "t"
25469 hor_pos "c"
25470 has_inner_box 1
25471 inner_pos "t"
25472 use_parbox 1
25473 width "33col%"
25474 special "none"
25475 height "1in"
25476 height_special "totalheight"
25477 status collapsed
25478
25479 \begin_layout Standard
25480 This a text within a parbox.
25481  This a text within a parbox.
25482 \end_layout
25483
25484 \begin_layout Standard
25485 This footnote won't appear:
25486 \begin_inset Foot
25487 status collapsed
25488
25489 \begin_layout Standard
25490 This footnote is inside a parbox and will therefore not appear.
25491 \end_layout
25492
25493 \end_inset
25494
25495
25496 \end_layout
25497
25498 \end_inset
25499
25500
25501 \end_layout
25502
25503 \begin_layout Section
25504 Boxes for Words and Characters
25505 \begin_inset LatexCommand index
25506 name "Boxes ! for Characters"
25507
25508 \end_inset
25509
25510
25511 \end_layout
25512
25513 \begin_layout Subsection
25514 Prevent Hyphenation
25515 \begin_inset LatexCommand label
25516 name "sec:Prevent-Hyphenation"
25517
25518 \end_inset
25519
25520
25521 \begin_inset LatexCommand index
25522 name "Boxes ! to Prevent Hyphenation"
25523
25524 \end_inset
25525
25526
25527 \end_layout
25528
25529 \begin_layout Standard
25530 You can use a special kind of boxes to prevent words or text to be hyphenated.
25531 \newline
25532 Her
25533 e is an example text:
25534 \end_layout
25535
25536 \begin_layout Standard
25537 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25538 g.\InsetSpace ~
25539 veryver
25540 ylongwords.
25541 \end_layout
25542
25543 \begin_layout Standard
25544 To prevent the hyphenation of the word 
25545 \begin_inset Quotes eld
25546 \end_inset
25547
25548 veryverylongwords
25549 \begin_inset Quotes erd
25550 \end_inset
25551
25552 , add the command
25553 \end_layout
25554
25555 \begin_layout Standard
25556
25557 \series bold
25558
25559 \backslash
25560 mbox{
25561 \end_layout
25562
25563 \begin_layout Standard
25564 in ERT before the word.
25565  Behind the word insert a closing brace 
25566 \begin_inset Quotes eld
25567 \end_inset
25568
25569
25570 \series bold
25571 }
25572 \series default
25573
25574 \begin_inset Quotes erd
25575 \end_inset
25576
25577  in ERT.
25578 \begin_inset ERT
25579 status collapsed
25580
25581 \begin_layout Standard
25582
25583
25584 \backslash
25585 pagebreak 
25586 \end_layout
25587
25588 \end_inset
25589
25590
25591 \end_layout
25592
25593 \begin_layout Standard
25594 This is the result:
25595 \end_layout
25596
25597 \begin_layout Standard
25598 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25599 g.\InsetSpace ~
25600
25601 \begin_inset ERT
25602 status collapsed
25603
25604 \begin_layout Standard
25605
25606
25607 \backslash
25608 mbox{
25609 \end_layout
25610
25611 \end_inset
25612
25613 veryverylongwords.
25614 \begin_inset ERT
25615 status collapsed
25616
25617 \begin_layout Standard
25618
25619 }
25620 \end_layout
25621
25622 \end_inset
25623
25624
25625 \end_layout
25626
25627 \begin_layout Standard
25628 Of course the word now protrudes over the side margin.
25629  To avoid this, add via the menu 
25630 \family sans
25631 Insert\SpecialChar \menuseparator
25632 Special\InsetSpace ~
25633 Formatting\SpecialChar \menuseparator
25634 Line\InsetSpace ~
25635 Break
25636 \family default
25637  (shortcut 
25638 \series bold
25639 Ctrl-Return
25640 \series default
25641 ) a line break before the word:
25642 \end_layout
25643
25644 \begin_layout Standard
25645 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25646 g.\InsetSpace ~
25647
25648 \newline
25649
25650 \begin_inset ERT
25651 status collapsed
25652
25653 \begin_layout Standard
25654
25655
25656 \backslash
25657 mbox{
25658 \end_layout
25659
25660 \end_inset
25661
25662 veryverylongwords.
25663 \begin_inset ERT
25664 status collapsed
25665
25666 \begin_layout Standard
25667
25668 }
25669 \end_layout
25670
25671 \end_inset
25672
25673
25674 \end_layout
25675
25676 \begin_layout Subsection
25677 Vertical Alignment
25678 \begin_inset LatexCommand label
25679 name "sub:Vertical-Alignment"
25680
25681 \end_inset
25682
25683
25684 \begin_inset LatexCommand index
25685 name "Boxes ! for Vertical Alignment"
25686
25687 \end_inset
25688
25689
25690 \begin_inset LatexCommand index
25691 name "Boxes ! Raiseboxes"
25692
25693 \end_inset
25694
25695
25696 \end_layout
25697
25698 \begin_layout Standard
25699 With the help of the command 
25700 \series bold
25701
25702 \backslash
25703 raisebox
25704 \series default
25705  you can align words, characters or other boxes vertically to the surrounding
25706  text.
25707  
25708 \series bold
25709
25710 \backslash
25711 raisebox
25712 \series default
25713  is used with the following scheme:
25714 \end_layout
25715
25716 \begin_layout Standard
25717
25718 \series bold
25719
25720 \backslash
25721 raisebox{lift}[height][depth]{box content}
25722 \end_layout
25723
25724 \begin_layout Standard
25725 The lift can be a positive value to raise the box or a negative value to
25726  lower the box.
25727 \end_layout
25728
25729 \begin_layout Standard
25730 To align for example the word 
25731 \begin_inset Quotes eld
25732 \end_inset
25733
25734 preventing
25735 \begin_inset Quotes erd
25736 \end_inset
25737
25738  so that the bottom of the 
25739 \begin_inset Quotes eld
25740 \end_inset
25741
25742 deepest
25743 \begin_inset Quotes erd
25744 \end_inset
25745
25746  character 
25747 \begin_inset Quotes eld
25748 \end_inset
25749
25750 p
25751 \begin_inset Quotes erd
25752 \end_inset
25753
25754  is at the baseline, insert the command
25755 \end_layout
25756
25757 \begin_layout Standard
25758
25759 \series bold
25760
25761 \backslash
25762 raisebox{
25763 \backslash
25764 depth}{
25765 \end_layout
25766
25767 \begin_layout Standard
25768 in ERT before the word.
25769  Behind the word insert a closing brace 
25770 \begin_inset Quotes eld
25771 \end_inset
25772
25773
25774 \series bold
25775 }
25776 \series default
25777
25778 \begin_inset Quotes erd
25779 \end_inset
25780
25781  in ERT.
25782 \newline
25783 This is the result:
25784 \end_layout
25785
25786 \begin_layout Standard
25787 This is a text line with the word 
25788 \begin_inset ERT
25789 status collapsed
25790
25791 \begin_layout Standard
25792
25793
25794 \backslash
25795 raisebox{
25796 \backslash
25797 depth}{
25798 \end_layout
25799
25800 \end_inset
25801
25802
25803 \begin_inset Quotes eld
25804 \end_inset
25805
25806 preventing
25807 \begin_inset Quotes erd
25808 \end_inset
25809
25810
25811 \begin_inset ERT
25812 status collapsed
25813
25814 \begin_layout Standard
25815
25816 }
25817 \end_layout
25818
25819 \end_inset
25820
25821  as raised word.
25822 \end_layout
25823
25824 \begin_layout Standard
25825 \begin_inset VSpace bigskip
25826 \end_inset
25827
25828 When you raise or lower characters in a line, the line distance will be
25829  spread:
25830 \end_layout
25831
25832 \begin_layout Standard
25833 This is a text line with the word 
25834 \begin_inset ERT
25835 status collapsed
25836
25837 \begin_layout Standard
25838
25839
25840 \backslash
25841 raisebox{-
25842 \backslash
25843 depth}{
25844 \end_layout
25845
25846 \end_inset
25847
25848
25849 \begin_inset Quotes eld
25850 \end_inset
25851
25852 preventing
25853 \begin_inset Quotes erd
25854 \end_inset
25855
25856
25857 \begin_inset ERT
25858 status collapsed
25859
25860 \begin_layout Standard
25861
25862 }
25863 \end_layout
25864
25865 \end_inset
25866
25867  as lowered word.
25868 \newline
25869 This is a text line with the word 
25870 \begin_inset ERT
25871 status collapsed
25872
25873 \begin_layout Standard
25874
25875
25876 \backslash
25877 raisebox{0.5cm}{
25878 \end_layout
25879
25880 \end_inset
25881
25882
25883 \begin_inset Quotes eld
25884 \end_inset
25885
25886 testing
25887 \begin_inset Quotes erd
25888 \end_inset
25889
25890
25891 \begin_inset ERT
25892 status collapsed
25893
25894 \begin_layout Standard
25895
25896 }
25897 \end_layout
25898
25899 \end_inset
25900
25901  as raised word.
25902 \end_layout
25903
25904 \begin_layout Standard
25905 If you want to prevent this for a certain reason, set the box height to
25906  a zero value.
25907  For example use
25908 \end_layout
25909
25910 \begin_layout Standard
25911
25912 \series bold
25913
25914 \backslash
25915 raisebox{-
25916 \backslash
25917 depth}[0pt]{
25918 \end_layout
25919
25920 \begin_layout Standard
25921 This is a text line with the word 
25922 \begin_inset ERT
25923 status collapsed
25924
25925 \begin_layout Standard
25926
25927
25928 \backslash
25929 raisebox{-
25930 \backslash
25931 depth}[0pt]{
25932 \end_layout
25933
25934 \end_inset
25935
25936
25937 \begin_inset Quotes eld
25938 \end_inset
25939
25940 preventing
25941 \begin_inset Quotes erd
25942 \end_inset
25943
25944
25945 \begin_inset ERT
25946 status collapsed
25947
25948 \begin_layout Standard
25949
25950 }
25951 \end_layout
25952
25953 \end_inset
25954
25955  as lowered word.
25956 \newline
25957 This is a text line with the word 
25958 \begin_inset ERT
25959 status collapsed
25960
25961 \begin_layout Standard
25962
25963
25964 \backslash
25965 raisebox{0.5cm}[0pt]{
25966 \end_layout
25967
25968 \end_inset
25969
25970
25971 \begin_inset Quotes eld
25972 \end_inset
25973
25974 testing
25975 \begin_inset Quotes erd
25976 \end_inset
25977
25978
25979 \begin_inset ERT
25980 status collapsed
25981
25982 \begin_layout Standard
25983
25984 }
25985 \end_layout
25986
25987 \end_inset
25988
25989  as raised word.
25990 \end_layout
25991
25992 \begin_layout Section
25993 Colored Boxes
25994 \begin_inset LatexCommand label
25995 name "sec:Colored-Boxes"
25996
25997 \end_inset
25998
25999
26000 \begin_inset LatexCommand index
26001 name "Boxes ! Color"
26002
26003 \end_inset
26004
26005
26006 \end_layout
26007
26008 \begin_layout Subsection
26009 Color for Text
26010 \begin_inset LatexCommand index
26011 name "Color ! for Text"
26012
26013 \end_inset
26014
26015
26016 \end_layout
26017
26018 \begin_layout Standard
26019 To color the background of text the text must be put into a so called colorbox.
26020  This requires that the LaTeX-package 
26021 \series bold
26022 color
26023 \series default
26024
26025 \begin_inset LatexCommand index
26026 name "LaTeX-packages ! color"
26027
26028 \end_inset
26029
26030  is loaded in the document preamble with the command
26031 \end_layout
26032
26033 \begin_layout Standard
26034
26035 \series bold
26036
26037 \backslash
26038 @ifundef\SpecialChar \textcompwordmark{}
26039 ined{textcolor}
26040 \newline
26041
26042 \begin_inset ERT
26043 status collapsed
26044
26045 \begin_layout Standard
26046
26047
26048 \backslash
26049 hphantom{ }
26050 \end_layout
26051
26052 \end_inset
26053
26054 {
26055 \backslash
26056 usepackage{color}}{}
26057 \end_layout
26058
26059 \begin_layout Standard
26060 The package 
26061 \series bold
26062 color
26063 \series default
26064  will be loaded automatically by LyX when you color text
26065 \begin_inset Foot
26066 status collapsed
26067
26068 \begin_layout Standard
26069 To avoid that it is loaded twice the command 
26070 \series bold
26071
26072 \backslash
26073 @ifundef\SpecialChar \textcompwordmark{}
26074 ined
26075 \series default
26076  is used.
26077 \end_layout
26078
26079 \end_inset
26080
26081 .
26082 \end_layout
26083
26084 \begin_layout Standard
26085 \begin_inset VSpace medskip
26086 \end_inset
26087
26088 Colorboxes are created with the command 
26089 \series bold
26090
26091 \backslash
26092 colorbox
26093 \series default
26094 .
26095  This will be used with the following scheme:
26096 \end_layout
26097
26098 \begin_layout Standard
26099
26100 \series bold
26101
26102 \backslash
26103 colorbox{color}{box content}
26104 \end_layout
26105
26106 \begin_layout Standard
26107 The box content can also be a box and colorboxes can also be within other
26108  boxes.
26109 \end_layout
26110
26111 \begin_layout Standard
26112 The following colors are predefined:
26113 \newline
26114
26115 \family sans
26116 black
26117 \family default
26118
26119 \family sans
26120 blue
26121 \family default
26122
26123 \family sans
26124 cyan
26125 \family default
26126 \series bold
26127 ,
26128 \series default
26129  
26130 \family sans
26131 green
26132 \family default
26133
26134 \family sans
26135 magenta
26136 \family default
26137
26138 \family sans
26139 red
26140 \family default
26141
26142 \family sans
26143 white
26144 \family default
26145 , and 
26146 \family sans
26147 yellow
26148 \family default
26149 .
26150 \newline
26151 You can also define your own color as described in section\InsetSpace ~
26152
26153 \begin_inset LatexCommand ref
26154 reference "sec:Colored-Tables"
26155
26156 \end_inset
26157
26158 .
26159 \end_layout
26160
26161 \begin_layout Standard
26162 To have e.\InsetSpace \thinspace{}
26163 g.\InsetSpace ~
26164 a red background for a word, insert the command
26165 \end_layout
26166
26167 \begin_layout Standard
26168
26169 \series bold
26170
26171 \backslash
26172 colorbox{red}{
26173 \end_layout
26174
26175 \begin_layout Standard
26176 before the word in ERT.
26177  Behind the word insert a closing brace 
26178 \begin_inset Quotes eld
26179 \end_inset
26180
26181
26182 \series bold
26183 }
26184 \series default
26185
26186 \begin_inset Quotes erd
26187 \end_inset
26188
26189  in ERT.
26190 \newline
26191 This is the result:
26192 \end_layout
26193
26194 \begin_layout Standard
26195 This is a line where the word 
26196 \begin_inset ERT
26197 status collapsed
26198
26199 \begin_layout Standard
26200
26201
26202 \backslash
26203 colorbox{red}{
26204 \end_layout
26205
26206 \end_inset
26207
26208
26209 \begin_inset Quotes eld
26210 \end_inset
26211
26212 Attention!
26213 \begin_inset Quotes erd
26214 \end_inset
26215
26216
26217 \begin_inset ERT
26218 status collapsed
26219
26220 \begin_layout Standard
26221
26222 }
26223 \end_layout
26224
26225 \end_inset
26226
26227  has a red background.
26228 \end_layout
26229
26230 \begin_layout Standard
26231 \begin_inset VSpace bigskip
26232 \end_inset
26233
26234 If you would have the box frame in a different color, you can use the command
26235  
26236 \series bold
26237
26238 \backslash
26239 fcolorbox
26240 \series default
26241  with the following scheme:
26242 \end_layout
26243
26244 \begin_layout Standard
26245
26246 \series bold
26247
26248 \backslash
26249 fcolorbox{frame color}{box color}{box content}
26250 \end_layout
26251
26252 \begin_layout Standard
26253
26254 \series bold
26255
26256 \backslash
26257 fcolorbox
26258 \series default
26259  is an extension to 
26260 \series bold
26261
26262 \backslash
26263 colorbox
26264 \series default
26265 .
26266  The frame thickness and the space between the frame and the box content
26267  can be adjusted with the lengths 
26268 \series bold
26269
26270 \backslash
26271 fboxrule
26272 \series default
26273  and 
26274 \series bold
26275
26276 \backslash
26277 fboxsep
26278 \series default
26279 , respectively, as described in section\InsetSpace ~
26280
26281 \begin_inset LatexCommand ref
26282 reference "sec:Framed-Boxes"
26283
26284 \end_inset
26285
26286 .
26287 \end_layout
26288
26289 \begin_layout Standard
26290 For the following example the command
26291 \end_layout
26292
26293 \begin_layout Standard
26294
26295 \series bold
26296
26297 \backslash
26298 fcolorbox{cyan}{magenta}{
26299 \end_layout
26300
26301 \begin_layout Standard
26302 was used.
26303 \end_layout
26304
26305 \begin_layout Standard
26306 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26307 mm:
26308 \newline
26309
26310 \begin_inset ERT
26311 status collapsed
26312
26313 \begin_layout Standard
26314
26315
26316 \backslash
26317 fboxrule 1mm 
26318 \backslash
26319 fboxsep 1mm
26320 \end_layout
26321
26322 \end_inset
26323
26324
26325 \begin_inset ERT
26326 status collapsed
26327
26328 \begin_layout Standard
26329
26330
26331 \backslash
26332 fcolorbox{cyan}{magenta}{
26333 \end_layout
26334
26335 \end_inset
26336
26337 This is text within a colored, framed box.
26338 \begin_inset ERT
26339 status collapsed
26340
26341 \begin_layout Standard
26342
26343 }
26344 \end_layout
26345
26346 \end_inset
26347
26348
26349 \end_layout
26350
26351 \begin_layout Standard
26352 \begin_inset VSpace bigskip
26353 \end_inset
26354
26355 Of course you can also have colored text inside a colorbox:
26356 \newline
26357
26358 \begin_inset ERT
26359 status collapsed
26360
26361 \begin_layout Standard
26362
26363
26364 \backslash
26365 fcolorbox{cyan}{magenta}{
26366 \end_layout
26367
26368 \end_inset
26369
26370
26371 \color yellow
26372 This is colored text within a colored, framed box.
26373 \color none
26374
26375 \begin_inset ERT
26376 status collapsed
26377
26378 \begin_layout Standard
26379
26380 }
26381 \end_layout
26382
26383 \end_inset
26384
26385
26386 \begin_inset ERT
26387 status collapsed
26388
26389 \begin_layout Standard
26390
26391
26392 \backslash
26393 fboxrule 0.4pt 
26394 \backslash
26395 fboxsep 3pt
26396 \end_layout
26397
26398 \end_inset
26399
26400
26401 \end_layout
26402
26403 \begin_layout Standard
26404
26405 \series bold
26406 \begin_inset VSpace medskip
26407 \end_inset
26408
26409
26410 \end_layout
26411
26412 \begin_layout Standard
26413 \begin_inset Note Greyedout
26414 status open
26415
26416 \begin_layout Standard
26417
26418 \series bold
26419 Note:
26420 \series default
26421  Text in colorboxes cannot have line breaks.
26422  To color multiple text lines or paragraphs, use a box inside a colorbox
26423  as described in the following.
26424 \end_layout
26425
26426 \end_inset
26427
26428
26429 \end_layout
26430
26431 \begin_layout Subsection
26432 Color for Paragraphs
26433 \begin_inset LatexCommand label
26434 name "sub:Color-for-Paragraphs"
26435
26436 \end_inset
26437
26438
26439 \begin_inset LatexCommand index
26440 name "Color ! for Paragraphs"
26441
26442 \end_inset
26443
26444
26445 \end_layout
26446
26447 \begin_layout Standard
26448 To set the background color for more than one text line, put the text into
26449  a minipage.
26450  Before the minipage insert the 
26451 \series bold
26452
26453 \backslash
26454 colorbox
26455 \series default
26456  command
26457 \end_layout
26458
26459 \begin_layout Standard
26460
26461 \series bold
26462
26463 \backslash
26464 colorbox{color}{
26465 \end_layout
26466
26467 \begin_layout Standard
26468 in ERT.
26469  Behind the minipage insert a closing brace 
26470 \begin_inset Quotes eld
26471 \end_inset
26472
26473
26474 \series bold
26475 }
26476 \series default
26477
26478 \begin_inset Quotes erd
26479 \end_inset
26480
26481  in ERT.
26482 \end_layout
26483
26484 \begin_layout Standard
26485 \begin_inset ERT
26486 status collapsed
26487
26488 \begin_layout Standard
26489
26490
26491 \backslash
26492 colorbox{lightgrey}{
26493 \end_layout
26494
26495 \end_inset
26496
26497
26498 \begin_inset Box Frameless
26499 position "t"
26500 hor_pos "c"
26501 has_inner_box 1
26502 inner_pos "t"
26503 use_parbox 0
26504 width "100col%"
26505 special "none"
26506 height "1in"
26507 height_special "totalheight"
26508 status collapsed
26509
26510 \begin_layout Standard
26511 This is text with background color.
26512  This is text with background color.
26513 \end_layout
26514
26515 \begin_layout Standard
26516 \begin_inset VSpace defskip
26517 \end_inset
26518
26519 The text can have footnotes
26520 \begin_inset Foot
26521 status collapsed
26522
26523 \begin_layout Standard
26524 Another example footnote
26525 \end_layout
26526
26527 \end_inset
26528
26529  and can include tables and figures.
26530 \end_layout
26531
26532 \begin_layout Standard
26533 \align center
26534 \begin_inset Tabular
26535 <lyxtabular version="3" rows="3" columns="3">
26536 <features>
26537 <column alignment="center" valignment="top" leftline="true" width="0">
26538 <column alignment="center" valignment="top" leftline="true" width="0">
26539 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26540 <row topline="true">
26541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26542 \begin_inset Text
26543
26544 \begin_layout Standard
26545 a
26546 \end_layout
26547
26548 \end_inset
26549 </cell>
26550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26551 \begin_inset Text
26552
26553 \begin_layout Standard
26554 !
26555 \end_layout
26556
26557 \end_inset
26558 </cell>
26559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26560 \begin_inset Text
26561
26562 \begin_layout Standard
26563 3
26564 \end_layout
26565
26566 \end_inset
26567 </cell>
26568 </row>
26569 <row topline="true">
26570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26571 \begin_inset Text
26572
26573 \begin_layout Standard
26574 <
26575 \end_layout
26576
26577 \end_inset
26578 </cell>
26579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26580 \begin_inset Text
26581
26582 \begin_layout Standard
26583 b2
26584 \begin_inset Quotes erd
26585 \end_inset
26586
26587 |
26588 \end_layout
26589
26590 \end_inset
26591 </cell>
26592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26593 \begin_inset Text
26594
26595 \begin_layout Standard
26596 >
26597 \end_layout
26598
26599 \end_inset
26600 </cell>
26601 </row>
26602 <row topline="true" bottomline="true">
26603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26604 \begin_inset Text
26605
26606 \begin_layout Standard
26607 1
26608 \end_layout
26609
26610 \end_inset
26611 </cell>
26612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26613 \begin_inset Text
26614
26615 \begin_layout Standard
26616 §
26617 \end_layout
26618
26619 \end_inset
26620 </cell>
26621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26622 \begin_inset Text
26623
26624 \begin_layout Standard
26625 c
26626 \end_layout
26627
26628 \end_inset
26629 </cell>
26630 </row>
26631 </lyxtabular>
26632
26633 \end_inset
26634
26635
26636 \end_layout
26637
26638 \end_inset
26639
26640
26641 \begin_inset ERT
26642 status collapsed
26643
26644 \begin_layout Standard
26645
26646 }
26647 \end_layout
26648
26649 \end_inset
26650
26651
26652 \end_layout
26653
26654 \begin_layout Section
26655 URLs (Uniform Resource Locators)
26656 \begin_inset LatexCommand index
26657 name "URLs"
26658
26659 \end_inset
26660
26661
26662 \end_layout
26663
26664 \begin_layout Standard
26665 Links to web pages or email addresses can be inserted via the menu 
26666 \family sans
26667 Insert\SpecialChar \menuseparator
26668 URL
26669 \family default
26670 .
26671  The appearing URL dialog has two fields; the 
26672 \family sans
26673 URL
26674 \family default
26675  field and the 
26676 \family sans
26677 Name
26678 \family default
26679  field for the URL description, which will be typeset as plain text immediately
26680  before the URL.
26681 \end_layout
26682
26683 \begin_layout Standard
26684 Here is an example URL: 
26685 \begin_inset LatexCommand url
26686 name "LyX's homepage"
26687 target "http://www.lyx.org"
26688
26689 \end_inset
26690
26691
26692 \end_layout
26693
26694 \begin_layout Standard
26695 The option 
26696 \family sans
26697 Generate\InsetSpace ~
26698 hyperlink
26699 \family default
26700  in the URL dialog has only an affect when you export your document to the
26701  format 
26702 \begin_inset Quotes eld
26703 \end_inset
26704
26705
26706 \family sans
26707 LinuxDoc
26708 \family default
26709
26710 \begin_inset Quotes erd
26711 \end_inset
26712
26713 .
26714 \end_layout
26715
26716 \begin_layout Standard
26717 You cannot change the style of the link text.
26718  The text of the 
26719 \family sans
26720 Name
26721 \family default
26722  field will have the default text style of the document while the text of
26723  the 
26724 \family sans
26725 URL
26726 \family default
26727  field will have the style 
26728 \begin_inset Quotes eld
26729 \end_inset
26730
26731
26732 \family sans
26733 Typewriter
26734 \family default
26735
26736 \begin_inset Quotes erd
26737 \end_inset
26738
26739 .
26740 \end_layout
26741
26742 \begin_layout Standard
26743 When you use the LaTeX-package 
26744 \series bold
26745 hyperref
26746 \series default
26747
26748 \begin_inset LatexCommand index
26749 name "LaTeX-packages ! hyperref"
26750
26751 \end_inset
26752
26753  to link cross-references in the output, URLs will automatically become
26754  clickable hyperlinks in DVI and PDF-output.
26755 \end_layout
26756
26757 \begin_layout Standard
26758 \begin_inset Note Greyedout
26759 status open
26760
26761 \begin_layout Standard
26762
26763 \series bold
26764 Note:
26765 \series default
26766  When you use the following characters: "%", "#", "^", you have to write
26767  them with a preceding backslash, e.\InsetSpace \thinspace{}
26768 g.\InsetSpace ~
26769
26770 \begin_inset Quotes eld
26771 \end_inset
26772
26773
26774 \backslash
26775 #
26776 \begin_inset Quotes erd
26777 \end_inset
26778
26779 .
26780  URLs must not end with a backslash.
26781 \end_layout
26782
26783 \end_inset
26784
26785
26786 \end_layout
26787
26788 \begin_layout Standard
26789 \begin_inset VSpace bigskip
26790 \end_inset
26791
26792 To create real hyperlinks without the force to write the link location to
26793  the text, you can use the command
26794 \end_layout
26795
26796 \begin_layout Standard
26797
26798 \series bold
26799
26800 \backslash
26801 href{link location}{link text}
26802 \end_layout
26803
26804 \begin_layout Standard
26805 in ERT.
26806  To get for example a link to LyX's web page, write the command
26807 \end_layout
26808
26809 \begin_layout Standard
26810
26811 \series bold
26812
26813 \backslash
26814 href{http://www.lyx.org}{
26815 \end_layout
26816
26817 \begin_layout Standard
26818 in ERT.
26819  Insert after the command the link text 
26820 \begin_inset Quotes eld
26821 \end_inset
26822
26823 LyX's homepage
26824 \begin_inset Quotes erd
26825 \end_inset
26826
26827  as normal text followed by a closing brace 
26828 \begin_inset Quotes eld
26829 \end_inset
26830
26831
26832 \series bold
26833 }
26834 \series default
26835
26836 \begin_inset Quotes erd
26837 \end_inset
26838
26839  in ERT.
26840  This is the result: 
26841 \begin_inset ERT
26842 status collapsed
26843
26844 \begin_layout Standard
26845
26846
26847 \backslash
26848 href{http://www.lyx.org}{
26849 \end_layout
26850
26851 \end_inset
26852
26853 LyX's homepage
26854 \begin_inset ERT
26855 status collapsed
26856
26857 \begin_layout Standard
26858
26859 }
26860 \end_layout
26861
26862 \end_inset
26863
26864
26865 \end_layout
26866
26867 \begin_layout Standard
26868 To link to email addresses, add the prefix 
26869 \begin_inset Quotes eld
26870 \end_inset
26871
26872
26873 \family sans
26874 mailto:
26875 \family default
26876
26877 \begin_inset Quotes erd
26878 \end_inset
26879
26880  to the link location:
26881 \newline
26882 Email to 
26883 \begin_inset ERT
26884 status collapsed
26885
26886 \begin_layout Standard
26887
26888
26889 \backslash
26890 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26891 \end_layout
26892
26893 \end_inset
26894
26895 lyx-docs mailing list
26896 \begin_inset ERT
26897 status collapsed
26898
26899 \begin_layout Standard
26900
26901 }
26902 \end_layout
26903
26904 \end_inset
26905
26906 .
26907 \end_layout
26908
26909 \begin_layout Standard
26910 Using 
26911 \series bold
26912
26913 \backslash
26914 href
26915 \series default
26916  instead of LyX's URL box has the advantage that you can specify the text
26917  style of the link text like for all other text parts.
26918  You can therefore set hyphenation points and forced linebreaks to have
26919  long link text broken at the page margin.
26920  You are furthermore able to change the text style for all URLs in your
26921  document with an option in 
26922 \series bold
26923 hyperref
26924 \series default
26925 's load command and the restrictions mentioned above doesn't apply for 
26926 \series bold
26927
26928 \backslash
26929 href
26930 \series default
26931 .
26932 \end_layout
26933
26934 \begin_layout Chapter
26935 External Stuff
26936 \begin_inset LatexCommand index
26937 name "External Stuff"
26938
26939 \end_inset
26940
26941
26942 \end_layout
26943
26944 \begin_layout Standard
26945 With the menu 
26946 \family sans
26947 Insert\SpecialChar \menuseparator
26948 File
26949 \family default
26950  you can insert external material to your document.
26951  This can be:
26952 \end_layout
26953
26954 \begin_layout Description
26955 LyX\InsetSpace ~
26956 Document Another LyX document; its content is directly inserted to your
26957  document.
26958 \end_layout
26959
26960 \begin_layout Description
26961 Plain\InsetSpace ~
26962 Text A text document; every of its text lines is inserted to your document
26963  as own paragraph.
26964 \end_layout
26965
26966 \begin_layout Description
26967 Plain\InsetSpace ~
26968 Text,\InsetSpace ~
26969 Join\InsetSpace ~
26970 Lines A text document; its text lines are inserted as they
26971  are.
26972  Empty text lines creates a new paragraph in your document.
26973 \end_layout
26974
26975 \begin_layout Description
26976 External\InsetSpace ~
26977 Material Files in various formats.
26978 \end_layout
26979
26980 \begin_layout Description
26981 Child\InsetSpace ~
26982 Document LyX or LaTeX-documents.
26983 \end_layout
26984
26985 \begin_layout Section
26986 External Material
26987 \begin_inset LatexCommand index
26988 name "External Stuff ! External Material"
26989
26990 \end_inset
26991
26992
26993 \end_layout
26994
26995 \begin_layout Standard
26996 The external material feature allows you to insert files to your document
26997  without converting them previously to a format that can be read by the
26998  document output format because LyX takes care of needed conversions.
26999  This is similar to images that can be inserted in various image formats
27000  to LyX documents.
27001 \end_layout
27002
27003 \begin_layout Standard
27004 External material can be inserted via the 
27005 \family sans
27006 External Material
27007 \family default
27008  dialog that is accessible with the menu 
27009 \family sans
27010 Insert\SpecialChar \menuseparator
27011 File\SpecialChar \menuseparator
27012 External\InsetSpace ~
27013 Material
27014 \family default
27015 .
27016  Currently the following file types (
27017 \family sans
27018 Templates
27019 \family default
27020 ) are allowed:
27021 \end_layout
27022
27023 \begin_layout Description
27024 ChessDiagram This template supports chess position diagrams made with the
27025  program 
27026 \begin_inset ERT
27027 status collapsed
27028
27029 \begin_layout Standard
27030
27031
27032 \backslash
27033 href{http://en.wikipedia.org/wiki/XBoard}{
27034 \end_layout
27035
27036 \end_inset
27037
27038
27039 \series bold
27040 XBoard
27041 \series default
27042
27043 \begin_inset ERT
27044 status collapsed
27045
27046 \begin_layout Standard
27047
27048 }
27049 \end_layout
27050
27051 \end_inset
27052
27053 .
27054 \end_layout
27055
27056 \begin_layout Description
27057 Date This inserts the date in the form 
27058 \emph on
27059 Date-Month-Year
27060 \emph default
27061 .
27062  This is a date inserted as external material: 
27063 \begin_inset External
27064         template Date
27065         filename .
27066
27067 \end_inset
27068
27069
27070 \newline
27071 The date is not shown within LyX, only in the output.
27072  There are two other methods of inserting a date, via menu 
27073 \family sans
27074 Insert\SpecialChar \menuseparator
27075 Date
27076 \family default
27077  and with the LaTeX command 
27078 \series bold
27079
27080 \backslash
27081 today
27082 \series default
27083  as ERT.
27084  The different methods are compared in Table\InsetSpace ~
27085
27086 \begin_inset LatexCommand ref
27087 reference "tab:Comparison-of-the"
27088
27089 \end_inset
27090
27091 .
27092 \end_layout
27093
27094 \begin_layout Description
27095 LilyPond This template is used for music notation typeset with the program
27096 \begin_inset ERT
27097 status collapsed
27098
27099 \begin_layout Standard
27100
27101
27102 \backslash
27103 linebreak 
27104 \end_layout
27105
27106 \end_inset
27107
27108
27109 \begin_inset ERT
27110 status collapsed
27111
27112 \begin_layout Standard
27113
27114
27115 \backslash
27116 href{http://en.wikipedia.org/wiki/LilyPond}{
27117 \end_layout
27118
27119 \end_inset
27120
27121
27122 \series bold
27123 LilyPond
27124 \series default
27125
27126 \begin_inset ERT
27127 status collapsed
27128
27129 \begin_layout Standard
27130
27131 }
27132 \end_layout
27133
27134 \end_inset
27135
27136 .
27137 \begin_inset Note Note
27138 status collapsed
27139
27140 \begin_layout Standard
27141 The command 
27142 \series bold
27143
27144 \backslash
27145 linebreak
27146 \series default
27147  breaks the line while the remaining text in the line is stretched to the
27148  page margin.
27149 \end_layout
27150
27151 \end_inset
27152
27153
27154 \end_layout
27155
27156 \begin_layout Description
27157 RasterImage This can be used for bitmap images.
27158  Nearly all popular image formats are supported.
27159  The image can be treated in the 
27160 \family sans
27161 External material
27162 \family default
27163  dialog like the images that are usually included via the 
27164 \family sans
27165 Graphics
27166 \family default
27167  dialog as described in section\InsetSpace ~
27168
27169 \begin_inset LatexCommand ref
27170 reference "sec:Graphics-Dialog"
27171
27172 \end_inset
27173
27174 .
27175  The difference is that only raster images are allowed, that means that
27176  PDF and EPS-images are not supported.
27177 \end_layout
27178
27179 \begin_layout Description
27180 XFig This template supports images created with the program 
27181 \begin_inset ERT
27182 status collapsed
27183
27184 \begin_layout Standard
27185
27186
27187 \backslash
27188 href{http://en.wikipedia.org/wiki/Xfig}{
27189 \end_layout
27190
27191 \end_inset
27192
27193
27194 \series bold
27195 Xfig
27196 \series default
27197
27198 \begin_inset ERT
27199 status collapsed
27200
27201 \begin_layout Standard
27202
27203 }
27204 \end_layout
27205
27206 \end_inset
27207
27208 .
27209 \end_layout
27210
27211 \begin_layout Standard
27212 \begin_inset Float table
27213 placement h
27214 wide false
27215 sideways false
27216 status open
27217
27218 \begin_layout Standard
27219 \begin_inset Caption
27220
27221 \begin_layout Standard
27222 \begin_inset LatexCommand label
27223 name "tab:Comparison-of-the"
27224
27225 \end_inset
27226
27227 Comparison of the date input methods.
27228 \end_layout
27229
27230 \end_inset
27231
27232
27233 \end_layout
27234
27235 \begin_layout Standard
27236 \align center
27237 \begin_inset Tabular
27238 <lyxtabular version="3" rows="4" columns="4">
27239 <features>
27240 <column alignment="center" valignment="top" leftline="true" width="0">
27241 <column alignment="center" valignment="top" leftline="true" width="0">
27242 <column alignment="center" valignment="top" leftline="true" width="0">
27243 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27244 <row topline="true">
27245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27246 \begin_inset Text
27247
27248 \begin_layout Standard
27249 Document format
27250 \end_layout
27251
27252 \end_inset
27253 </cell>
27254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27255 \begin_inset Text
27256
27257 \begin_layout Standard
27258
27259 \family sans
27260 External Material\SpecialChar \menuseparator
27261 Date
27262 \end_layout
27263
27264 \end_inset
27265 </cell>
27266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27267 \begin_inset Text
27268
27269 \begin_layout Standard
27270
27271 \family sans
27272 Insert\SpecialChar \menuseparator
27273 Date
27274 \end_layout
27275
27276 \end_inset
27277 </cell>
27278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27279 \begin_inset Text
27280
27281 \begin_layout Standard
27282 command 
27283 \series bold
27284
27285 \backslash
27286 today
27287 \end_layout
27288
27289 \end_inset
27290 </cell>
27291 </row>
27292 <row topline="true">
27293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27294 \begin_inset Text
27295
27296 \begin_layout Standard
27297 LyX
27298 \end_layout
27299
27300 \end_inset
27301 </cell>
27302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27303 \begin_inset Text
27304
27305 \begin_layout Standard
27306 as inset box
27307 \end_layout
27308
27309 \end_inset
27310 </cell>
27311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27312 \begin_inset Text
27313
27314 \begin_layout Standard
27315 as date
27316 \end_layout
27317
27318 \end_inset
27319 </cell>
27320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27321 \begin_inset Text
27322
27323 \begin_layout Standard
27324 as ERT inset box
27325 \end_layout
27326
27327 \end_inset
27328 </cell>
27329 </row>
27330 <row topline="true">
27331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27332 \begin_inset Text
27333
27334 \begin_layout Standard
27335 LaTeX
27336 \end_layout
27337
27338 \end_inset
27339 </cell>
27340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27341 \begin_inset Text
27342
27343 \begin_layout Standard
27344 as date
27345 \end_layout
27346
27347 \end_inset
27348 </cell>
27349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27350 \begin_inset Text
27351
27352 \begin_layout Standard
27353 as date
27354 \end_layout
27355
27356 \end_inset
27357 </cell>
27358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27359 \begin_inset Text
27360
27361 \begin_layout Standard
27362 as command
27363 \end_layout
27364
27365 \end_inset
27366 </cell>
27367 </row>
27368 <row topline="true" bottomline="true">
27369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27370 \begin_inset Text
27371
27372 \begin_layout Standard
27373 DVI, PDF, PS
27374 \end_layout
27375
27376 \end_inset
27377 </cell>
27378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27379 \begin_inset Text
27380
27381 \begin_layout Standard
27382 as date
27383 \end_layout
27384
27385 \end_inset
27386 </cell>
27387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27388 \begin_inset Text
27389
27390 \begin_layout Standard
27391 as date
27392 \end_layout
27393
27394 \end_inset
27395 </cell>
27396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27397 \begin_inset Text
27398
27399 \begin_layout Standard
27400 as date
27401 \end_layout
27402
27403 \end_inset
27404 </cell>
27405 </row>
27406 </lyxtabular>
27407
27408 \end_inset
27409
27410
27411 \end_layout
27412
27413 \end_inset
27414
27415
27416 \end_layout
27417
27418 \begin_layout Standard
27419 When you use the option 
27420 \family sans
27421 Draft
27422 \family default
27423  in the 
27424 \family sans
27425 File
27426 \family default
27427  tab of the 
27428 \family sans
27429 External Material
27430 \family default
27431  dialog, only the path to the inserted file is shown in the output.
27432 \newline
27433 External
27434  material is displayed in LyX either as box like this: 
27435 \begin_inset Graphics
27436         filename clipart/ExternalMaterialQt4.png
27437         scale 85
27438
27439 \end_inset
27440
27441  or as image, depending on the setting in the 
27442 \family sans
27443 LyX\InsetSpace ~
27444 View
27445 \family default
27446  tab of the 
27447 \family sans
27448 External Material
27449 \family default
27450  dialog.
27451 \end_layout
27452
27453 \begin_layout Standard
27454 The 
27455 \family sans
27456 \emph on
27457 Customization
27458 \family default
27459 \emph default
27460  manual explains how you can define your own templates.
27461 \end_layout
27462
27463 \begin_layout Section
27464 Child Documents
27465 \begin_inset LatexCommand label
27466 name "sec:Child-Documents"
27467
27468 \end_inset
27469
27470
27471 \begin_inset LatexCommand index
27472 name "External Stuff ! Child Documents"
27473
27474 \end_inset
27475
27476
27477 \begin_inset LatexCommand index
27478 name "Files ! Include"
27479
27480 \end_inset
27481
27482
27483 \end_layout
27484
27485 \begin_layout Standard
27486 Child documents are used when you have a long document consisting of several
27487  larger parts or sections.
27488  For maintenance it is often useful and sometimes even required to split
27489  the document in several files that can be revised separately.
27490  The different documents are then the so called child documents and a master
27491  document connects them to print the full document or parts of it.
27492 \end_layout
27493
27494 \begin_layout Standard
27495 Included documents are displayed in LyX as a box like this: 
27496 \begin_inset Graphics
27497         filename clipart/ChildDocumentQt4.png
27498         scale 85
27499
27500 \end_inset
27501
27502  To include child documents to a master document use the menu 
27503 \family sans
27504 Insert\SpecialChar \menuseparator
27505 File\SpecialChar \menuseparator
27506 Child\InsetSpace ~
27507 Documents
27508 \family default
27509 .
27510  A dialog pops up where you can choose between three include methods:
27511 \end_layout
27512
27513 \begin_layout Description
27514 Include You can include LyX and LaTeX-documents.
27515  When you press the 
27516 \family sans
27517 Load
27518 \family default
27519  button in the 
27520 \family sans
27521 Child Document
27522 \family default
27523  dialog, the included documents will be opened in LyX in a new file tab
27524  so that you can modify it.
27525 \newline
27526
27527 \end_layout
27528
27529 \begin_layout Standard
27530 Here is a child document inserted using 
27531 \family sans
27532 Include
27533 \family default
27534
27535 \begin_inset Include \include{DummyDocument1.lyx}
27536 preview false
27537
27538 \end_inset
27539
27540
27541 \end_layout
27542
27543 \begin_layout Standard
27544 The section numbering includes the sections of the included files in the
27545  order they are inserted in the master document.
27546  The included example document has for example a subsection that is numbered
27547  as subsection of this section.
27548  Labels of included documents can be referenced: Subsection\InsetSpace ~
27549
27550 \begin_inset LatexCommand ref
27551 reference "sub:External-Subsection-1"
27552
27553 \end_inset
27554
27555
27556 \end_layout
27557
27558 \begin_layout Standard
27559 The preamble of the child document is ignored, only the preamble of the
27560  master document is used.
27561  Included documents are inserted starting on a new page and end with a pagebreak.
27562 \end_layout
27563
27564 \begin_layout Standard
27565 With the LaTeX-command 
27566 \series bold
27567
27568 \backslash
27569 includeonly 
27570 \series default
27571 you can specify which included child documents are processed when the output
27572  is generated.
27573  This is useful when you are perhaps only working on a certain chapter of
27574  your large document as this saves compiling time.
27575  
27576 \series bold
27577
27578 \backslash
27579 includeonly
27580 \series default
27581  is inserted to the master document preamble.
27582  It takes a comma-separated list of the filenames as argument, e.g.
27583 \end_layout
27584
27585 \begin_layout Standard
27586
27587 \series bold
27588
27589 \backslash
27590 includeonly{chapter1,chapter5}
27591 \end_layout
27592
27593 \begin_layout Standard
27594 will only process the included files named 
27595 \begin_inset Quotes eld
27596 \end_inset
27597
27598 chapter1.lyx
27599 \begin_inset Quotes erd
27600 \end_inset
27601
27602  (or 
27603 \begin_inset Quotes eld
27604 \end_inset
27605
27606 chapter1.tex
27607 \begin_inset Quotes erd
27608 \end_inset
27609
27610 ) and 
27611 \begin_inset Quotes eld
27612 \end_inset
27613
27614 chapter5.lyx
27615 \begin_inset Quotes erd
27616 \end_inset
27617
27618  .
27619 \end_layout
27620
27621 \begin_layout Standard
27622 \begin_inset Note Greyedout
27623 status open
27624
27625 \begin_layout Standard
27626
27627 \series bold
27628 Note:
27629 \series default
27630  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
27631 w the document in case that the child document uses another document class
27632  than the master document as this will lead to unexpected outputs.
27633 \end_layout
27634
27635 \end_inset
27636
27637
27638 \end_layout
27639
27640 \begin_layout Description
27641 Input This method is very similar to the Include method.
27642  The differences are:
27643 \end_layout
27644
27645 \begin_deeper
27646 \begin_layout Itemize
27647 Input files don't start with a new page and don't end with a pagebreak.
27648 \end_layout
27649
27650 \begin_layout Itemize
27651 Input files can be previewed in LyX when 
27652 \family sans
27653 Instant\InsetSpace ~
27654 Preview
27655 \family default
27656  is enabled in LyX's preferences under 
27657 \family sans
27658 Look\InsetSpace ~
27659 and\InsetSpace ~
27660 feel\SpecialChar \menuseparator
27661 Graphics
27662 \family default
27663 .
27664 \end_layout
27665
27666 \begin_layout Itemize
27667 The LaTeX-command 
27668 \series bold
27669
27670 \backslash
27671 includeonly
27672 \series default
27673  cannot be used.
27674 \end_layout
27675
27676 \end_deeper
27677 \begin_layout Standard
27678 Here is a child document inserted using 
27679 \family sans
27680 Input
27681 \family default
27682
27683 \begin_inset Include \input{DummyDocument2.lyx}
27684 preview true
27685
27686 \end_inset
27687
27688
27689 \end_layout
27690
27691 \begin_layout Description
27692 Verbatim With this method every text file can be included.
27693  The file is shown in the output with its source code, no command used in
27694  the text is invoked.
27695  You can use the option 
27696 \family sans
27697 Mark spaces in output
27698 \family default
27699  that displays the character 
27700 \begin_inset Quotes eld
27701 \end_inset
27702
27703
27704 \begin_inset ERT
27705 status collapsed
27706
27707 \begin_layout Standard
27708
27709
27710 \backslash
27711 textvisiblespace 
27712 \end_layout
27713
27714 \end_inset
27715
27716
27717 \begin_inset Quotes erd
27718 \end_inset
27719
27720  for every space character in the source code.
27721  The difference to the method via the menu 
27722 \family sans
27723 Insert\SpecialChar \menuseparator
27724 File\SpecialChar \menuseparator
27725 Plain\InsetSpace ~
27726 Text
27727 \family default
27728  is that the document content is not shown in LyX.
27729 \end_layout
27730
27731 \begin_layout Standard
27732 Here is a child document inserted as Verbatim: 
27733 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
27734 preview false
27735
27736 \end_inset
27737
27738
27739 \begin_inset VSpace bigskip
27740 \end_inset
27741
27742 Here is a child document inserted as Verbatim using the 
27743 \family sans
27744 Mark spaces in output
27745 \family default
27746  option: 
27747 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
27748 preview false
27749
27750 \end_inset
27751
27752
27753 \end_layout
27754
27755 \begin_layout Standard
27756 \begin_inset VSpace bigskip
27757 \end_inset
27758
27759
27760 \end_layout
27761
27762 \begin_layout Standard
27763 \begin_inset Note Greyedout
27764 status open
27765
27766 \begin_layout Standard
27767
27768 \series bold
27769 Note:
27770 \series default
27771  As you can see in the examples above, the text of the documents included
27772  as verbatim is not broken at the end of the document lines.
27773 \end_layout
27774
27775 \end_inset
27776
27777
27778 \end_layout
27779
27780 \begin_layout Description
27781 Listings This type is described in chapter\InsetSpace ~
27782
27783 \begin_inset LatexCommand ref
27784 reference "cha:Program-Code-Listings"
27785
27786 \end_inset
27787
27788 .
27789 \end_layout
27790
27791 \begin_layout Standard
27792 \begin_inset Note Greyedout
27793 status open
27794
27795 \begin_layout Standard
27796
27797 \series bold
27798 Note:
27799 \series default
27800  Including the same document twice in a document using different methods
27801  could cause LaTeX-problems.
27802 \end_layout
27803
27804 \end_inset
27805
27806
27807 \end_layout
27808
27809 \begin_layout Chapter
27810 Program Code Listings
27811 \begin_inset LatexCommand label
27812 name "cha:Program-Code-Listings"
27813
27814 \end_inset
27815
27816
27817 \begin_inset LatexCommand index
27818 name "Listings"
27819
27820 \end_inset
27821
27822
27823 \begin_inset LatexCommand index
27824 name "Program Code"
27825
27826 \end_inset
27827
27828
27829 \begin_inset LatexCommand index
27830 name "Floats ! Listings"
27831
27832 \end_inset
27833
27834
27835 \end_layout
27836
27837 \begin_layout Standard
27838 To include and typeset program code you can use the 
27839 \family sans
27840 Listings
27841 \family default
27842  inset that can be inserted via the menu 
27843 \family sans
27844 Insert\SpecialChar \menuseparator
27845 Program Listing
27846 \family default
27847 .
27848  The LaTeX-package 
27849 \series bold
27850 listings
27851 \series default
27852
27853 \begin_inset LatexCommand index
27854 name "LaTeX-packages ! listings"
27855
27856 \end_inset
27857
27858  provides a powerful and flexible way to insert program source code to your
27859  document.
27860 \end_layout
27861
27862 \begin_layout Standard
27863 When right-clicking on a listings inset a dialog pops up where you can set
27864  the listings format.
27865 \end_layout
27866
27867 \begin_layout Standard
27868 By default, a listings inset starts a new paragraph in the output.
27869  The placement option 
27870 \family sans
27871 Inline\InsetSpace ~
27872 listing
27873 \family default
27874  prints the listing inline like this: 
27875 \begin_inset listings
27876 lstparams "language=C++"
27877 inline true
27878 status open
27879
27880 \begin_layout Standard
27881
27882 \color foreground
27883 int a=5;
27884 \end_layout
27885
27886 \end_inset
27887
27888
27889 \newline
27890 The option 
27891 \family sans
27892 Float
27893 \family default
27894  creates a listings float where you can specify the placement options 
27895 \begin_inset Quotes eld
27896 \end_inset
27897
27898
27899 \family sans
27900 h
27901 \family default
27902
27903 \begin_inset Quotes erd
27904 \end_inset
27905
27906
27907 \begin_inset Quotes eld
27908 \end_inset
27909
27910
27911 \family sans
27912 t
27913 \family default
27914
27915 \begin_inset Quotes erd
27916 \end_inset
27917
27918
27919 \begin_inset Quotes eld
27920 \end_inset
27921
27922
27923 \family sans
27924 b
27925 \family default
27926
27927 \begin_inset Quotes erd
27928 \end_inset
27929
27930 , and 
27931 \begin_inset Quotes eld
27932 \end_inset
27933
27934
27935 \family sans
27936 p
27937 \family default
27938
27939 \begin_inset Quotes erd
27940 \end_inset
27941
27942  corresponding to the float placement options described in section\InsetSpace ~
27943
27944 \begin_inset LatexCommand ref
27945 reference "sec:Float-Placement"
27946
27947 \end_inset
27948
27949 .
27950  The placement options can be mixed and are inserted without any separation,
27951  e.\InsetSpace \thinspace{}
27952 g.\InsetSpace ~
27953
27954 \begin_inset Quotes eld
27955 \end_inset
27956
27957
27958 \family sans
27959 htbp
27960 \family default
27961
27962 \begin_inset Quotes erd
27963 \end_inset
27964
27965 .
27966  The option 
27967 \begin_inset Quotes eld
27968 \end_inset
27969
27970 h
27971 \begin_inset Quotes erd
27972 \end_inset
27973
27974  has sometimes no effect, but you don't need to use the 
27975 \family sans
27976 Float
27977 \family default
27978  option in this case as also non-float listings can have captions and be
27979  referenced.
27980 \end_layout
27981
27982 \begin_layout Standard
27983 You can add caption and label to a listings inset by 
27984 \family sans
27985 Insert\SpecialChar \menuseparator
27986 Caption 
27987 \family default
27988 and 
27989 \family sans
27990 Insert\SpecialChar \menuseparator
27991 Label
27992 \family default
27993  inside the caption.
27994  The label can be referred by 
27995 \family sans
27996 Insert\SpecialChar \menuseparator
27997 Cross-Reference
27998 \family default
27999 .
28000 \end_layout
28001
28002 \begin_layout Standard
28003 \begin_inset listings
28004 lstparams "language=Python,float,floatplacement=h"
28005 inline false
28006 status open
28007
28008 \begin_layout Standard
28009
28010 \color foreground
28011 \begin_inset Caption
28012
28013 \begin_layout Standard
28014 \begin_inset LatexCommand label
28015 name "lst:Example-Listing"
28016
28017 \end_inset
28018
28019 Example Listing float
28020 \end_layout
28021
28022 \end_inset
28023
28024 # Example listing float
28025 \end_layout
28026
28027 \begin_layout Standard
28028
28029 \color foreground
28030 def func(param):
28031 \end_layout
28032
28033 \begin_layout Standard
28034     'this is a python function'
28035 \end_layout
28036
28037 \begin_layout Standard
28038     pass
28039 \end_layout
28040
28041 \end_inset
28042
28043
28044 \end_layout
28045
28046 \begin_layout Standard
28047 When you have set a programming language in the listings dialog, the keywords
28048  of this language will be recognized and specially typeset in the output.
28049  In the example listings the Python keyword 
28050 \begin_inset Quotes eld
28051 \end_inset
28052
28053 def
28054 \begin_inset Quotes erd
28055 \end_inset
28056
28057  is recognized and printed bold in the output.
28058 \end_layout
28059
28060 \begin_layout Standard
28061 In section 
28062 \family sans
28063 Line\InsetSpace ~
28064 numbering
28065 \family default
28066  of the listings dialog you can specify the line numbering style.
28067  You can insert a number to specify which lines are numbered to the field
28068  
28069 \family sans
28070 Step
28071 \family default
28072 .
28073  When you insert e.g.
28074  
28075 \begin_inset Quotes eld
28076 \end_inset
28077
28078 3
28079 \begin_inset Quotes erd
28080 \end_inset
28081
28082 , only every 3rd line will be numbered.
28083 \end_layout
28084
28085 \begin_layout Standard
28086 You can furthermore specify a range of lines, only these will then appear
28087  in the output.
28088  The option 
28089 \family sans
28090 Extended\InsetSpace ~
28091 chars
28092 \family default
28093  should be used when you use national characters like the German umlauts
28094  in the listing.
28095 \newline
28096 Here is an example listing with left line numbering, step
28097  
28098 \begin_inset Quotes eld
28099 \end_inset
28100
28101 3
28102 \begin_inset Quotes erd
28103 \end_inset
28104
28105 , language 
28106 \begin_inset Quotes eld
28107 \end_inset
28108
28109 Python
28110 \begin_inset Quotes erd
28111 \end_inset
28112
28113 , option 
28114 \begin_inset Quotes eld
28115 \end_inset
28116
28117 Extended\InsetSpace ~
28118 chars
28119 \begin_inset Quotes erd
28120 \end_inset
28121
28122  and 
28123 \begin_inset Quotes eld
28124 \end_inset
28125
28126 Space\InsetSpace ~
28127 as\InsetSpace ~
28128 Symbol
28129 \begin_inset Quotes erd
28130 \end_inset
28131
28132 , range lines 3\InsetSpace \thinspace{}
28133 -\InsetSpace \thinspace{}
28134 8:
28135 \end_layout
28136
28137 \begin_layout Standard
28138 \begin_inset listings
28139 lstparams "language=Python,numbers=left,firstline=3,lastline=8,stepnumber=3,showspaces=true,extendedchars=true"
28140 inline false
28141 status open
28142
28143 \begin_layout Standard
28144 def func(param):
28145 \end_layout
28146
28147 \begin_layout Standard
28148     'this is a python function'
28149 \end_layout
28150
28151 \begin_layout Standard
28152     pass
28153 \end_layout
28154
28155 \begin_layout Standard
28156 def func(param):
28157 \end_layout
28158
28159 \begin_layout Standard
28160 'This is a German word: Tschüß'
28161 \end_layout
28162
28163 \begin_layout Standard
28164 pass
28165 \end_layout
28166
28167 \begin_layout Standard
28168 def func(param):
28169 \end_layout
28170
28171 \begin_layout Standard
28172 'this is a python function'
28173 \end_layout
28174
28175 \begin_layout Standard
28176 pass
28177 \end_layout
28178
28179 \end_inset
28180
28181
28182 \end_layout
28183
28184 \begin_layout Standard
28185 \begin_inset Note Greyedout
28186 status open
28187
28188 \begin_layout Standard
28189
28190 \series bold
28191 Note:
28192 \series default
28193  The line numbering is shifted by a line by every previous listing.
28194  That's the reason why the lines 2 and 5 are numbered in the above listing
28195  and not the lines 3 and 6.
28196 \end_layout
28197
28198 \end_inset
28199
28200
28201 \end_layout
28202
28203 \begin_layout Standard
28204 \begin_inset VSpace bigskip
28205 \end_inset
28206
28207
28208 \end_layout
28209
28210 \begin_layout Standard
28211 It is also possible to print lines from a file as listing.
28212  To do this, use the menu 
28213 \family sans
28214 Insert\SpecialChar \menuseparator
28215 File\SpecialChar \menuseparator
28216 Child Document
28217 \family default
28218  and choose the type 
28219 \family sans
28220 Listings
28221 \family default
28222 .
28223 \begin_inset Foot
28224 status collapsed
28225
28226 \begin_layout Standard
28227 The other child document types are described in section\InsetSpace ~
28228
28229 \begin_inset LatexCommand ref
28230 reference "sec:Child-Documents"
28231
28232 \end_inset
28233
28234 .
28235 \end_layout
28236
28237 \end_inset
28238
28239  In the child document dialog you can specify the listing parameters in
28240  a text box.
28241  To show a list of all available parameters, type in a question mark 
28242 \begin_inset Quotes eld
28243 \end_inset
28244
28245 ?
28246 \begin_inset Quotes erd
28247 \end_inset
28248
28249  in the text box.
28250  
28251 \end_layout
28252
28253 \begin_layout Standard
28254 To reference child document listings, write a label text into the corresponding
28255  field of the child document dialog.
28256  To reference the label use 
28257 \family sans
28258 Insert\SpecialChar \menuseparator
28259 Cross-Reference.
28260 \end_layout
28261
28262 \begin_layout Standard
28263 Listing\InsetSpace ~
28264
28265 \begin_inset ERT
28266 status collapsed
28267
28268 \begin_layout Standard
28269
28270
28271 \backslash
28272 ref{lst:file-listing}
28273 \end_layout
28274
28275 \end_inset
28276
28277  is an example for a listing of a file, there the lines 10\InsetSpace \thinspace{}
28278 -\InsetSpace \thinspace{}
28279 15 of this LyX
28280  file are listed.
28281 \end_layout
28282
28283 \begin_layout Standard
28284 \begin_inset Include \lstinputlisting{EmbeddedObjects.lyx}[firstline=10,lastline=15,language=TeX,breaklines=true,caption={Lines 10 - 15 of this LyX file},label={lst:file-listing}]
28285 preview false
28286
28287 \end_inset
28288
28289
28290 \end_layout
28291
28292 \begin_layout Standard
28293 \begin_inset VSpace bigskip
28294 \end_inset
28295
28296
28297 \end_layout
28298
28299 \begin_layout Standard
28300 Global listings settings can be set in the 
28301 \family sans
28302 Document\SpecialChar \menuseparator
28303 Settings\SpecialChar \menuseparator
28304 Text Layout
28305 \family default
28306  dialog.
28307  To get there a list of available options, type in a question mark 
28308 \begin_inset Quotes eld
28309 \end_inset
28310
28311 ?
28312 \begin_inset Quotes erd
28313 \end_inset
28314
28315  in the 
28316 \family sans
28317 Listings\InsetSpace ~
28318 settings
28319 \family default
28320  field.
28321 \end_layout
28322
28323 \begin_layout Standard
28324 For more information about the 
28325 \series bold
28326 listings
28327 \series default
28328  package, we refer to its documentation 
28329 \begin_inset LatexCommand cite
28330 key "listings"
28331
28332 \end_inset
28333
28334 .
28335 \end_layout
28336
28337 \begin_layout Standard
28338
28339 \newpage
28340
28341 \end_layout
28342
28343 \begin_layout Chapter
28344 \start_of_appendix
28345 Units available in 
28346 \begin_inset ERT
28347 status collapsed
28348
28349 \begin_layout Standard
28350
28351
28352 \backslash
28353 texorpdfstring{
28354 \end_layout
28355
28356 \end_inset
28357
28358 LyX
28359 \begin_inset ERT
28360 status collapsed
28361
28362 \begin_layout Standard
28363
28364 }{LyX}
28365 \end_layout
28366
28367 \end_inset
28368
28369
28370 \begin_inset LatexCommand index
28371 name "Units"
28372
28373 \end_inset
28374
28375
28376 \begin_inset LatexCommand label
28377 name "cha:Units-available-in"
28378
28379 \end_inset
28380
28381
28382 \begin_inset Note Note
28383 status collapsed
28384
28385 \begin_layout Standard
28386 The command 
28387 \backslash
28388 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
28389  are displayed wrongly in PDF-bookmarks.
28390  For more information about this, have a look at 
28391 \begin_inset LatexCommand cite
28392 key "hyperref"
28393
28394 \end_inset
28395
28396 .
28397 \end_layout
28398
28399 \end_inset
28400
28401
28402 \end_layout
28403
28404 \begin_layout Standard
28405 To understand the units described in this documentation, Table\InsetSpace ~
28406
28407 \begin_inset LatexCommand ref
28408 reference "tab:Units"
28409
28410 \end_inset
28411
28412  explains all units available in LyX.
28413 \end_layout
28414
28415 \begin_layout Standard
28416 \begin_inset Float table
28417 placement h
28418 wide false
28419 sideways false
28420 status open
28421
28422 \begin_layout Standard
28423 \begin_inset Caption
28424
28425 \begin_layout Standard
28426 \begin_inset LatexCommand label
28427 name "tab:Units"
28428
28429 \end_inset
28430
28431 Units
28432 \end_layout
28433
28434 \end_inset
28435
28436
28437 \end_layout
28438
28439 \begin_layout Standard
28440 \begin_inset VSpace medskip
28441 \end_inset
28442
28443
28444 \end_layout
28445
28446 \begin_layout Standard
28447 \align center
28448 \begin_inset Tabular
28449 <lyxtabular version="3" rows="20" columns="2">
28450 <features>
28451 <column alignment="center" valignment="top" leftline="true" width="0">
28452 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28453 <row topline="true" bottomline="true">
28454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28455 \begin_inset Text
28456
28457 \begin_layout Standard
28458 unit
28459 \end_layout
28460
28461 \end_inset
28462 </cell>
28463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28464 \begin_inset Text
28465
28466 \begin_layout Standard
28467 name/description
28468 \end_layout
28469
28470 \end_inset
28471 </cell>
28472 </row>
28473 <row topline="true">
28474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28475 \begin_inset Text
28476
28477 \begin_layout Standard
28478 mm
28479 \end_layout
28480
28481 \end_inset
28482 </cell>
28483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28484 \begin_inset Text
28485
28486 \begin_layout Standard
28487 millimeter
28488 \end_layout
28489
28490 \end_inset
28491 </cell>
28492 </row>
28493 <row topline="true">
28494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28495 \begin_inset Text
28496
28497 \begin_layout Standard
28498 cm
28499 \end_layout
28500
28501 \end_inset
28502 </cell>
28503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28504 \begin_inset Text
28505
28506 \begin_layout Standard
28507 centimeter
28508 \end_layout
28509
28510 \end_inset
28511 </cell>
28512 </row>
28513 <row topline="true">
28514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28515 \begin_inset Text
28516
28517 \begin_layout Standard
28518 in
28519 \end_layout
28520
28521 \end_inset
28522 </cell>
28523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28524 \begin_inset Text
28525
28526 \begin_layout Standard
28527 inch
28528 \end_layout
28529
28530 \end_inset
28531 </cell>
28532 </row>
28533 <row topline="true">
28534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28535 \begin_inset Text
28536
28537 \begin_layout Standard
28538 pt
28539 \end_layout
28540
28541 \end_inset
28542 </cell>
28543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28544 \begin_inset Text
28545
28546 \begin_layout Standard
28547 point (72.27\InsetSpace \thinspace{}
28548 pt = 1\InsetSpace \thinspace{}
28549 in)
28550 \end_layout
28551
28552 \end_inset
28553 </cell>
28554 </row>
28555 <row topline="true">
28556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28557 \begin_inset Text
28558
28559 \begin_layout Standard
28560 pc
28561 \end_layout
28562
28563 \end_inset
28564 </cell>
28565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28566 \begin_inset Text
28567
28568 \begin_layout Standard
28569 pica (1\InsetSpace \thinspace{}
28570 pc = 12\InsetSpace \thinspace{}
28571 pt)
28572 \end_layout
28573
28574 \end_inset
28575 </cell>
28576 </row>
28577 <row topline="true">
28578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28579 \begin_inset Text
28580
28581 \begin_layout Standard
28582 sp
28583 \end_layout
28584
28585 \end_inset
28586 </cell>
28587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28588 \begin_inset Text
28589
28590 \begin_layout Standard
28591 scaled point (65536\InsetSpace \thinspace{}
28592 sp = 1\InsetSpace \thinspace{}
28593 pt)
28594 \end_layout
28595
28596 \end_inset
28597 </cell>
28598 </row>
28599 <row topline="true">
28600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28601 \begin_inset Text
28602
28603 \begin_layout Standard
28604 bp
28605 \end_layout
28606
28607 \end_inset
28608 </cell>
28609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28610 \begin_inset Text
28611
28612 \begin_layout Standard
28613 big point (72\InsetSpace \thinspace{}
28614 bp = 1\InsetSpace \thinspace{}
28615 in)
28616 \end_layout
28617
28618 \end_inset
28619 </cell>
28620 </row>
28621 <row topline="true">
28622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28623 \begin_inset Text
28624
28625 \begin_layout Standard
28626 dd
28627 \end_layout
28628
28629 \end_inset
28630 </cell>
28631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28632 \begin_inset Text
28633
28634 \begin_layout Standard
28635 didot (72\InsetSpace \thinspace{}
28636 dd 
28637 \begin_inset Formula $\approx$
28638 \end_inset
28639
28640  37.6\InsetSpace \thinspace{}
28641 mm)
28642 \end_layout
28643
28644 \end_inset
28645 </cell>
28646 </row>
28647 <row topline="true">
28648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28649 \begin_inset Text
28650
28651 \begin_layout Standard
28652 cc
28653 \end_layout
28654
28655 \end_inset
28656 </cell>
28657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28658 \begin_inset Text
28659
28660 \begin_layout Standard
28661 cicero (1\InsetSpace \thinspace{}
28662 cc = 12\InsetSpace \thinspace{}
28663 dd)
28664 \end_layout
28665
28666 \end_inset
28667 </cell>
28668 </row>
28669 <row topline="true">
28670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28671 \begin_inset Text
28672
28673 \begin_layout Standard
28674 Scale%
28675 \end_layout
28676
28677 \end_inset
28678 </cell>
28679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28680 \begin_inset Text
28681
28682 \begin_layout Standard
28683 % of original image width
28684 \end_layout
28685
28686 \end_inset
28687 </cell>
28688 </row>
28689 <row topline="true">
28690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28691 \begin_inset Text
28692
28693 \begin_layout Standard
28694 text%
28695 \end_layout
28696
28697 \end_inset
28698 </cell>
28699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28700 \begin_inset Text
28701
28702 \begin_layout Standard
28703 % of text width
28704 \end_layout
28705
28706 \end_inset
28707 </cell>
28708 </row>
28709 <row topline="true">
28710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28711 \begin_inset Text
28712
28713 \begin_layout Standard
28714 col%
28715 \end_layout
28716
28717 \end_inset
28718 </cell>
28719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28720 \begin_inset Text
28721
28722 \begin_layout Standard
28723 % of column width
28724 \end_layout
28725
28726 \end_inset
28727 </cell>
28728 </row>
28729 <row topline="true">
28730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28731 \begin_inset Text
28732
28733 \begin_layout Standard
28734 page%
28735 \end_layout
28736
28737 \end_inset
28738 </cell>
28739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28740 \begin_inset Text
28741
28742 \begin_layout Standard
28743 % of paper width
28744 \end_layout
28745
28746 \end_inset
28747 </cell>
28748 </row>
28749 <row topline="true">
28750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28751 \begin_inset Text
28752
28753 \begin_layout Standard
28754 line%
28755 \end_layout
28756
28757 \end_inset
28758 </cell>
28759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28760 \begin_inset Text
28761
28762 \begin_layout Standard
28763 % of line width
28764 \end_layout
28765
28766 \end_inset
28767 </cell>
28768 </row>
28769 <row topline="true">
28770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28771 \begin_inset Text
28772
28773 \begin_layout Standard
28774 theight%
28775 \end_layout
28776
28777 \end_inset
28778 </cell>
28779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28780 \begin_inset Text
28781
28782 \begin_layout Standard
28783 % of text height
28784 \end_layout
28785
28786 \end_inset
28787 </cell>
28788 </row>
28789 <row topline="true">
28790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28791 \begin_inset Text
28792
28793 \begin_layout Standard
28794 pheight%
28795 \end_layout
28796
28797 \end_inset
28798 </cell>
28799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28800 \begin_inset Text
28801
28802 \begin_layout Standard
28803 % of paper height
28804 \end_layout
28805
28806 \end_inset
28807 </cell>
28808 </row>
28809 <row topline="true">
28810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28811 \begin_inset Text
28812
28813 \begin_layout Standard
28814 ex
28815 \end_layout
28816
28817 \end_inset
28818 </cell>
28819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28820 \begin_inset Text
28821
28822 \begin_layout Standard
28823 height of letter 
28824 \emph on
28825 x
28826 \emph default
28827  in current font
28828 \end_layout
28829
28830 \end_inset
28831 </cell>
28832 </row>
28833 <row topline="true">
28834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28835 \begin_inset Text
28836
28837 \begin_layout Standard
28838 em
28839 \end_layout
28840
28841 \end_inset
28842 </cell>
28843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28844 \begin_inset Text
28845
28846 \begin_layout Standard
28847 width of letter 
28848 \emph on
28849 M
28850 \emph default
28851  in current font
28852 \end_layout
28853
28854 \end_inset
28855 </cell>
28856 </row>
28857 <row topline="true" bottomline="true">
28858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28859 \begin_inset Text
28860
28861 \begin_layout Standard
28862 mu
28863 \end_layout
28864
28865 \end_inset
28866 </cell>
28867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28868 \begin_inset Text
28869
28870 \begin_layout Standard
28871 math unit (1\InsetSpace \thinspace{}
28872 mu = 1/18\InsetSpace \thinspace{}
28873 em)
28874 \end_layout
28875
28876 \end_inset
28877 </cell>
28878 </row>
28879 </lyxtabular>
28880
28881 \end_inset
28882
28883
28884 \end_layout
28885
28886 \end_inset
28887
28888
28889 \end_layout
28890
28891 \begin_layout Chapter
28892 Output File Formats with Graphics
28893 \begin_inset LatexCommand label
28894 name "cha:Output-File-Formats"
28895
28896 \end_inset
28897
28898
28899 \end_layout
28900
28901 \begin_layout Section
28902 DVI
28903 \begin_inset LatexCommand index
28904 name "File Formats ! DVI"
28905
28906 \end_inset
28907
28908
28909 \begin_inset LatexCommand index
28910 name "DVI|see{File Formats}"
28911
28912 \end_inset
28913
28914
28915 \end_layout
28916
28917 \begin_layout Standard
28918 This file type has the extension 
28919 \begin_inset Quotes eld
28920 \end_inset
28921
28922
28923 \family typewriter
28924 .dvi
28925 \family default
28926
28927 \begin_inset Quotes erd
28928 \end_inset
28929
28930 .
28931  It is called 
28932 \begin_inset Quotes eld
28933 \end_inset
28934
28935 device-independent
28936 \begin_inset Quotes erd
28937 \end_inset
28938
28939  (DVI), because it is completely portable; you can move them from one machine
28940  to another without needing to do any sort of conversion.
28941  At the time when this file-format was developed, this was no matter of
28942  course.
28943  DVIs are used for quick previews and as pre-stage for other output formats,
28944  like PostScript.
28945 \end_layout
28946
28947 \begin_layout Standard
28948 \begin_inset Note Greyedout
28949 status open
28950
28951 \begin_layout Standard
28952
28953 \series bold
28954 Note:
28955 \series default
28956  DVI-files doesn't contain images, they will only be a linked.
28957 \end_layout
28958
28959 \end_inset
28960
28961  So don't forget this, if you move your 
28962 \family typewriter
28963 .dvi
28964 \family default
28965  file to another computer.
28966  This property can also slow down your computer when you view the DVI.
28967  Because the DVI-viewer has to convert the image in the background to make
28968  it visible when you scroll in the DVI.
28969  So we recommend to use PDF for files with many images.
28970 \end_layout
28971
28972 \begin_layout Standard
28973 You can export your document to DVI by using the menu 
28974 \family sans
28975 File\SpecialChar \menuseparator
28976 Export\SpecialChar \menuseparator
28977 DVI
28978 \family default
28979 .
28980  You can view your document as DVI via the 
28981 \family sans
28982 View
28983 \family default
28984  menu or by using the toolbar button 
28985 \begin_inset Graphics
28986         filename ../images/buffer-view_dvi.xpm
28987         scale 85
28988
28989 \end_inset
28990
28991 .
28992 \end_layout
28993
28994 \begin_layout Section
28995 PostScript
28996 \begin_inset LatexCommand label
28997 name "sec:PostScript"
28998
28999 \end_inset
29000
29001
29002 \begin_inset LatexCommand index
29003 name "File Formats ! PostScript"
29004
29005 \end_inset
29006
29007
29008 \begin_inset LatexCommand index
29009 name "PostScript|see{File Formats}"
29010
29011 \end_inset
29012
29013
29014 \end_layout
29015
29016 \begin_layout Standard
29017 This file type has the extension 
29018 \begin_inset Quotes eld
29019 \end_inset
29020
29021
29022 \family typewriter
29023 .ps
29024 \family default
29025
29026 \begin_inset Quotes erd
29027 \end_inset
29028
29029 .
29030  PostScript was developed by the company 
29031 \family typewriter
29032 Adobe
29033 \family default
29034  as printer language.
29035  The file contains therefore commands that the printer uses to print the
29036  file.
29037  PostScript can be seen as 
29038 \begin_inset Quotes eld
29039 \end_inset
29040
29041 programming language
29042 \begin_inset Quotes erd
29043 \end_inset
29044
29045 ; you can calculate with it and draw diagrams and images
29046 \begin_inset Foot
29047 status collapsed
29048
29049 \begin_layout Standard
29050 If you are interested to learn more about this, have a look at the LaTeX-package
29051  
29052 \series bold
29053 PSTricks
29054 \series default
29055  
29056 \begin_inset LatexCommand cite
29057 key "pstricks"
29058
29059 \end_inset
29060
29061 .
29062 \end_layout
29063
29064 \end_inset
29065
29066 .
29067  Due to this ability, the files are often bigger than PDFs.
29068 \end_layout
29069
29070 \begin_layout Standard
29071 PostScript can only contain images in the format 
29072 \begin_inset Quotes eld
29073 \end_inset
29074
29075 Encapsulated PostScript
29076 \begin_inset Quotes erd
29077 \end_inset
29078
29079  (EPS, file extension 
29080 \begin_inset Quotes eld
29081 \end_inset
29082
29083
29084 \family typewriter
29085 .eps
29086 \family default
29087
29088 \begin_inset Quotes erd
29089 \end_inset
29090
29091 ).
29092  As LyX allows you to use any known image format in your document, it has
29093  to convert images in the background to EPS.
29094  If you have e.g 50 images in your document, LyX has to do 50 conversions
29095  whenever you view or export your document.
29096  This will slow down your work flow with LyX drastically.
29097  So if you plan to use PostScript, you can insert your images directly as
29098  EPS to avoid this problem.
29099 \end_layout
29100
29101 \begin_layout Standard
29102 You can export your document to PostScript using the menu 
29103 \family sans
29104 File\SpecialChar \menuseparator
29105 Export\SpecialChar \menuseparator
29106 Postscript
29107 \family default
29108 .
29109  You can view your document as PostScript via the 
29110 \family sans
29111 View
29112 \family default
29113  menu or by using the toolbar button 
29114 \begin_inset Graphics
29115         filename ../images/buffer-view_ps.xpm
29116         scale 85
29117
29118 \end_inset
29119
29120 .
29121 \end_layout
29122
29123 \begin_layout Section
29124 PDF
29125 \begin_inset LatexCommand label
29126 name "sec:PDF"
29127
29128 \end_inset
29129
29130
29131 \begin_inset LatexCommand index
29132 name "File Formats ! PDF"
29133
29134 \end_inset
29135
29136
29137 \begin_inset LatexCommand index
29138 name "PDF"
29139
29140 \end_inset
29141
29142
29143 \end_layout
29144
29145 \begin_layout Standard
29146 This file type has the extension 
29147 \begin_inset Quotes eld
29148 \end_inset
29149
29150
29151 \family typewriter
29152 .pdf
29153 \family default
29154
29155 \begin_inset Quotes erd
29156 \end_inset
29157
29158 .
29159  The 
29160 \begin_inset Quotes eld
29161 \end_inset
29162
29163 Portable Document Format
29164 \begin_inset Quotes erd
29165 \end_inset
29166
29167  (PDF) is developed by 
29168 \family typewriter
29169 Adobe
29170 \family default
29171  as derivative from PostScript.
29172  It is more compressed and it uses much less commands than PostScript.
29173  As the name 
29174 \begin_inset Quotes eld
29175 \end_inset
29176
29177 portable
29178 \begin_inset Quotes erd
29179 \end_inset
29180
29181  implies, it can be processed at any computer system and the printed output
29182  looks exactly the same.
29183 \end_layout
29184
29185 \begin_layout Standard
29186 PDF can contain images in its own PDF format, in the format 
29187 \begin_inset Quotes eld
29188 \end_inset
29189
29190 Joint Photographic Experts Group
29191 \begin_inset Quotes erd
29192 \end_inset
29193
29194  (JPG, file extension 
29195 \begin_inset Quotes eld
29196 \end_inset
29197
29198
29199 \family typewriter
29200 .jpg
29201 \family default
29202
29203 \begin_inset Quotes erd
29204 \end_inset
29205
29206  or 
29207 \begin_inset Quotes eld
29208 \end_inset
29209
29210
29211 \family typewriter
29212 .jpeg
29213 \family default
29214
29215 \begin_inset Quotes erd
29216 \end_inset
29217
29218 ), and in the format 
29219 \begin_inset Quotes eld
29220 \end_inset
29221
29222 Portable Network Graphics
29223 \begin_inset Quotes erd
29224 \end_inset
29225
29226  (PNG, file extension 
29227 \begin_inset Quotes eld
29228 \end_inset
29229
29230
29231 \family typewriter
29232 .png
29233 \family default
29234
29235 \begin_inset Quotes erd
29236 \end_inset
29237
29238 ).
29239  You can although use any other image format, because LyX converts them
29240  in the background to one of these formats.
29241  But as described in the section about PostScript, the image conversion
29242  will slow down your work flow.
29243  So it is recommended to use images in one of the three mentioned formats.
29244 \end_layout
29245
29246 \begin_layout Standard
29247 You can export your document to PDF via the menu 
29248 \family sans
29249 File\SpecialChar \menuseparator
29250 Export
29251 \family default
29252  in three different ways:
29253 \end_layout
29254
29255 \begin_layout Description
29256 PDF This uses the program 
29257 \family typewriter
29258 ps2pdf
29259 \family default
29260  that creates a PDF from a PostScript-version of your file.
29261  The PostScript-version is produced by the program 
29262 \family typewriter
29263 dvips
29264 \family default
29265  which uses a DVI-version as intermediate step.
29266  So this export variant consist of three conversions.
29267 \end_layout
29268
29269 \begin_layout Description
29270 PDF\InsetSpace ~
29271 (dvipdfm) This uses the program 
29272 \family typewriter
29273 dvipdfm
29274 \family default
29275  that converts your file in the background to DVI and in a second step to
29276  PDF.
29277 \end_layout
29278
29279 \begin_layout Description
29280 PDF\InsetSpace ~
29281 (pdflatex) This uses the program 
29282 \family typewriter
29283 pdftex
29284 \family default
29285  that converts your file directly to PDF.
29286 \end_layout
29287
29288 \begin_layout Standard
29289 It is recommended to use 
29290 \family sans
29291 PDF\InsetSpace ~
29292 (pdflatex)
29293 \family default
29294  because 
29295 \family typewriter
29296 pdftex
29297 \family default
29298  supports all features of actual PDF-versions, is quick and works stable
29299  without problems.
29300  The program 
29301 \family typewriter
29302 dvipdfm
29303 \family default
29304  is not under development and therefore a bit outdated.
29305 \end_layout
29306
29307 \begin_layout Standard
29308 You can view your document as PDF via the 
29309 \family sans
29310 View
29311 \family default
29312  menu or by using the toolbar button 
29313 \begin_inset Graphics
29314         filename ../images/buffer-view_pdf2.xpm
29315         scale 85
29316
29317 \end_inset
29318
29319  
29320 \family sans
29321 (
29322 \family default
29323 that uses 
29324 \family sans
29325 PDF\InsetSpace ~
29326 (pdflatex)
29327 \family default
29328 ).
29329 \end_layout
29330
29331 \begin_layout Chapter
29332 Explanation of Equation\InsetSpace ~
29333
29334 \begin_inset LatexCommand eqref
29335 reference "eq:Wgn"
29336
29337 \end_inset
29338
29339
29340 \begin_inset LatexCommand label
29341 name "cha:Explanation-of-Equation"
29342
29343 \end_inset
29344
29345
29346 \end_layout
29347
29348 \begin_layout Standard
29349 The total width of 
29350 \emph on
29351 n
29352 \emph default
29353  table cells 
29354 \begin_inset Formula $W_{\mathrm{tot\, n}}$
29355 \end_inset
29356
29357  can be calculated to
29358 \end_layout
29359
29360 \begin_layout Standard
29361 \begin_inset Formula \begin{equation}
29362 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
29363
29364 \end_inset
29365
29366
29367 \end_layout
29368
29369 \begin_layout Standard
29370 Where 
29371 \begin_inset Formula $W_{g\, n}$
29372 \end_inset
29373
29374  is the given width of all cells.
29375  
29376 \series bold
29377
29378 \backslash
29379 tabcolsep
29380 \series default
29381  is the LaTeX-length between the cell text and the cell border, its default
29382  value is 6\InsetSpace \thinspace{}
29383 pt.
29384  
29385 \series bold
29386
29387 \backslash
29388 arrayrulewidth
29389 \series default
29390  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
29391 pt.
29392 \end_layout
29393
29394 \begin_layout Standard
29395 Following equation\InsetSpace ~
29396
29397 \begin_inset LatexCommand eqref
29398 reference "eq:Wtot_n"
29399
29400 \end_inset
29401
29402 , the total width of a multicolumn 
29403 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
29404 \end_inset
29405
29406  is
29407 \end_layout
29408
29409 \begin_layout Standard
29410 \begin_inset Formula \begin{equation}
29411 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
29412
29413 \end_inset
29414
29415
29416 \end_layout
29417
29418 \begin_layout Standard
29419 By setting equation\InsetSpace ~
29420
29421 \begin_inset LatexCommand eqref
29422 reference "eq:Wtot_n"
29423
29424 \end_inset
29425
29426  and 
29427 \begin_inset LatexCommand eqref
29428 reference "eq:Wtot_mult"
29429
29430 \end_inset
29431
29432  equal we can calculate the needed given width 
29433 \begin_inset Formula $W_{g\, n}$
29434 \end_inset
29435
29436  when 
29437 \emph on
29438 n
29439 \emph default
29440  columns are spanned, so that each column has a total width of 
29441 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
29442 \end_inset
29443
29444 :
29445 \end_layout
29446
29447 \begin_layout Standard
29448 \begin_inset Formula \begin{equation}
29449 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
29450
29451 \end_inset
29452
29453
29454 \end_layout
29455
29456 \begin_layout Bibliography
29457 \begin_inset LatexCommand bibitem
29458 key "latexcompanion"
29459
29460 \end_inset
29461
29462 Frank Mittelbach and Michel Goossens: 
29463 \emph on
29464 The LaTeX Companion Second Edition.
29465
29466 \emph default
29467  Addison-Wesley, 2004
29468 \end_layout
29469
29470 \begin_layout Bibliography
29471 \begin_inset LatexCommand bibitem
29472 key "latexguide"
29473
29474 \end_inset
29475
29476 Helmut Kopka and Patrick W.
29477  Daly: 
29478 \emph on
29479 A Guide to LaTeX Fourth Edition.
29480
29481 \emph default
29482  Addison-Wesley, 2003
29483 \end_layout
29484
29485 \begin_layout Bibliography
29486 \begin_inset LatexCommand bibitem
29487 key "latexbook"
29488
29489 \end_inset
29490
29491 Leslie Lamport: 
29492 \emph on
29493 LaTeX: A Document Preparation System.
29494
29495 \emph default
29496  Addison-Wesley, second edition, 1994
29497 \end_layout
29498
29499 \begin_layout Bibliography
29500 \begin_inset LatexCommand bibitem
29501 key "booktabs"
29502
29503 \end_inset
29504
29505
29506 \begin_inset ERT
29507 status collapsed
29508
29509 \begin_layout Standard
29510
29511
29512 \backslash
29513 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
29514 {
29515 \end_layout
29516
29517 \end_inset
29518
29519 Documentation
29520 \begin_inset ERT
29521 status collapsed
29522
29523 \begin_layout Standard
29524
29525 }
29526 \end_layout
29527
29528 \end_inset
29529
29530  of the LaTeX-package 
29531 \series bold
29532 booktabs
29533 \series default
29534
29535 \begin_inset LatexCommand index
29536 name "LaTeX-packages ! booktabs"
29537
29538 \end_inset
29539
29540
29541 \end_layout
29542
29543 \begin_layout Bibliography
29544 \begin_inset LatexCommand bibitem
29545 key "caption"
29546
29547 \end_inset
29548
29549
29550 \begin_inset ERT
29551 status collapsed
29552
29553 \begin_layout Standard
29554
29555
29556 \backslash
29557 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
29558 \end_layout
29559
29560 \end_inset
29561
29562 Documentation
29563 \begin_inset ERT
29564 status collapsed
29565
29566 \begin_layout Standard
29567
29568 }
29569 \end_layout
29570
29571 \end_inset
29572
29573  of the LaTeX-package 
29574 \series bold
29575 caption
29576 \series default
29577
29578 \begin_inset LatexCommand index
29579 name "LaTeX-packages ! caption"
29580
29581 \end_inset
29582
29583
29584 \end_layout
29585
29586 \begin_layout Bibliography
29587 \begin_inset LatexCommand bibitem
29588 key "caption-de"
29589
29590 \end_inset
29591
29592 German 
29593 \begin_inset ERT
29594 status collapsed
29595
29596 \begin_layout Standard
29597
29598
29599 \backslash
29600 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
29601 {
29602 \end_layout
29603
29604 \end_inset
29605
29606 documentation
29607 \begin_inset ERT
29608 status collapsed
29609
29610 \begin_layout Standard
29611
29612 }
29613 \end_layout
29614
29615 \end_inset
29616
29617  of the LaTeX-package 
29618 \series bold
29619 caption
29620 \end_layout
29621
29622 \begin_layout Bibliography
29623 \begin_inset LatexCommand bibitem
29624 key "endfloat"
29625
29626 \end_inset
29627
29628
29629 \begin_inset ERT
29630 status collapsed
29631
29632 \begin_layout Standard
29633
29634
29635 \backslash
29636 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
29637 {
29638 \end_layout
29639
29640 \end_inset
29641
29642 Documentation
29643 \begin_inset ERT
29644 status collapsed
29645
29646 \begin_layout Standard
29647
29648 }
29649 \end_layout
29650
29651 \end_inset
29652
29653  of the LaTeX-package 
29654 \series bold
29655 endf\SpecialChar \textcompwordmark{}
29656 loat
29657 \series default
29658
29659 \begin_inset LatexCommand index
29660 name "LaTeX-packages ! endfloat"
29661
29662 \end_inset
29663
29664
29665 \end_layout
29666
29667 \begin_layout Bibliography
29668 \begin_inset LatexCommand bibitem
29669 key "floatflt"
29670
29671 \end_inset
29672
29673
29674 \begin_inset ERT
29675 status collapsed
29676
29677 \begin_layout Standard
29678
29679
29680 \backslash
29681 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
29682 {
29683 \end_layout
29684
29685 \end_inset
29686
29687 Documentation
29688 \begin_inset ERT
29689 status collapsed
29690
29691 \begin_layout Standard
29692
29693 }
29694 \end_layout
29695
29696 \end_inset
29697
29698  of the LaTeX-package 
29699 \series bold
29700 floatf\SpecialChar \textcompwordmark{}
29701 lt
29702 \series default
29703
29704 \begin_inset LatexCommand index
29705 name "LaTeX-packages ! floatflt"
29706
29707 \end_inset
29708
29709
29710 \end_layout
29711
29712 \begin_layout Bibliography
29713 \begin_inset LatexCommand bibitem
29714 key "footmisc"
29715
29716 \end_inset
29717
29718
29719 \begin_inset ERT
29720 status collapsed
29721
29722 \begin_layout Standard
29723
29724
29725 \backslash
29726 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
29727 {
29728 \end_layout
29729
29730 \end_inset
29731
29732 Documentation
29733 \begin_inset ERT
29734 status collapsed
29735
29736 \begin_layout Standard
29737
29738 }
29739 \end_layout
29740
29741 \end_inset
29742
29743  of the LaTeX-package 
29744 \series bold
29745 footmisc
29746 \series default
29747
29748 \begin_inset LatexCommand index
29749 name "LaTeX-packages ! footmisc"
29750
29751 \end_inset
29752
29753
29754 \end_layout
29755
29756 \begin_layout Bibliography
29757 \begin_inset LatexCommand bibitem
29758 key "hypcap"
29759
29760 \end_inset
29761
29762
29763 \begin_inset ERT
29764 status collapsed
29765
29766 \begin_layout Standard
29767
29768
29769 \backslash
29770 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
29771 \end_layout
29772
29773 \end_inset
29774
29775 Documentation
29776 \begin_inset ERT
29777 status collapsed
29778
29779 \begin_layout Standard
29780
29781 }
29782 \end_layout
29783
29784 \end_inset
29785
29786  of the LaTeX-package 
29787 \series bold
29788 hypcap
29789 \series default
29790
29791 \begin_inset LatexCommand index
29792 name "LaTeX-packages ! hyperref"
29793
29794 \end_inset
29795
29796
29797 \end_layout
29798
29799 \begin_layout Bibliography
29800 \begin_inset LatexCommand bibitem
29801 key "hyperref"
29802
29803 \end_inset
29804
29805
29806 \begin_inset ERT
29807 status collapsed
29808
29809 \begin_layout Standard
29810
29811
29812 \backslash
29813 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
29814 {
29815 \end_layout
29816
29817 \end_inset
29818
29819 Documentation
29820 \begin_inset ERT
29821 status collapsed
29822
29823 \begin_layout Standard
29824
29825 }
29826 \end_layout
29827
29828 \end_inset
29829
29830  of the LaTeX-package 
29831 \series bold
29832 hyperref
29833 \series default
29834
29835 \begin_inset LatexCommand index
29836 name "LaTeX-packages ! hyperref"
29837
29838 \end_inset
29839
29840
29841 \end_layout
29842
29843 \begin_layout Bibliography
29844 \begin_inset LatexCommand bibitem
29845 key "koma-script"
29846
29847 \end_inset
29848
29849
29850 \begin_inset ERT
29851 status collapsed
29852
29853 \begin_layout Standard
29854
29855
29856 \backslash
29857 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
29858 df}{
29859 \end_layout
29860
29861 \end_inset
29862
29863 Documentation
29864 \begin_inset ERT
29865 status collapsed
29866
29867 \begin_layout Standard
29868
29869 }
29870 \end_layout
29871
29872 \end_inset
29873
29874  of the LaTeX-package 
29875 \series bold
29876 koma-script
29877 \series default
29878
29879 \begin_inset LatexCommand index
29880 name "LaTeX-packages ! koma-script"
29881
29882 \end_inset
29883
29884
29885 \end_layout
29886
29887 \begin_layout Bibliography
29888 \begin_inset LatexCommand bibitem
29889 key "koma-script-de"
29890
29891 \end_inset
29892
29893 German 
29894 \begin_inset ERT
29895 status collapsed
29896
29897 \begin_layout Standard
29898
29899
29900 \backslash
29901 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
29902 df}{
29903 \end_layout
29904
29905 \end_inset
29906
29907 documentation
29908 \begin_inset ERT
29909 status collapsed
29910
29911 \begin_layout Standard
29912
29913 }
29914 \end_layout
29915
29916 \end_inset
29917
29918  of the LaTeX-package 
29919 \series bold
29920 koma-script
29921 \series default
29922
29923 \begin_inset LatexCommand index
29924 name "LaTeX-packages ! koma-script"
29925
29926 \end_inset
29927
29928
29929 \end_layout
29930
29931 \begin_layout Bibliography
29932 \begin_inset LatexCommand bibitem
29933 key "listings"
29934
29935 \end_inset
29936
29937
29938 \begin_inset ERT
29939 status collapsed
29940
29941 \begin_layout Standard
29942
29943
29944 \backslash
29945 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
29946 {
29947 \end_layout
29948
29949 \end_inset
29950
29951 Documentation
29952 \begin_inset ERT
29953 status collapsed
29954
29955 \begin_layout Standard
29956
29957 }
29958 \end_layout
29959
29960 \end_inset
29961
29962  of the LaTeX-package 
29963 \series bold
29964 listings
29965 \series default
29966
29967 \begin_inset LatexCommand index
29968 name "LaTeX-packages ! listings"
29969
29970 \end_inset
29971
29972
29973 \end_layout
29974
29975 \begin_layout Bibliography
29976 \begin_inset LatexCommand bibitem
29977 key "marginnote"
29978
29979 \end_inset
29980
29981
29982 \begin_inset ERT
29983 status collapsed
29984
29985 \begin_layout Standard
29986
29987
29988 \backslash
29989 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
29990 pdf}{
29991 \end_layout
29992
29993 \end_inset
29994
29995 Documentation
29996 \begin_inset ERT
29997 status collapsed
29998
29999 \begin_layout Standard
30000
30001 }
30002 \end_layout
30003
30004 \end_inset
30005
30006  of the LaTeX-package 
30007 \series bold
30008 marginnote
30009 \series default
30010
30011 \begin_inset LatexCommand index
30012 name "LaTeX-packages ! marginnote"
30013
30014 \end_inset
30015
30016
30017 \end_layout
30018
30019 \begin_layout Bibliography
30020 \begin_inset LatexCommand bibitem
30021 key "pstricks"
30022
30023 \end_inset
30024
30025
30026 \begin_inset ERT
30027 status collapsed
30028
30029 \begin_layout Standard
30030
30031
30032 \backslash
30033 href{http://tug.org/PSTricks/main.cgi/}{
30034 \end_layout
30035
30036 \end_inset
30037
30038 Web page
30039 \begin_inset ERT
30040 status collapsed
30041
30042 \begin_layout Standard
30043
30044 }
30045 \end_layout
30046
30047 \end_inset
30048
30049  of the LaTeX-package 
30050 \series bold
30051 PSTricks
30052 \series default
30053
30054 \begin_inset LatexCommand index
30055 name "LaTeX-packages ! PSTricks"
30056
30057 \end_inset
30058
30059
30060 \end_layout
30061
30062 \begin_layout Bibliography
30063 \begin_inset LatexCommand bibitem
30064 key "sidecap"
30065
30066 \end_inset
30067
30068
30069 \begin_inset ERT
30070 status collapsed
30071
30072 \begin_layout Standard
30073
30074
30075 \backslash
30076 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
30077 \end_layout
30078
30079 \end_inset
30080
30081 Documentation
30082 \begin_inset ERT
30083 status collapsed
30084
30085 \begin_layout Standard
30086
30087 }
30088 \end_layout
30089
30090 \end_inset
30091
30092  of the LaTeX-package 
30093 \series bold
30094 sidecap
30095 \series default
30096
30097 \begin_inset LatexCommand index
30098 name "LaTeX-packages ! sidecap"
30099
30100 \end_inset
30101
30102
30103 \end_layout
30104
30105 \begin_layout Bibliography
30106 \begin_inset LatexCommand bibitem
30107 key "NewInLyX15"
30108
30109 \end_inset
30110
30111
30112 \begin_inset ERT
30113 status collapsed
30114
30115 \begin_layout Standard
30116
30117
30118 \backslash
30119 href{http://wiki.lyx.org/LyX/NewInLyX15}{
30120 \end_layout
30121
30122 \end_inset
30123
30124 Wiki page
30125 \begin_inset ERT
30126 status collapsed
30127
30128 \begin_layout Standard
30129
30130 }
30131 \end_layout
30132
30133 \end_inset
30134
30135  about new LyX-features planned for the release 
30136 \family sans
30137 LyX 1.5
30138 \family default
30139 .0.
30140 \end_layout
30141
30142 \begin_layout Standard
30143 \begin_inset LatexCommand printindex
30144
30145 \end_inset
30146
30147
30148 \end_layout
30149
30150 \begin_layout Standard
30151 \begin_inset FloatList figure
30152
30153 \end_inset
30154
30155
30156 \end_layout
30157
30158 \begin_layout Standard
30159 \begin_inset FloatList table
30160
30161 \end_inset
30162
30163
30164 \end_layout
30165
30166 \end_body
30167 \end_document